← Back to team overview

openstack team mailing list archive

Re: Question on notifications


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 being built on.

There seems to be the following key: "publisher_id": "compute.buildingbuild" (event is "compute.instance.create.end")

It would seem the stuff after “compute” is the hostname, would that be correct, or should the scheduler messages be intercepted, which as example has the following:

"weighted_host": {
    "host": "buildingbuild",
    "weight": -1488.0

I would think the first practice would be right, since its from the compute node instead of the scheduler, but would like some feedback :-)

Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Monsyne M. Dragon
cell 210-441-0965
work x 5014190