Re: [Openstack] Question on notifications

2012-04-27 Thread Monsyne Dragon
Yes, the publisher_id is servicename.host, so ya, you can determine the compute host from that. On Apr 25, 2012, at 4:44 PM, Joshua Harlow wrote: Hi all, I was looking at the notification outputs, which are very useful and I was wondering if the way to say figure out which hypervisor a VM is b

Re: [Openstack] Question on notifications

2012-04-26 Thread Sandy Walsh
ights. Simple and Change will turn to filters/weights soon. Depends on your installation. -Sandy From: Joshua Harlow [harlo...@yahoo-inc.com] Sent: Thursday, April 26, 2012 5:07 PM To: Sandy Walsh; openstack Subject: Re: [Openstack] Question on notifications Thx. With these messages, inste

Re: [Openstack] Question on notifications

2012-04-26 Thread Joshua Harlow
Thx. With these messages, instead of the "compute.instance.create.end" it can't be guaranteed that the instance actually got created right? If I listen for the "compute.instance.create.end" and use the hostname (which is part of the publisher id) then I can know that it actually got created? I

Re: [Openstack] Question on notifications

2012-04-25 Thread Sandy Walsh
You want these events: scheduler.run_instance.start (generated when scheduling begins) scheduler.run_instance.scheduled (when a host is selected. one per instance) scheduler.run_instance.end (all instances placed) The .scheduled event will have the target hostname in it in the "weighted_host" key