[Openstack] [openstack-dev] Does openstack have a notification system that will let us know when a server changes state ?
Jay Lau
jay.lau.513 at gmail.com
Sun Oct 20 15:36:25 UTC 2013
Please get more detail from https://wiki.openstack.org/wiki/SystemUsageData
Thanks,
Jay
2013/10/19 Gabriel Hurley <Gabriel.Hurley at nebula.com>
> The answer is “sort of”. Most projects (including Nova) publish to an
> RPC “notifications” channel (e.g. in rabbitMQ or whichever you use in your
> deployment). This is how Ceilometer gets some of its data.****
>
> ** **
>
> There is common code for connecting to the notification queue in Oslo (the
> “rpc” and “notifier” modules, particularly), but the exercise of actually
> setting up your consumer is left up to you, and there are various gotchas
> that aren’t well-documented. Ceilometer’s code is a reasonable starting
> point for building your own.****
>
> ** **
>
> As this is an area I’ve been experimenting with lately I’ll say that once
> you get it all working it is certainly functional and will deliver exactly
> what you’re asking for, but it can be a fair bit of engineering effort if
> you’re not familiar with how these things work already.****
>
> ** **
>
> This is an area I hope can be improved in OpenStack in future releases.***
> *
>
> ** **
>
> Hope that helps,****
>
> ** **
>
> **- **Gabriel****
>
> ** **
>
> *From:* openstack learner [mailto:openstackleaner at gmail.com]
> *Sent:* Friday, October 18, 2013 11:57 AM
> *To:* openstack at lists.openstack.org; openstack-dev at lists.openstack.org
> *Subject:* [openstack-dev] Does openstack have a notification system that
> will let us know when a server changes state ?****
>
> ** **
>
> Hi all,
>
>
> I am using the openstack python api. After I boot an instance, I will keep
> polling the instance status to check if its status changes from BUILD to
> ACTIVE.
>
> My question is:
>
> does openstack have a notification system that will let us know when a vm
> changes state (e.g. goes into ACTIVE state)? then we won't have to keep on
> polling it when we need to know the change of the machine state.****
>
> Thanks****
>
> xin****
>
> ** **
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131020/98bbc607/attachment.html>
More information about the Openstack
mailing list