diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-11-05 09:35:24 -0800 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-11-05 11:40:39 -0800 |
| commit | cfceed71dabfbac538e65bd1d5a95197beb94001 (patch) | |
| tree | 3b32305181b8065089ede4d791ab893e004f377e /nova/openstack | |
| parent | 10979da33ca790b86976c1909624c1440020abe0 (diff) | |
| download | nova-cfceed71dabfbac538e65bd1d5a95197beb94001.tar.gz nova-cfceed71dabfbac538e65bd1d5a95197beb94001.tar.xz nova-cfceed71dabfbac538e65bd1d5a95197beb94001.zip | |
Look up stuck-in-rebooting instances in manager
The poll_rebooting_instances() method for a virt driver can be
called periodically from the manager to handle instances that
may be stuck in a rebooting state. The only information passed
to the virt driver is the configured timeout, which means any
driver implementing this will have to do the same database
query: db.instance_get_all_hung_un_rebooting (..., timeout).
This patch makes the manager do this before calling the virt
driver, passing the appropriate set of instances, which avoids
the need for the driver to make that call.
Related to bp/no-db-compute
Change-Id: I152cb8cd9a107f2d2b1df39401ab7bbe7ff366f1
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
