Ramakrishnan G 366e483505 Add support for in-band cleaning in ISCSIDeploy
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
2015-10-08 07:33:36 +00:00
2015-09-02 17:43:55 +00:00
2015-07-14 10:27:26 +08:00
2013-05-02 14:55:43 -04:00
2013-10-28 10:19:15 +00:00
2015-09-28 21:27:01 +00:00
2013-07-22 09:51:10 +02:00
2013-05-02 14:55:43 -04:00
2015-08-31 21:43:58 +00:00
2015-09-21 18:29:43 +01:00
2015-09-22 03:33:28 +00:00
2015-10-01 09:52:39 -07:00
2015-08-07 09:51:32 +00:00

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

Project status, bugs, and blueprints are tracked on Launchpad:

http://launchpad.net/ironic

Anyone wishing to contribute to an OpenStack project should find a good reference here:

http://docs.openstack.org/infra/manual/developers.html

Description
A service for managing and provisioning Bare Metal servers.
Readme 306 MiB
Languages
Python 98.1%
Shell 1.8%