Re: [openstack-dev] [MagnetoDB] MagnetoDB events & notifications
Hi Flavio, Thank you very much for taking time to review the MagnetoDB Notification spec. For Oslo Notifier vs Oslo Messaging, could you please provide links to example projects showing how Oslo Messaging¹s Notifier component is used in OpensSack? I noticed Oslo Notifier is being graduated to Oslo Messaging, but it seems both are actively being developed. https://blueprints.launchpad.net/oslo/+spec/graduate-notifier-middleware Charles Wang charles_w...@symantec.com On 5/28/14, 8:17 AM, "Flavio Percoco" wrote: >On 23/05/14 08:55 -0700, Charles Wang wrote: >>Folks, >> >>Please take a look at the initial draft of MagnetoDB Events and >>Notifications >>wiki page: https://wiki.openstack.org/wiki/MagnetoDB/notification. Your >>feedback will be appreciated. > >Just one nit. > >The wiki page mentions that Oslo Notifier will be used. Oslo notifier >is on its way of deprecation. Instead, oslo.messaging[0] should be used. > >[0] http://docs.openstack.org/developer/oslo.messaging/ > > >-- >@flaper87 >Flavio Percoco ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [MagnetoDB] MagnetoDB events & notifications
On 23/05/14 08:55 -0700, Charles Wang wrote: Folks, Please take a look at the initial draft of MagnetoDB Events and Notifications wiki page: https://wiki.openstack.org/wiki/MagnetoDB/notification. Your feedback will be appreciated. Just one nit. The wiki page mentions that Oslo Notifier will be used. Oslo notifier is on its way of deprecation. Instead, oslo.messaging[0] should be used. [0] http://docs.openstack.org/developer/oslo.messaging/ -- @flaper87 Flavio Percoco pgpeiIRc4K8iq.pgp Description: PGP signature ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [MagnetoDB] MagnetoDB events & notifications
Hello Charles, The specification looks very good and we can start with it for table and data item events. The only thing I'm not quite sure is implementation of table.usage information. I mean this part of description "Periodic usage notification generated by the magnetodb-table-usage-audit cron job" Until now we don't have central place for running such job for all tables and I wouldn't want to introduce it, but having it working on each MDB api instance will multiply the number of notifications. Also I'm not sure that it will scale well with growing count of tables. I believe that MDB should be pooled for table.usage as well as for other data what describes general state of system by monitoring system. What do you think? Thanks, Ilya On Tue, May 27, 2014 at 5:56 PM, Charles Wang wrote: > Hi Dmitriy, > > Thank you very much for your feedback. > > Although it looks like MagnetoDB Events & Notifications component has some > similarities to Ceilometer, it is much narrower scope. We only plan to > provide immediate and periodic notifications of MagnetoDB table/data item > CRUD activities based on Oslo Notification. There’s no backend database > storing them, and no query API for those notifications. They are different > from Ceilometer metrics and events. In the future when we integrate with > Ceilometer, the MagnetoDB notifications are fed into Ceilometer to collect > Ceilometer metrics, and/or generate Ceilometer events. Basically Ceilometer > will be a consumer of MagnetoDB notifications. > > I’ll update the wiki further to define our scope clearer, and possibly > drop the word "events” to indicate we focus on notifications. > > Regards, > > Charles > > > > From: Dmitriy Ukhlov > Reply-To: "OpenStack Development Mailing List (not for usage questions)" < > openstack-dev@lists.openstack.org> > Date: Monday, May 26, 2014 at 7:28 AM > To: "OpenStack Development Mailing List (not for usage questions)" < > openstack-dev@lists.openstack.org> > Subject: Re: [openstack-dev] [MagnetoDB] MagnetoDB events & notifications > > Hi Charles! > > It looks like to me that we are duplicating functionality of Ceilometer > project. > Am I wrong? Have you considered Ceilometer integration for monitoring > MagnetoDB? > > > On Fri, May 23, 2014 at 6:55 PM, Charles Wang > wrote: > >> Folks, >> >> Please take a look at the initial draft of MagnetoDB Events and >> Notifications wiki page: >> https://wiki.openstack.org/wiki/MagnetoDB/notification. Your feedback >> will be appreciated. >> >> Thanks, >> >> Charles Wang >> charles_w...@symantec.com >> >> >> >> ___ >> OpenStack-dev mailing list >> OpenStack-dev@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > > -- > Best regards, > Dmitriy Ukhlov > Mirantis Inc. > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [MagnetoDB] MagnetoDB events & notifications
Hi Dmitriy, Thank you very much for your feedback. Although it looks like MagnetoDB Events & Notifications component has some similarities to Ceilometer, it is much narrower scope. We only plan to provide immediate and periodic notifications of MagnetoDB table/data item CRUD activities based on Oslo Notification. There’s no backend database storing them, and no query API for those notifications. They are different from Ceilometer metrics and events. In the future when we integrate with Ceilometer, the MagnetoDB notifications are fed into Ceilometer to collect Ceilometer metrics, and/or generate Ceilometer events. Basically Ceilometer will be a consumer of MagnetoDB notifications. I’ll update the wiki further to define our scope clearer, and possibly drop the word "events” to indicate we focus on notifications. Regards, Charles From: Dmitriy Ukhlov mailto:dukh...@mirantis.com>> Reply-To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Date: Monday, May 26, 2014 at 7:28 AM To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [MagnetoDB] MagnetoDB events & notifications Hi Charles! It looks like to me that we are duplicating functionality of Ceilometer project. Am I wrong? Have you considered Ceilometer integration for monitoring MagnetoDB? On Fri, May 23, 2014 at 6:55 PM, Charles Wang mailto:charles_w...@symantec.com>> wrote: Folks, Please take a look at the initial draft of MagnetoDB Events and Notifications wiki page: https://wiki.openstack.org/wiki/MagnetoDB/notification. Your feedback will be appreciated. Thanks, Charles Wang charles_w...@symantec.com<mailto:charles_w...@symantec.com> ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org<mailto:OpenStack-dev@lists.openstack.org> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Best regards, Dmitriy Ukhlov Mirantis Inc. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [MagnetoDB] MagnetoDB events & notifications
Hi Charles! It looks like to me that we are duplicating functionality of Ceilometer project. Am I wrong? Have you considered Ceilometer integration for monitoring MagnetoDB? On Fri, May 23, 2014 at 6:55 PM, Charles Wang wrote: > Folks, > > Please take a look at the initial draft of MagnetoDB Events and > Notifications wiki page: > https://wiki.openstack.org/wiki/MagnetoDB/notification. Your feedback > will be appreciated. > > Thanks, > > Charles Wang > charles_w...@symantec.com > > > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- Best regards, Dmitriy Ukhlov Mirantis Inc. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [MagnetoDB] MagnetoDB events & notifications
Folks, Please take a look at the initial draft of MagnetoDB Events and Notifications wiki page: https://wiki.openstack.org/wiki/MagnetoDB/notification. Your feedback will be appreciated. Thanks, Charles Wang charles_w...@symantec.com ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev