summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorPhil Day <philip.day@hp.com>2013-01-31 17:08:17 +0000
committerPhil Day <philip.day@hp.com>2013-01-31 18:33:02 +0000
commitcba2d8a637ba02e50816381eba5bcf6f1bfbe472 (patch)
tree23bee97a6c69712b8397f13f9323a3cd127cc371 /nova/compute
parent98e37e905349c576f0550bec15d65d101c8bce3e (diff)
downloadnova-cba2d8a637ba02e50816381eba5bcf6f1bfbe472.tar.gz
nova-cba2d8a637ba02e50816381eba5bcf6f1bfbe472.tar.xz
nova-cba2d8a637ba02e50816381eba5bcf6f1bfbe472.zip
instance.update notifications don't always identify the service
instance_update in conductor/manager.py doesn't identify the service when calling notifications.send_update(), resulting in mesages on the notification queue having a service value of None. This change makes sure that the correct service is identified even when running conductor in local mode Change-Id: I1b22c0b46040f51ba715a4d9fa19ef4c98359070
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index a9d0a1bdd..e4c885af1 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -186,7 +186,7 @@ class API(base.Base):
(old_ref, instance_ref) = self.db.instance_update_and_get_original(
context, instance_uuid, kwargs)
- notifications.send_update(context, old_ref, instance_ref)
+ notifications.send_update(context, old_ref, instance_ref, 'api')
return instance_ref