ironic/ironic
Julia Kreger 624e927fcd Don't power off non-deploying iLO nodes in takeover
The iLO driver, when the conductor takeover logic was triggered
would power off the node if it was not in the ACTIVE state,
which could potentially be harmful to the hardware.

Presently, takeover is only called for active nodes, however in
the future, features like ADOPTION will leverage take_over and
evolution of redundancy support may drive additional states that
the node is in when takeover is called.

This changes the behavior and unit tests accordingly such
that only nodes in deploying state perform deployment related
method calls and thus prevent accdiental actions occuring.

Change-Id: I244c3f31d0ad26194887cfb9b79f96b5111296c6
Closes-Bug: #1563949
2016-04-05 07:26:51 -04:00
..
api Fix typos in some source files. 2016-03-25 15:53:16 +07:00
cmd Remove downgrade support from migrations 2016-02-08 15:31:15 +00:00
common Fix: Duplicated driver causes conductor to fail 2016-03-24 15:51:38 +00:00
conductor Merge "Support reboot_requested bool on agent clean_steps" 2016-03-30 16:37:19 +00:00
db Fix typos in some source files. 2016-03-25 15:53:16 +07:00
dhcp Remove duplicate doc in ironic.conf.sample 2016-03-04 09:53:38 +08:00
drivers Don't power off non-deploying iLO nodes in takeover 2016-04-05 07:26:51 -04:00
locale Imported Translations from Zanata 2016-01-27 06:38:00 +00:00
nova Enable flake8 checking of ironic/nova/* 2015-06-12 11:48:20 -07:00
objects Extend the Conductor RPC object 2016-03-18 13:18:55 +00:00
tests Don't power off non-deploying iLO nodes in takeover 2016-04-05 07:26:51 -04:00
__init__.py Move eventlent monkeypatch out of cmd/ 2014-02-08 00:11:56 -08:00
netconf.py Enable translation for config option help messages 2015-07-06 10:57:53 -07:00
version.py Correct version.py and update current version string 2014-03-21 13:50:05 -07:00