nova/nova/tests/virt/baremetal
Joe Gordon c965c2b590 Baremetal: Be more patient with IPMI and BMC
Before we called 'power status; power on' in a loop which made the
IPMI/BMCs not behave well.  Also the total time we would wait (2.5
seconds wasn't always enough).  So make sure power on/off is only called
once and wait up to 10 seconds for the power state change to go into
effect.

This patch has been tested on real baremetal using
https://wiki.openstack.org/wiki/TripleO/TripleOCloud

This bug is also linked to ironic so the change will be made there as
well.

Change-Id: I5a4d7c84ebdf9c1f7d8d0570dbc31764c31f1fc6
Closes-Bug: #1234479
(cherry picked from commit 6e30bbc126)
2013-10-10 10:20:11 -04:00
..
db Fix and Gate on H303 (no wildcard imports) 2013-07-30 14:34:31 -07:00
__init__.py Fix and Gate on H303 (no wildcard imports) 2013-07-30 14:34:31 -07:00
test_baremetal_migrations.conf baremetal: Move tests under tests/virt/baremetal 2013-05-21 17:34:49 +00:00
test_driver.py Convert TestCases to NoDBTestCase 2013-09-21 06:58:31 +10:00
test_ipmi.py Baremetal: Be more patient with IPMI and BMC 2013-10-10 10:20:11 -04:00
test_nova_baremetal_deploy_helper.py Convert TestCases to NoDBTestCase 2013-09-19 19:53:04 +10:00
test_nova_baremetal_manage.py baremetal: Move tests under tests/virt/baremetal 2013-05-21 17:34:49 +00:00
test_pxe.py Remove deprecated legacy network info model in Hypervisor drivers 2013-08-23 10:19:37 +08:00
test_tilera.py Fixes test scripts with wrong bitmode 2013-09-21 13:27:26 +09:00
test_tilera_pdu.py Convert TestCases to NoDBTestCase 2013-09-19 19:53:04 +10:00
test_utils.py Convert TestCases to NoDBTestCase 2013-09-19 19:53:04 +10:00
test_virtual_power_driver.py Fix virtual power driver fails silently 2013-08-30 10:57:42 -07:00
test_volume_driver.py Convert TestCases to NoDBTestCase 2013-09-19 19:53:04 +10:00