From b21cc437be1e0a78f33419b70be6b9fb6ea5d7f7 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Mon, 29 Oct 2012 14:35:10 -0700 Subject: Fix typo in xenapi/host.py The failure path for host evacuation has a typo in the instance_update() call to restore the 'host' attribute. Change-Id: If45ea907b411ffc8c751c608e487828972337c5c --- nova/virt/xenapi/host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/xenapi/host.py b/nova/virt/xenapi/host.py index b4361ae03..5186a40ce 100644 --- a/nova/virt/xenapi/host.py +++ b/nova/virt/xenapi/host.py @@ -101,7 +101,7 @@ class Host(object): (old_ref, new_ref) = db.instance_update_and_get_original( ctxt, instance['uuid'], - {'hosts': host, + {'host': host, 'vm_state': vm_states.ACTIVE}) notifications.send_update(ctxt, old_ref, new_ref) -- cgit