Re: [Openstack] Ceilometer API Glossary
于 2012年10月24日 17:35, Julien Danjou 写道: On Wed, Oct 24 2012, 吴亚伟 wrote: I still have questions about the data in the mongodb. First: All the data about source in db is ?,for example: is it correct? Yes, that's what we used for now in the source code, so this is correct. If it is just like what Eoghan said that it is unused right now as there is only a single source currently, what does the ? represent? If I want to establish a customer billing system,do I need it ? second,when I create a instance,there will be meter data created in the mongodb as resource and meter,but for volume ,there is no any data about volume in the db,so why ?Is there something wrong with my devstack or there is configuration file should be modified? If you're talking about cinder volues, you need to configure and run cinder-volume-usage-audit regularly to get messages. I do mean the cinder volumes , but I don't know how to configure it ,could you tell me more detailed steps on how to do this ? third,I can only see cpu,disk,and network info for instance in the meter data by now ,but there is no memory info,so why? Make sure you enabled the notifications via RabbitMQ in nova. Same to cinder , detailed steps will be highly appreciated . If I modify the configuration file of service like nova or cinder , how to restart the related service in devstack ? Thanks a lot . --- Yawei Wu Dalian Hi-Think Computer Technology,Corp. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Ceilometer API Glossary
On Thu, Oct 25, 2012 at 5:39 AM, Julien Danjou jul...@danjou.info wrote: On Thu, Oct 25 2012, 吴亚伟 wrote: If it is just like what Eoghan said that it is unused right now as there is only a single source currently, what does the ? represent? If I want to establish a customer billing system,do I need it ? It represents the fact we had no idea to use it when we write the code the first time. We discussed this yesterday, now we have a good plan. See https://bugs.launchpad.net/ceilometer/+bug/1070857 I do mean the cinder volumes , but I don't know how to configure it ,could you tell me more detailed steps on how to do this ? You need to configure the notifier to use rabbitmq (this is commented out in the default configuration file IIRC), to set the audit interval to something low like daily or hourlay (this should also be in the default configuration file) and to run this program into a cronjob. Same to cinder , detailed steps will be highly appreciated . Like cinder, you need to configure the notification backend to use rabbitmq. We have special instructions for configuring glance to use rabbit for notifications in http://ceilometer.readthedocs.org/en/latest/install.html#configuring-devstackbut I don't see anything about cinder there. Do we need to add another step to set the notification_driver for cinder? Doug If I modify the configuration file of service like nova or cinder , how to restart the related service in devstack ? Just press C-c in the screen window, up arrow and return. -- Julien Danjou /* Free Software hacker freelance http://julien.danjou.info */ ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Ceilometer API Glossary
On Thu, Oct 25 2012, Doug Hellmann wrote: We have special instructions for configuring glance to use rabbit for notifications in http://ceilometer.readthedocs.org/en/latest/install.html#configuring-devstackbut I don't see anything about cinder there. Do we need to add another step to set the notification_driver for cinder? I think so. -- Julien Danjou # Free Software hacker freelance # http://julien.danjou.info pgp4I0qLEd6g5.pgp Description: PGP signature ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack] Ceilometer API Glossary
On Wed, Oct 24 2012, 吴亚伟 wrote: I still have questions about the data in the mongodb. First: All the data about source in db is ?,for example: is it correct? Yes, that's what we used for now in the source code, so this is correct. second,when I create a instance,there will be meter data created in the mongodb as resource and meter,but for volume ,there is no any data about volume in the db,so why ?Is there something wrong with my devstack or there is configuration file should be modified? If you're talking about cinder volues, you need to configure and run cinder-volume-usage-audit regularly to get messages. third,I can only see cpu,disk,and network info for instance in the meter data by now ,but there is no memory info,so why? Make sure you enabled the notifications via RabbitMQ in nova. -- Julien Danjou ;; Free Software hacker freelance ;; http://julien.danjou.info pgp9T7Xj8PXY6.pgp Description: PGP signature ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] [OpenStack] Ceilometer API Glossary
Hi ,all I am testing ceilometer in my devstack virtual machine. Although I can see the meter data model in the mongodb, I am confused about some glossary when I test its Web API. I am not very clear about the resource in the GET /v1/resources,either source in the GET /v1/sources/(source)/meters/(meter). Can someone explain these two concept? Thanks a lot. --- Yawei Wu Dalian Hi-Think Computer Technology,Corp. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] [OpenStack] Ceilometer API Glossary
Hi ,all I am testing ceilometer in my devstack virtual machine. Although I can see the meter data model in the mongodb, I am confused about some glossary when I test its Web API. I am not very clear about the resource in the GET /v1/resources,either source in the GET /v1/sources/(source)/meters/(meter). Can someone explain these two concept? Thanks a lot. --- Yawei Wu Dalian Hi-Think Computer Technology,Corp. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack] Ceilometer API Glossary
On Tue, Oct 23, 2012 at 5:34 AM, Eoghan Glynn egl...@redhat.com wrote: I am testing ceilometer in my devstack virtual machine. Although I can see the meter data model in the mongodb, I am confused about some glossary when I test its Web API. I am not very clear about the resource in the GET /v1/resources,either source in the GET /v1/sources/(source)/meters/(meter). Can someone explain these two concept? Thanks a lot. Hi Yawei, Good question! My understanding is that the resources collection refers to the set of UUIDs identifying the openstack entities (e.g. instance, volume, image ... etc.) being metered, whereas the source refers to the origin of the metering data and is effectively unused right now as there is only a single source currently (though we could in the future for example distinguish between metric and metering data in this way). That's exactly right. I'll open a ticket to add a glossary to the documentation. Doug Cheers, Eoghan ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack] Ceilometer API Glossary
于 2012年10月23日 17:34, Eoghan Glynn 写道: I am testing ceilometer in my devstack virtual machine. Although I can see the meter data model in the mongodb, I am confused about some glossary when I test its Web API. I am not very clear about the resource in the GET /v1/resources,either source in the GET /v1/sources/(source)/meters/(meter). Can someone explain these two concept? Thanks a lot. Hi Yawei, Good question! My understanding is that the resources collection refers to the set of UUIDs identifying the openstack entities (e.g. instance, volume, image ... etc.) being metered, whereas the source refers to the origin of the metering data and is effectively unused right now as there is only a single source currently (though we could in the future for example distinguish between metric and metering data in this way). Cheers, Eoghan Thanks Eoghan, I still have questions about the data in the mongodb. First: All the data about source in db is ?,for example: - source: ?, metadata: { fixed_ip_id: null, host: null, auto_assigned: false, pool: nova, address: 172.24.4.232 } is it correct? second,when I create a instance,there will be meter data created in the mongodb as resource and meter,but for volume ,there is no any data about volume in the db,so why ?Is there something wrong with my devstack or there is configuration file should be modified? third,I can only see cpu,disk,and network info for instance in the meter data by now ,but there is no memory info,so why? thanks --- Yawei Wu Dalian Hi-Think Computer Technology,Corp. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp