diff options
| author | Rick Harris <rconradharris@gmail.com> | 2011-11-22 00:05:37 -0600 |
|---|---|---|
| committer | Rick Harris <rconradharris@gmail.com> | 2011-11-22 00:05:37 -0600 |
| commit | 2622cffb2f935a0626b8de75360ce5d15f01758c (patch) | |
| tree | 5d7d8b9dc424496887cc4d18a8fd3cb545f307b9 | |
| parent | d0152210600e00a3ff87b83c1af666a2fb7a2abf (diff) | |
poll_rebooting_instances passes an instance now.
Fixes bug #893456
Change-Id: Ifd54cfd42420e0717e57a36f85a55e92ef3abee8
| -rw-r--r-- | nova/virt/xenapi/vmops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index 4093c2f77..abb12ed6c 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -1186,7 +1186,7 @@ class VMOps(object): for instance in instances: LOG.info(_("Automatically hard rebooting %d"), instance.id) - self.compute_api.reboot(ctxt, instance.id, "HARD") + self.compute_api.reboot(ctxt, instance, "HARD") def poll_rescued_instances(self, timeout): """Look for expirable rescued instances. |
