[openstack-dev] [keystone] Notification When Creating/Deleting a Tenant in openstack

Nader Lahouti nader.lahouti at gmail.com
Mon Feb 24 17:31:10 UTC 2014


Hi Swann,

I was able to listen to keystone notification by setting notifications in
the keystone.conf file. I only needed the notification (CURD) for project
and handle it in my plugin code so don't need ceilometer to handle them.
The other issue is that the notification is only for limited to resource_id
 and don't have other information such as project name.


Thanks,
Nader.




On Mon, Feb 24, 2014 at 2:10 AM, Swann Croiset <swannon at gmail.com> wrote:

>
> Hi Nader,
>
> These notifications must be handled by Ceilometer like others [1].
> it is surprising that it does not already identity meters indeed...
> probably nobody needs them before you.
>  I guess it remains to open a BP and code them like I recently did for
> Heat [2]
>
>
> http://docs.openstack.org/developer/ceilometer/measurements.html
> https://blueprints.launchpad.net/ceilometer/+spec/handle-heat-notifications
>
>
> 2014-02-20 19:10 GMT+01:00 Nader Lahouti <nader.lahouti at gmail.com>:
>
> Thanks Dolph for link. The document shows the format of the message and
>> doesn't give any info on how to listen to the notification.
>> Is there any other document showing the detail on how to listen or get
>> these notifications ?
>>
>> Regards,
>> Nader.
>>
>> On Feb 20, 2014, at 9:06 AM, Dolph Mathews <dolph.mathews at gmail.com>
>> wrote:
>>
>> Yes, see:
>>
>>   http://docs.openstack.org/developer/keystone/event_notifications.html
>>
>> On Thu, Feb 20, 2014 at 10:54 AM, Nader Lahouti <nader.lahouti at gmail.com>wrote:
>>
>>> Hi All,
>>>
>>> I have a question regarding creating/deleting a tenant in openstack
>>> (using horizon or CLI). Is there any notification mechanism in place so
>>> that an application get informed of such an event?
>>>
>>> If not, can it be done using plugin to send create/delete notification
>>> to an application?
>>>
>>> Appreciate your suggestion and help.
>>>
>>> Regards,
>>> Nader.
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140224/7f53ece0/attachment.html>


More information about the OpenStack-dev mailing list