Open CloudServer (OCS) power driver¶
This blueprint adds support for the Open CloudServer (OCS) v2.0 power interface in Ironic. The OCS design and specs have been contributed by Microsoft to the Open Compute project.
The OCS chassis system includes a chassis manager server which exposes a REST API to manage the individual blades, replacing traditional protocols like IPMI. The REST API service itself is open source (Apache 2 license).
In order to be able to execute power and management actions on OCS blades, the corresponding interfaces need to be implemented.
Furthermore, the OCS REST API also supports a serial console interface for individual blades that can be supported in Ironic.
The proposed implementation consists of a driver implementation. A client will be provided to abstract the OCS service REST API calls, which in turn can be referenced by the power, management and console interfaces.
Both UEFI and legacy BIOS boot modes are supported and can be specified by the user as part of the properties/capabilities.
Driver properties that can be specified by the user:
Base url of the OCS chassis manager REST API, e.g.: http://10.0.0.1:8000. Required.
Blade id, must be a number between 1 and the maximum number of blades available in the chassis. In the current configuration OCS chassis have a maximum of 24 or 48 blades. Required.
Username to access the chassis manager REST API. Required.
Password to access the chassis manager REST API. Required.
No alternatives are available for the OCS case.
Data model impact¶
State Machine Impact¶
REST API impact¶
Client (CLI) impact¶
RPC API impact¶
Driver API impact¶
Nova driver impact¶
The interaction between Ironic and the OCS chassis manager involves REST API calls, using HTTP basic authentication and potentially NTLM authentication in the future.
The HTTP credentials are provided by the user as part of the driver properties and need to be passed to the REST API service. It is highly recommended to employ HTTPS for transport encryption in any production environment.
Other end user impact¶
Other deployer impact¶
- Primary assignee:
- Other contributors:
Power and management interfaces
Potential continuous integration system integrated with Gerrit / Zuul. The challenge is that a non trivial amount of OCS resources is required for this purpose.
Upgrades and Backwards Compatibility¶
The driver should be documented in a way similar to other Ironic drivers under http://docs.openstack.org/developer/ironic/index.html
OCS design and specs: http://www.opencompute.org/wiki/Server/SpecsAndDesigns
Chassis Manager sources: https://github.com/MSOpenTech/ChassisManager