<html><body>
<p><font size="2" face="sans-serif">Response below.</font><br>
<font size="2" face="sans-serif"><br>
<br>
Best Regards, <br>
<br>
Lance Bragstad <br>
ldbragst@us.ibm.com</font><br>
<br>
<tt><font size="2">Nader Lahouti <nader.lahouti@gmail.com> wrote on 02/24/2014 11:31:10 AM:<br>
<br>
> From: Nader Lahouti <nader.lahouti@gmail.com></font></tt><br>
<tt><font size="2">> To: "OpenStack Development Mailing List (not for usage questions)" <br>
> <openstack-dev@lists.openstack.org>, </font></tt><br>
<tt><font size="2">> Date: 02/24/2014 11:37 AM</font></tt><br>
<tt><font size="2">> Subject: Re: [openstack-dev] [keystone] Notification When Creating/<br>
> Deleting a Tenant in openstack</font></tt><br>
<tt><font size="2">> <br>
> Hi Swann,</font></tt><br>
<tt><font size="2">> <br>
> I was able to listen to keystone notification by setting <br>
> notifications in the keystone.conf file. I only needed the <br>
> notification (CURD) for project and handle it in my plugin code so <br>
> don't need ceilometer to handle them. </font></tt><br>
<tt><font size="2">> The other issue is that the notification is only for limited to <br>
> resource_id  and don't have other information such as project name.</font></tt><br>
<br>
<tt><font size="2">The idea behind this when we originally implemented notifications in Keystone was to </font></tt><br>
<tt><font size="2">provide the resource being changed, such as 'user', 'project', 'trust' and the uuid of that</font></tt><br>
<tt><font size="2">resource. From there your plugin and could request more information from Keystone by doing a</font></tt><br>
<tt><font size="2">GET on that resource. This way would could keep the payload of the notification sent minimal</font></tt><br>
<tt><font size="2">in case all the information on the resource wasn't required. </font></tt><br>
<br>
<tt><font size="2">> <br>
> Thanks,</font></tt><br>
<tt><font size="2">> Nader.</font></tt><br>
<tt><font size="2">> <br>
> <br>
</font></tt><br>
<tt><font size="2">> On Mon, Feb 24, 2014 at 2:10 AM, Swann Croiset <swannon@gmail.com> wrote:</font></tt><br>
<tt><font size="2">> <br>
> Hi Nader,<br>
> <br>
> These notifications must be handled by Ceilometer like others [1].<br>
> it is surprising that it does not already identity meters indeed... <br>
> probably nobody needs them before you.</font></tt><br>
<tt><font size="2">> I guess it remains to open a BP and code them like I recently did for Heat [2]</font></tt><br>
<tt><font size="2">> <br>
> <br>
> <a href="http://docs.openstack.org/developer/ceilometer/measurements.html">http://docs.openstack.org/developer/ceilometer/measurements.html</a><br>
> <a href="https://blueprints.launchpad.net/ceilometer/+spec/handle-heat-notifications">https://blueprints.launchpad.net/ceilometer/+spec/handle-heat-notifications</a></font></tt><br>
<tt><font size="2">> <br>
</font></tt><br>
<tt><font size="2">> 2014-02-20 19:10 GMT+01:00 Nader Lahouti <nader.lahouti@gmail.com>:</font></tt><br>
<tt><font size="2">> <br>
> Thanks Dolph for link. The document shows the format of the message <br>
> and doesn't give any info on how to listen to the notification. </font></tt><br>
<tt><font size="2">> Is there any other document showing the detail on how to listen or <br>
> get these notifications ?</font></tt><br>
<tt><font size="2">> <br>
> Regards,</font></tt><br>
<tt><font size="2">> Nader.</font></tt><br>
<tt><font size="2">> <br>
> On Feb 20, 2014, at 9:06 AM, Dolph Mathews <dolph.mathews@gmail.com> wrote:<br>
</font></tt><br>
<tt><font size="2">> Yes, see:</font></tt><br>
<tt><font size="2">> <br>
>   <a href="http://docs.openstack.org/developer/keystone/event_notifications.html">http://docs.openstack.org/developer/keystone/event_notifications.html</a></font></tt><br>
<tt><font size="2">> <br>
> On Thu, Feb 20, 2014 at 10:54 AM, Nader Lahouti <nader.lahouti@gmail.com<br>
> > wrote:</font></tt><br>
<tt><font size="2">> Hi All,</font></tt><br>
<tt><font size="2">> <br>
> I have a question regarding creating/deleting a tenant in openstack <br>
> (using horizon or CLI). Is there any notification mechanism in place<br>
> so that an application get informed of such an event?</font></tt><br>
<tt><font size="2">> <br>
> If not, can it be done using plugin to send create/delete <br>
> notification to an application?</font></tt><br>
<tt><font size="2">> <br>
> Appreciate your suggestion and help.</font></tt><br>
<tt><font size="2">> <br>
> Regards,</font></tt><br>
<tt><font size="2">> Nader.</font></tt><br>
<tt><font size="2">> <br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></tt><br>
<tt><font size="2">> <br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><br>
<tt><font size="2">> <br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></tt><br>
<tt><font size="2">> <br>
> <br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></tt><br>
<tt><font size="2">> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></tt></body></html>