Re: [Openstack] Questions about ceilometer
That URL works for me. Anyhow, here is the patch: https://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=commitdiff;h=2b41a361b83140c1ebabcd3e15dff7502cbaecb6;hp=5affdd159a08f81b33a595fa51ed0cb63aaa70f2 diff --git a/ceilometer/collector/manager.pyhttps://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=82f164fb3ceb4cfccce9709818993d976383d645;hb=5affdd159a08f81b33a595fa51ed0cb63aaa70f2 b/ceilometer/collector/manager.pyhttps://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=0cc220d07554f783e750f72f9156074d53dd199d;hb=2b41a361b83140c1ebabcd3e15dff7502cbaecb6 index 82f164fhttps://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=82f164fb3ceb4cfccce9709818993d976383d645;hb=5affdd159a08f81b33a595fa51ed0cb63aaa70f2 ..0cc220dhttps://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=0cc220d07554f783e750f72f9156074d53dd199d;hb=2b41a361b83140c1ebabcd3e15dff7502cbaecb6 100644 (file) --- a/ceilometer/collector/manager.pyhttps://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=82f164fb3ceb4cfccce9709818993d976383d645;hb=5affdd159a08f81b33a595fa51ed0cb63aaa70f2 +++ b/ceilometer/collector/manager.pyhttps://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=0cc220d07554f783e750f72f9156074d53dd199d;hb=2b41a361b83140c1ebabcd3e15dff7502cbaecb6 @@ -66,7https://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=82f164fb3ceb4cfccce9709818993d976383d645;hb=5affdd159a08f81b33a595fa51ed0cb63aaa70f2#l66 +66,7https://review.openstack.org/gitweb?p=stackforge/ceilometer.git;a=blob;f=ceilometer/collector/manager.py;h=0cc220d07554f783e750f72f9156074d53dd199d;hb=2b41a361b83140c1ebabcd3e15dff7502cbaecb6#l66@@ class CollectorManager(manager.Manager): # invocation protocol (they do not include a method # parameter). self.connection.declare_topic_consumer( -topic='%s.info' % flags.FLAGS.notification_topics[0], +topic='%s.info' % cfg.CONF.notification_topics[0], callback=self.compute_handler.notify) # Set ourselves up as a separate worker for the metering data, On Mon, Jul 16, 2012 at 7:41 PM, 张家龙 zhan...@awcloud.com wrote: Hi,Doug, It`s a bad news that the patch ( https://bugs.launchpad.net/ceilometer/+bug/1024563) has been removed . This page showed page not found. Anyway,Thanks for your help. ** -- Best Regards ZhangJialong ** -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Mon, Jul 16, 2012 10:31 PM *To: * 张家龙zhan...@awcloud.com; ** *Cc: * Julien Danjoujul...@danjou.info; openstack openstack@lists.launchpad.net; ** *Subject: * Re: [Openstack] Questions about ceilometer An earlier message in this thread points to a bug ( https://bugs.launchpad.net/ceilometer/+bug/1024563) which has a review patch attached. On Mon, Jul 16, 2012 at 10:03 AM, 张家龙 zhan...@awcloud.com wrote: Dear Doug, Thanks for reply. While ,where to find the patch posted John ? If it`s prossable,please point it out,Thanks. And it`s my pleasure to be the first one to receive the message about you fix this problems. Good luck ! * * -- Best Regards ZhangJialong * * * * * * -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Mon, Jul 16, 2012 08:55 PM *To: * 张家龙zhan...@awcloud.com; * * *Cc: * Julien Danjoujul...@danjou.info; openstack openstack@lists.launchpad.net; * * *Subject: * Re: [Openstack] Questions about ceilometer On Sat, Jul 14, 2012 at 10:02 PM, 张家龙 zhan...@awcloud.com wrote: Hi,all. Sorry for late reply. Until now, I not test folsom. So, I`am not sure how it work in folsom . The follow is my qpid config file: http://pastebin.com/sBXm6k7z And Doug writed set driver to nova.openstack.common.notifier.rabbit_notifier, while , I cannot found this class or modules in exsse. The notifier classes moved in Folsom, so that's the setting you would need if you were working with Folsom. I'm traveling this week, so I won't be able to set up a test environment with Essex or qpid until next week some time. Based on rereading the configuration files you posted, I do suspect that this is a problem with the code, rather than your configuration. You might want to try the patch John posted above. I don't think that's the right long-term solution, but if it gets you past this situation we can find a better solution later. Doug * * -- Best Regards ZhangJialong * * * * * * -- Original -- *From
Re: [Openstack] Questions about ceilometer
On Sat, Jul 14, 2012 at 10:02 PM, 张家龙 zhan...@awcloud.com wrote: Hi,all. Sorry for late reply. Until now, I not test folsom. So, I`am not sure how it work in folsom . The follow is my qpid config file: http://pastebin.com/sBXm6k7z And Doug writed set driver to nova.openstack.common.notifier.rabbit_notifier, while , I cannot found this class or modules in exsse. The notifier classes moved in Folsom, so that's the setting you would need if you were working with Folsom. I'm traveling this week, so I won't be able to set up a test environment with Essex or qpid until next week some time. Based on rereading the configuration files you posted, I do suspect that this is a problem with the code, rather than your configuration. You might want to try the patch John posted above. I don't think that's the right long-term solution, but if it gets you past this situation we can find a better solution later. Doug ** -- Best Regards ZhangJialong ** ** ** -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Sat, Jul 14, 2012 00:17 AM *To: * 张家龙zhan...@awcloud.com; ** *Cc: * Julien Danjoujul...@danjou.info; openstack openstack@lists.launchpad.net; ** *Subject: * Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 11:36 AM, 张家龙 zhan...@awcloud.com wrote: Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? Qpid should work, but I haven't been testing with that so you might have found a bug. There are (at least) two differences between your setup and what I normally use: Essex and qpid. Have you tried running against a folsom install? That would at least tell us if the qpid configuration is correct or if the problem is related to Essex. Doug In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. * * -- Best Regards ZhangJialong * * * * * * -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Fri, Jul 13, 2012 11:28 PM *To: * 张家龙zhan...@awcloud.com; Julien Danjoujul...@danjou.info; * * *Cc: * openstackopenstack@lists.launchpad.net; * * *Subject: * Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr
Re: [Openstack] Questions about ceilometer
Dear Doug, Thanks for reply. While ,where to find the patch posted John ? If it`s prossable,please point it out,Thanks. And it`s my pleasure to be the first one to receive the message about you fix this problems. Good luck ! -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.com; Date: Mon, Jul 16, 2012 08:55 PM To: ??zhan...@awcloud.com; Cc: Julien Danjoujul...@danjou.info; openstackopenstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Sat, Jul 14, 2012 at 10:02 PM, ?? zhan...@awcloud.com wrote: Hi,all. Sorry for late reply. Until now, I not test folsom. So, I`am not sure how it work in folsom . The follow is my qpid config file: http://pastebin.com/sBXm6k7z And Doug writed set driver to nova.openstack.common.notifier.rabbit_notifier, while , I cannot found this class or modules in exsse. The notifier classes moved in Folsom, so that's the setting you would need if you were working with Folsom. I'm traveling this week, so I won't be able to set up a test environment with Essex or qpid until next week some time. Based on rereading the configuration files you posted, I do suspect that this is a problem with the code, rather than your configuration. You might want to try the patch John posted above. I don't think that's the right long-term solution, but if it gets you past this situation we can find a better solution later. Doug -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.com; Date: Sat, Jul 14, 2012 00:17 AM To: ??zhan...@awcloud.com; Cc: Julien Danjoujul...@danjou.info; openstackopenstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 11:36 AM, ?? zhan...@awcloud.com wrote: Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? Qpid should work, but I haven't been testing with that so you might have found a bug. There are (at least) two differences between your setup and what I normally use: Essex and qpid. Have you tried running against a folsom install? That would at least tell us if the qpid configuration is correct or if the problem is related to Essex. Doug In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.com; Date: Fri, Jul 13, 2012 11:28 PM To: ??zhan...@awcloud.com; Julien Danjoujul...@danjou.info; Cc: openstackopenstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, ?? zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher
Re: [Openstack] Questions about ceilometer
Doug, I will start ceilometer installation now. Would you recommend installing Folsom then instead of essex? (I already have essex installed so, this is the reason for asking). Thanks, Glaucimar Aguiar From: openstack-bounces+glaucimar.aguiar=hp@lists.launchpad.net [mailto:openstack-bounces+glaucimar.aguiar=hp@lists.launchpad.net] On Behalf Of Doug Hellmann Sent: segunda-feira, 16 de julho de 2012 09:55 To: 张家龙 Cc: openstack Subject: Re: [Openstack] Questions about ceilometer On Sat, Jul 14, 2012 at 10:02 PM, 张家龙 zhan...@awcloud.commailto:zhan...@awcloud.com wrote: Hi,all. Sorry for late reply. Until now, I not test folsom. So, I`am not sure how it work in folsom . The follow is my qpid config file: http://pastebin.com/sBXm6k7z And Doug writed set driver to nova.openstack.common.notifier.rabbit_notifier, while , I cannot found this class or modules in exsse. The notifier classes moved in Folsom, so that's the setting you would need if you were working with Folsom. I'm traveling this week, so I won't be able to set up a test environment with Essex or qpid until next week some time. Based on rereading the configuration files you posted, I do suspect that this is a problem with the code, rather than your configuration. You might want to try the patch John posted above. I don't think that's the right long-term solution, but if it gets you past this situation we can find a better solution later. Doug -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.com; Date: Sat, Jul 14, 2012 00:17 AM To: 张家龙zhan...@awcloud.commailto:zhan...@awcloud.com; Cc: Julien Danjoujul...@danjou.infomailto:jul...@danjou.info; openstackopenstack@lists.launchpad.netmailto:openstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 11:36 AM, 张家龙 zhan...@awcloud.commailto:zhan...@awcloud.com wrote: Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? Qpid should work, but I haven't been testing with that so you might have found a bug. There are (at least) two differences between your setup and what I normally use: Essex and qpid. Have you tried running against a folsom install? That would at least tell us if the qpid configuration is correct or if the problem is related to Essex. Doug In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.com; Date: Fri, Jul 13, 2012 11:28 PM To: 张家龙zhan...@awcloud.commailto:zhan...@awcloud.com; Julien Danjoujul...@danjou.infomailto:jul...@danjou.info; Cc: openstackopenstack@lists.launchpad.netmailto:openstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.commailto:zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists
Re: [Openstack] Questions about ceilometer
An earlier message in this thread points to a bug ( https://bugs.launchpad.net/ceilometer/+bug/1024563) which has a review patch attached. On Mon, Jul 16, 2012 at 10:03 AM, 张家龙 zhan...@awcloud.com wrote: Dear Doug, Thanks for reply. While ,where to find the patch posted John ? If it`s prossable,please point it out,Thanks. And it`s my pleasure to be the first one to receive the message about you fix this problems. Good luck ! ** -- Best Regards ZhangJialong ** -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Mon, Jul 16, 2012 08:55 PM *To: * 张家龙zhan...@awcloud.com; ** *Cc: * Julien Danjoujul...@danjou.info; openstack openstack@lists.launchpad.net; ** *Subject: * Re: [Openstack] Questions about ceilometer On Sat, Jul 14, 2012 at 10:02 PM, 张家龙 zhan...@awcloud.com wrote: Hi,all. Sorry for late reply. Until now, I not test folsom. So, I`am not sure how it work in folsom . The follow is my qpid config file: http://pastebin.com/sBXm6k7z And Doug writed set driver to nova.openstack.common.notifier.rabbit_notifier, while , I cannot found this class or modules in exsse. The notifier classes moved in Folsom, so that's the setting you would need if you were working with Folsom. I'm traveling this week, so I won't be able to set up a test environment with Essex or qpid until next week some time. Based on rereading the configuration files you posted, I do suspect that this is a problem with the code, rather than your configuration. You might want to try the patch John posted above. I don't think that's the right long-term solution, but if it gets you past this situation we can find a better solution later. Doug * * -- Best Regards ZhangJialong * * * * * * -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Sat, Jul 14, 2012 00:17 AM *To: * 张家龙zhan...@awcloud.com; * * *Cc: * Julien Danjoujul...@danjou.info; openstack openstack@lists.launchpad.net; * * *Subject: * Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 11:36 AM, 张家龙 zhan...@awcloud.com wrote: Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? Qpid should work, but I haven't been testing with that so you might have found a bug. There are (at least) two differences between your setup and what I normally use: Essex and qpid. Have you tried running against a folsom install? That would at least tell us if the qpid configuration is correct or if the problem is related to Essex. Doug In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. * * -- Best Regards ZhangJialong * * * * * * -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Fri, Jul 13, 2012 11:28 PM *To: * 张家龙zhan...@awcloud.com; Julien Danjoujul...@danjou.info; * * *Cc: * openstackopenstack@lists.launchpad.net; * * *Subject: * Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing
Re: [Openstack] Questions about ceilometer
I have been doing all of my development with Folsom HEAD because DreamHost plans to deploy ceilometer with our Folsom-based cloud. I know Julien has done some work on Essex compatibility, but I don't know where that stands or if he is still working on it. Doug On Mon, Jul 16, 2012 at 10:12 AM, Aguiar, Glaucimar (Brazil RD-ECL) glaucimar.agu...@hp.com wrote: Doug, ** ** I will start ceilometer installation now. Would you recommend installing Folsom then instead of essex? (I already have essex installed so, this is the reason for asking). ** ** Thanks, Glaucimar Aguiar ** ** ** ** *From:* openstack-bounces+glaucimar.aguiar=hp@lists.launchpad.net[mailto: openstack-bounces+glaucimar.aguiar=hp@lists.launchpad.net] *On Behalf Of *Doug Hellmann *Sent:* segunda-feira, 16 de julho de 2012 09:55 *To:* 张家龙 *Cc:* openstack *Subject:* Re: [Openstack] Questions about ceilometer ** ** ** ** On Sat, Jul 14, 2012 at 10:02 PM, 张家龙 zhan...@awcloud.com wrote: Hi,all. Sorry for late reply. Until now, I not test folsom. So, I`am not sure how it work in folsom . The follow is my qpid config file: *http://pastebin.com/sBXm6k7z* And Doug writed set driver to nova.openstack.common.notifier.rabbit_notifier, while , I cannot found this class or modules in exsse. ** ** The notifier classes moved in Folsom, so that's the setting you would need if you were working with Folsom. I'm traveling this week, so I won't be able to set up a test environment with Essex or qpid until next week some time. ** ** Based on rereading the configuration files you posted, I do suspect that this is a problem with the code, rather than your configuration. You might want to try the patch John posted above. I don't think that's the right long-term solution, but if it gets you past this situation we can find a better solution later. ** ** Doug ** ** -- Best Regards ZhangJialong -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Sat, Jul 14, 2012 00:17 AM *To: * 张家龙zhan...@awcloud.com; *Cc: * Julien Danjoujul...@danjou.info; openstack openstack@lists.launchpad.net; *Subject: * Re: [Openstack] Questions about ceilometer ** ** On Fri, Jul 13, 2012 at 11:36 AM, 张家龙 zhan...@awcloud.com wrote: Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? ** ** Qpid should work, but I haven't been testing with that so you might have found a bug. ** ** There are (at least) two differences between your setup and what I normally use: Essex and qpid. Have you tried running against a folsom install? That would at least tell us if the qpid configuration is correct or if the problem is related to Essex. ** ** Doug In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: *http://pastebin.com/sW5d8eRv * *http://pastebin.com/D5GMkLsb * *http://pastebin.com/u5vH22Lh * Were there some errors in my config files? Waiting your reply. Thanks. -- Best Regards ZhangJialong -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Fri, Jul 13, 2012 11:28 PM *To: * 张家龙zhan...@awcloud.com; Julien Danjoujul...@danjou.info; ** ** *Cc: * openstackopenstack@lists.launchpad.net; *Subject: * Re: [Openstack] Questions about ceilometer ** ** On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: ** ** On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: *http://pastebin.com/sW5d8eRv * Here is the /etc/ceilometer-collector.conf file is here: *http://pastebin.com/u5vH22Lh * And the /etc/mongodb.conf is here: *http://pastebin.com/D5GMkLsb * 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb
Re: [Openstack] Questions about ceilometer
I think I just figured out the problem. Please see: https://bugs.launchpad.net/ceilometer/+bug/1024563 From: Doug Hellmann [doug.hellm...@dreamhost.com] Sent: Friday, July 13, 2012 11:19 AM To: TRAN, JOHN Cc: 张家龙; Julien Danjou; openstack Subject: Re: [Openstack] Questions about ceilometer I *just* ran into a problem today triggered by some code moving around in nova and common. I had to set my driver to nova.openstack.common.notifier.rabbit_notifier (in both files). I didn't see any errors from that until I tried to launch an instance, so it doesn't seem to prevent any of the nova services from starting up. Doug On Fri, Jul 13, 2012 at 1:17 PM, TRAN, JOHN jt7...@att.commailto:jt7...@att.com wrote: I'm having the same problem. I'm running against nova trunk and I have rabbit notifier enabled. /etc/nova/nova.conf:notification_driver=nova.notifier.rabbit_notifier /home/stack/ceilometer-collector.conf:notification_driver=nova.notifier.rabbit_notifier From: openstack-bounces+jhtran=att@lists.launchpad.netmailto:att@lists.launchpad.net [openstack-bounces+jhtran=att@lists.launchpad.netmailto:att@lists.launchpad.net] on behalf of 张家龙 [zhan...@awcloud.commailto:zhan...@awcloud.com] Sent: Friday, July 13, 2012 8:36 AM To: Doug Hellmann; Julien Danjou Cc: openstack Subject: Re: [Openstack] Questions about ceilometer Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.com; Date: Fri, Jul 13, 2012 11:28 PM To: 张家龙zhan...@awcloud.commailto:zhan...@awcloud.com; Julien Danjoujul...@danjou.infomailto:jul...@danjou.info; Cc: openstackopenstack@lists.launchpad.netmailto:openstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.commailto:zhan...@awcloud.commailto:zhan...@awcloud.commailto:zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py, line 69, in init_host topic='%s.infohttp
Re: [Openstack] Questions about ceilometer
Hi,all. Sorry for late reply. Until now, I not test folsom. So, I`am not sure how it work in folsom . The follow is my qpid config file: http://pastebin.com/sBXm6k7z And Doug writed set driver to nova.openstack.common.notifier.rabbit_notifier, while , I cannot found this class or modules in exsse. -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.com; Date: Sat, Jul 14, 2012 00:17 AM To: ??zhan...@awcloud.com; Cc: Julien Danjoujul...@danjou.info; openstackopenstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 11:36 AM, ?? zhan...@awcloud.com wrote: Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? Qpid should work, but I haven't been testing with that so you might have found a bug. There are (at least) two differences between your setup and what I normally use: Essex and qpid. Have you tried running against a folsom install? That would at least tell us if the qpid configuration is correct or if the problem is related to Essex. Doug In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.com; Date: Fri, Jul 13, 2012 11:28 PM To: ??zhan...@awcloud.com; Julien Danjoujul...@danjou.info; Cc: openstackopenstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, ?? zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py, line 69, in init_host topic='%s.info' % flags.FLAGS.notification_topics[0], File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 867, in __getattr__ return self._substitute(self._get(name)) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1070, in _get info = self._get_opt_info(name, group) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1161, in _get_opt_info raise
Re: [Openstack] Questions about ceilometer
On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py, line 69, in init_host topic='%s.info' % flags.FLAGS.notification_topics[0], File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 867, in __getattr__ return self._substitute(self._get(name)) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1070, in _get info = self._get_opt_info(name, group) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1161, in _get_opt_info raise NoSuchOptError(opt_name, group) NoSuchOptError: no such option: notification_topics Removing descriptor: 12 If anyone can help me ? Waiting your reply. Thanks ! It looks like we have a problem with the way we are loading nova's settings under Essex. I know some of the flags and cfg code was moved around and changed between Essex and Folsom as part of it moved into openstack-common. Julien, you're more familiar with Essex than I am, do you have any ideas about this problem? Doug ** -- Best Regards ZhangJialong ** ** ** ___ 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] Questions about ceilometer
On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py, line 69, in init_host topic='%s.info' % flags.FLAGS.notification_topics[0], File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 867, in __getattr__ return self._substitute(self._get(name)) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1070, in _get info = self._get_opt_info(name, group) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1161, in _get_opt_info raise NoSuchOptError(opt_name, group) NoSuchOptError: no such option: notification_topics Removing descriptor: 12 If anyone can help me ? Waiting your reply. Thanks ! It looks like we have a problem with the way we are loading nova's settings under Essex. I know some of the flags and cfg code was moved around and changed between Essex and Folsom as part of it moved into openstack-common. Julien, you're more familiar with Essex than I am, do you have any ideas about this problem? I think I left out a configuration step in the instructions at http://ceilometer.readthedocs.org/en/latest/install.html. Did you configure your system to use the Rabbit notifier? Doug Doug ** -- Best Regards ZhangJialong ** ** ** ___ 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] Questions about ceilometer
Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.com; Date: Fri, Jul 13, 2012 11:28 PM To: ??zhan...@awcloud.com; Julien Danjoujul...@danjou.info; Cc: openstackopenstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, ?? zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py, line 69, in init_host topic='%s.info' % flags.FLAGS.notification_topics[0], File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 867, in __getattr__ return self._substitute(self._get(name)) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1070, in _get info = self._get_opt_info(name, group) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1161, in _get_opt_info raise NoSuchOptError(opt_name, group) NoSuchOptError: no such option: notification_topics Removing descriptor: 12 If anyone can help me ? Waiting your reply. Thanks ! It looks like we have a problem with the way we are loading nova's settings under Essex. I know some of the flags and cfg code was moved around and changed between Essex and Folsom as part of it moved into openstack-common. Julien, you're more familiar with Essex than I am, do you have any ideas about this problem? I think I left out a configuration step in the instructions at http://ceilometer.readthedocs.org/en/latest/install.html. Did you configure your system to use the Rabbit notifier? Doug Doug -- Best Regards ZhangJialong ___ 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
Re: [Openstack] Questions about ceilometer
On Fri, Jul 13, 2012 at 11:36 AM, 张家龙 zhan...@awcloud.com wrote: Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? Qpid should work, but I haven't been testing with that so you might have found a bug. There are (at least) two differences between your setup and what I normally use: Essex and qpid. Have you tried running against a folsom install? That would at least tell us if the qpid configuration is correct or if the problem is related to Essex. Doug In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. ** -- Best Regards ZhangJialong ** -- Original -- *From: * Doug Hellmanndoug.hellm...@dreamhost.com; *Date: * Fri, Jul 13, 2012 11:28 PM *To: * 张家龙zhan...@awcloud.com; Julien Danjoujul...@danjou.info; ** *Cc: * openstackopenstack@lists.launchpad.net; ** *Subject: * Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py, line 69, in init_host topic='%s.info' % flags.FLAGS.notification_topics[0], File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 867, in __getattr__ return self._substitute(self._get(name)) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1070, in _get info = self._get_opt_info(name, group) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1161, in _get_opt_info raise NoSuchOptError(opt_name, group) NoSuchOptError: no such option: notification_topics Removing descriptor: 12 If anyone can help me ? Waiting your reply. Thanks ! It looks like we have a problem with the way we are loading nova's settings under Essex. I know some of the flags and cfg code was moved around and changed between Essex and Folsom as part of it moved into openstack-common. Julien, you're more familiar with Essex than I am, do you have any ideas about this problem? I think I left out a configuration step in the instructions at http://ceilometer.readthedocs.org/en/latest/install.html. Did you configure your system to use the Rabbit notifier? Doug Doug * * -- Best Regards ZhangJialong
Re: [Openstack] Questions about ceilometer
I *just* ran into a problem today triggered by some code moving around in nova and common. I had to set my driver to nova.openstack.common.notifier.rabbit_notifier (in both files). I didn't see any errors from that until I tried to launch an instance, so it doesn't seem to prevent any of the nova services from starting up. Doug On Fri, Jul 13, 2012 at 1:17 PM, TRAN, JOHN jt7...@att.com wrote: I'm having the same problem. I'm running against nova trunk and I have rabbit notifier enabled. /etc/nova/nova.conf:notification_driver=nova.notifier.rabbit_notifier /home/stack/ceilometer-collector.conf:notification_driver=nova.notifier.rabbit_notifier From: openstack-bounces+jhtran=att@lists.launchpad.net[openstack-bounces+jhtran= att@lists.launchpad.net] on behalf of 张家龙 [zhan...@awcloud.com] Sent: Friday, July 13, 2012 8:36 AM To: Doug Hellmann; Julien Danjou Cc: openstack Subject: Re: [Openstack] Questions about ceilometer Dear Doug, I`m use Qpid instead of Rabbit . Did it cause the error ? In addition,my nova.conf,mongodb.conf and ceilometer-collector.conf are here: http://pastebin.com/sW5d8eRv http://pastebin.com/D5GMkLsb http://pastebin.com/u5vH22Lh Were there some errors in my config files? Waiting your reply. Thanks. -- Best Regards ZhangJialong -- Original -- From: Doug Hellmanndoug.hellm...@dreamhost.com; Date: Fri, Jul 13, 2012 11:28 PM To: 张家龙zhan...@awcloud.com; Julien Danjoujul...@danjou.info; Cc: openstackopenstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about ceilometer On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann doug.hellm...@dreamhost.commailto:doug.hellm...@dreamhost.com wrote: On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 zhan...@awcloud.commailto: zhan...@awcloud.com wrote: Dear all, As the project named ceilometer appeared,I paid close attention to it. According to the docs of ceilometer,I deploied it in openstack exsse environment. While,I cannot start the ceilometer collector and agent. The follows are my operations. 1.Install openstack nova ,mongodb and ceilometer. 2.configurate nova ,mongodb and ceilometer The /etc/nova/nova.conf file is here: http://pastebin.com/sW5d8eRv Here is the /etc/ceilometer-collector.conf file is here: http://pastebin.com/u5vH22Lh And the /etc/mongodb.conf is here: http://pastebin.com/D5GMkLsb 3.Start openstack nova ,mongodb 4.Then I start the ceilometer-collector /usr/bin/ceilometer-collector start While,some errors occurred: 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage') 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events Traceback (most recent call last): File /usr/lib/python2.6/site-packages/eventlet/hubs/poll.py, line 97, in wait readers.get(fileno, noop).cb(fileno) File /usr/lib/python2.6/site-packages/eventlet/greenthread.py, line 192, in main result = function(*args, **kwargs) File /usr/lib/python2.6/site-packages/nova/service.py, line 101, in run_server server.start() File /usr/lib/python2.6/site-packages/nova/service.py, line 162, in start self.manager.init_host() File /usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py, line 69, in init_host topic='%s.infohttp://s.info' % flags.FLAGS.notification_topics[0], File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 867, in __getattr__ return self._substitute(self._get(name)) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1070, in _get info = self._get_opt_info(name, group) File /usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py, line 1161, in _get_opt_info raise NoSuchOptError(opt_name, group) NoSuchOptError: no such option: notification_topics Removing descriptor: 12 If anyone can help me ? Waiting your reply