diff options
author | Jay Lau <jay.lau.513@gmail.com> | 2013-05-20 11:20:25 +0800 |
---|---|---|
committer | Jay Lau <jay.lau.513@gmail.com> | 2013-05-26 15:01:08 +0800 |
commit | 22acf0d2a460149b07ce4a2bbbcff1c1773c9dac (patch) | |
tree | 6c77f642ad9601893b5f31af6a53e33b2c4d0fc2 /nova/notifications.py | |
parent | e1528ee7fca4f7d77e3808090c10bd304c79fc57 (diff) | |
download | nova-22acf0d2a460149b07ce4a2bbbcff1c1773c9dac.tar.gz nova-22acf0d2a460149b07ce4a2bbbcff1c1773c9dac.tar.xz nova-22acf0d2a460149b07ce4a2bbbcff1c1773c9dac.zip |
Add node as instance attribute for notification
Fix bug 1181900
In havana release, node is not set as instance attribute and node
indicates the hypervisor where the instance reside in, we should
set node as instance attribute for notification.
Change-Id: I872fba626ef3e321d88cf60fc730df6cf4612c86
Diffstat (limited to 'nova/notifications.py')
-rw-r--r-- | nova/notifications.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/notifications.py b/nova/notifications.py index 2e5e7660d..3800632c5 100644 --- a/nova/notifications.py +++ b/nova/notifications.py @@ -318,6 +318,7 @@ def info_from_instance(context, instance_ref, network_info, # Location properties host=instance_ref['host'], + node=instance_ref['node'], availability_zone=instance_ref['availability_zone'], # Date properties |