
This commit adds the following methods to ISCSIDeploy to enable in-band cleaning. - get_clean_steps - execute_clean_step - prepare_cleaning - tear_down_cleaning It also adds the following code to prevent nodes to be stuck at CLEANWAIT forever if bash ramdisk is used: - Send the bash ramdisk parameters (deploy_key, iscsi_target_iqn, etc) while booting the deploy ramdisk for cleaning. It will enable bash ramdisk to invoke pass_deploy_info vendor passthru. - If node is in CLEANWAIT in pass_deploy_info vendor passthru, then we set the clean steps for the node and ask conductor to resume cleaning. - We also skip validation for pass_deploy_info vendor passthru if node is in CLEANWAIT state. - ISCSIDeploy.get_clean_steps will return an empty list if bash ramdisk is used. It is detected by presence of agent_url in node's driver_internal_info. Change-Id: Ie89ffc0bf649742a95cc02b4a54e956ae6682503 Implements: blueprint iscsi-deploy-in-band-cleaning
Ironic
Ironic is an integrated OpenStack project which aims to provision bare metal machines instead of virtual machines, forked from the Nova Baremetal driver. It is best thought of as a bare metal hypervisor API and a set of plugins which interact with the bare metal hypervisors. By default, it will use PXE and IPMI in concert to provision and turn on/off machines, but Ironic also supports vendor-specific plugins which may implement additional functionality.
Project Resources
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/ironic
- Source: http://git.openstack.org/cgit/openstack/ironic
- Bugs: http://bugs.launchpad.net/ironic
- Wiki: https://wiki.openstack.org/wiki/Ironic
Project status, bugs, and blueprints are tracked on Launchpad:
Anyone wishing to contribute to an OpenStack project should find a good reference here:
Description
Languages
Python
98.1%
Shell
1.8%