From 2622cffb2f935a0626b8de75360ce5d15f01758c Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Tue, 22 Nov 2011 00:05:37 -0600 Subject: poll_rebooting_instances passes an instance now. Fixes bug #893456 Change-Id: Ifd54cfd42420e0717e57a36f85a55e92ef3abee8 --- nova/virt/xenapi/vmops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit