Dear Doug,<br> Thanks for reply.<br> While ,where to find the patch posted John ? If it`s prossable,please point it out,Thanks.<br> And it`s my pleasure to be the first one to <font size="-1">receive the message about you fix this problems.<br><br> Good luck !<br></font><div><sign signid="1"><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>
<div>Best Regards</div>
<div> </div>
<div>ZhangJialong</div> </div></div></sign></div><div><qzone></qzone></div><div> </div><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Doug Hellmann"<doug.hellmann@dreamhost.com>;</div><div><b>Date: </b> Mon, Jul 16, 2012 08:55 PM</div><div><b>To: </b> "张家龙"<zhangjl@awcloud.com>; <wbr></div><div><b>Cc: </b> "Julien Danjou"<julien@danjou.info>; "openstack"<openstack@lists.launchpad.net>; <wbr></div><div><b>Subject: </b> Re: [Openstack] Questions about ceilometer</div></div><div> </div><br> <br> <div class="gmail_quote">On Sat, Jul 14, 2012 at 10:02 PM, 张家龙 <span dir="ltr"><<a href="mailto:zhangjl@awcloud.com" target="_blank">zhangjl@awcloud.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,all.<br> Sorry for late reply.<br> Until now, I not test folsom. So, I`am not sure how it work in folsom .<br> The follow is my qpid config file:<br> <span style="font-style:italic"> <a href="http://pastebin.com/sBXm6k7z" target="_blank">http://pastebin.com/sBXm6k7z</a> </span> <br>
And Doug writed set driver to "nova.openstack.common.notifier.rabbit_notifier",<br> while , I cannot found this class or modules in exsse.<br> </blockquote> <div> <br> </div> <div>The notifier classes moved in Folsom, so that's the setting you would need if you were working with Folsom.</div>
<div> <div> <br class="Apple-interchange-newline">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.</div> </div> <div> <br> </div> <div>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.</div>
<div> <br> </div> <div>Doug</div> <div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br> <div> <u> </u> <div style="color:#909090;font-family:Arial Narrow;font-size:12px">
------------------</div> <div style="font-size:14px;font-family:Verdana"> <div>
<div>Best Regards</div>
<div> </div>
<div>ZhangJialong</div> </div> </div> <u> </u> </div> <div> <u> </u> <u> </u> </div> <div> </div> <div> </div> <div> </div> <div style="font:Verdana normal 14px"> <div style="FONT-SIZE:12px;FONT-FAMILY:Arial Narrow;padding:2px 0 2px 0">
------------------ Original ------------------</div> <div style="FONT-SIZE:12px;background:#efefef;padding:8px"> <div> <b>From: </b> "Doug Hellmann"<<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>>;</div>
<div> <b>Date: </b> Sat, Jul 14, 2012 00:17 AM</div> <div> <b>To: </b> "张家龙"<<a href="mailto:zhangjl@awcloud.com" target="_blank">zhangjl@awcloud.com</a>>; <u> </u> </div> <div> <b>Cc: </b> "Julien Danjou"<<a href="mailto:julien@danjou.info" target="_blank">julien@danjou.info</a>>; "openstack"<<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>>; <u> </u> </div>
<div class="im"> <div> <b>Subject: </b> Re: [Openstack] Questions about ceilometer</div> </div> </div> <div> </div> <br> <br> <div class="gmail_quote"> <div class="im">On Fri, Jul 13, 2012 at 11:36 AM, 张家龙 <span dir="ltr"><<a href="mailto:zhangjl@awcloud.com" target="_blank">zhangjl@awcloud.com</a>></span> wrote:<br>
</div> <div class="im"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Doug,<br> I`m use Qpid <font size="-1">instead of </font>Rabbit . <br> Did it cause the error ?<br> </blockquote> <div> <br> </div> </div> <div class="im"> <div>Qpid should work, but I haven't been testing with that so you might have found a bug.</div>
<div> <br> </div> <div>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.</div>
<div> <br> </div> <div>Doug</div> <div> </div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I<font size="-1">n addition</font>,my nova.conf,mongodb.conf and ceilometer-collector.conf are here:<div class="im">
<br>
<span style="font-style:italic;text-decoration:underline"> <a href="http://pastebin.com/sW5d8eRv" target="_blank">http://pastebin.com/sW5d8eRv</a> </span> <br>
<span style="font-style:italic;text-decoration:underline"> <a href="http://pastebin.com/D5GMkLsb" target="_blank">http://pastebin.com/D5GMkLsb</a> </span> <br>
<span style="font-style:italic;text-decoration:underline"> <a href="http://pastebin.com/u5vH22Lh" target="_blank">http://pastebin.com/u5vH22Lh</a> </span> <br> Were there some errors in my config files?<br> <br> Waiting your reply. Thanks.<br>
<div> <u> </u> <div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div> <div style="font-size:14px;font-family:Verdana"> <div>
<div>Best Regards</div>
<div> </div>
<div>ZhangJialong</div> </div> </div> <u> </u> </div> <div> <u> </u> <u> </u> </div> <div> </div> <div> </div> <div> </div> </div> <div style="font:Verdana normal 14px"> <div style="FONT-SIZE:12px;FONT-FAMILY:Arial Narrow;padding:2px 0 2px 0">
------------------ Original ------------------</div> <div style="FONT-SIZE:12px;background:#efefef;padding:8px"> <div> <b>From: </b> "Doug Hellmann"<<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>>;</div>
<div class="im">
<div> <b>Date: </b> Fri, Jul 13, 2012 11:28 PM</div> </div> <div class="im"> <div> <b>To: </b> "张家龙"<<a href="mailto:zhangjl@awcloud.com" target="_blank">zhangjl@awcloud.com</a>>; "Julien Danjou"<<a href="mailto:julien@danjou.info" target="_blank">julien@danjou.info</a>>; <u> </u> </div>
</div> <div> <b>Cc: </b> "openstack"<<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>>; <u> </u> </div> <div class="im"> <div> <b>Subject: </b> Re: [Openstack] Questions about ceilometer</div>
</div> </div> <div> <div> <div> </div> <br> <br> <div class="gmail_quote">On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br> <br> <div class="gmail_quote"> <div> <div> <div> <div class="h5">On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 <span dir="ltr"><<a href="mailto:zhangjl@awcloud.com" target="_blank">zhangjl@awcloud.com</a>></span> wrote:<br>
</div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <div> <div> <div class="h5">Dear all,<br> <br> As the project named ceilometer appeared,I paid close attention to it.<br> According to the docs of ceilometer,I deploied it in openstack exsse environment.<br>
While,I cannot start the ceilometer collector and agent.<br> <br> The follows are my operations.<br> <br> 1.Install openstack nova ,mongodb and ceilometer.<br> 2.configurate nova ,mongodb and ceilometer<br>
<br> The /etc/nova/nova.conf file is here:<br> <span style="font-style:italic;text-decoration:underline"> <a href="http://pastebin.com/sW5d8eRv" target="_blank">http://pastebin.com/sW5d8eRv</a> </span> <br> <br>
Here is the /etc/ceilometer-collector.conf file is here:<br> <span style="font-style:italic;text-decoration:underline"> <a href="http://pastebin.com/u5vH22Lh" target="_blank">http://pastebin.com/u5vH22Lh</a> </span> <br>
<br> And the /etc/mongodb.conf is here:<br> <span style="font-style:italic;text-decoration:underline"> <a href="http://pastebin.com/D5GMkLsb" target="_blank">http://pastebin.com/D5GMkLsb</a> </span> <br> <br>
3.Start openstack nova ,mongodb<br>
<br> 4.Then I start the ceilometer-collector<br> /usr/bin/ceilometer-collector start<br> While,some errors occurred:<br> <br> 2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage')<br>
2012-07-11 05:25:35 INFO ceilometer.storage [-] Loaded mongodb storage engine EntryPoint.parse('mongodb = ceilometer.storage.impl_mongodb:MongoDBStorage')<br> 2012-07-11 05:25:35 INFO ceilometer.storage.impl_mongodb [-] connecting to MongoDB on localhost:27017<br>
2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] attempting to load notification handler for ceilometer.collector.compute:instance<br> 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.create.end events<br>
2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.exists events<br> 2012-07-11 05:25:35 INFO ceilometer.collector.dispatcher [-] subscribing instance handler to compute.instance.delete.start events<br>
Traceback (most recent call last):<br> File "/usr/lib/python2.6/site-packages/eventlet/hubs/poll.py", line 97, in wait<br> readers.get(fileno, noop).cb(fileno)<br> File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in main<br>
result = function(*args, **kwargs)<br> File "/usr/lib/python2.6/site-packages/nova/service.py", line 101, in run_server<br> server.start()<br> File "/usr/lib/python2.6/site-packages/nova/service.py", line 162, in start<br>
self.manager.init_host()<br> File "/usr/lib/python2.6/site-packages/ceilometer-0-py2.6.egg/ceilometer/collector/manager.py", line 69, in init_host<br> </div> </div> topic='%<a href="http://s.info" target="_blank">s.info</a>' % flags.FLAGS.notification_topics[0],<div class="im">
<br>
File "/usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py", line 867, in __getattr__<br> return self._substitute(self._get(name))<br> File "/usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py", line 1070, in _get<br>
info = self._get_opt_info(name, group)<br> File "/usr/lib/python2.6/site-packages/nova/openstack/common/cfg.py", line 1161, in _get_opt_info<br> raise NoSuchOptError(opt_name, group)<br> NoSuchOptError: no such option: notification_topics<br>
Removing descriptor: 12 </div> </div> </div> </blockquote> <div class="im"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div> <div> <br> If anyone can help me ? Waiting your reply. Thanks !<br>
</div> </div> </blockquote> <div> <br> </div> </div> </div> </div> <div class="im"> <div>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?</div>
</div> </div> </blockquote> <div class="im"> <div> <br> </div> <div>I think I left out a configuration step in the instructions at <a href="http://ceilometer.readthedocs.org/en/latest/install.html" target="_blank">http://ceilometer.readthedocs.org/en/latest/install.html</a>.</div>
<div> <br> </div> <div>Did you configure your system to use the Rabbit notifier?</div> <div> <br> </div> <div>Doug</div> <div> </div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote">
<div> <br> </div> <div>Doug</div> <div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div class="im"> <div> <div> <br> <div> <u> </u> <div style="color:#909090;font-family:Arial Narrow;font-size:12px">
------------------</div> <div style="font-size:14px;font-family:Verdana"> <div>
<div>Best Regards</div>
<div> </div>
<div>ZhangJialong</div> </div> </div> <u> </u> </div> <div> <u> </u> <u> </u> </div> <div> </div> </div> </div> <br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a> <br> </div> <div class="im">
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a> <br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a> <br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a> <br>
<br> </div> </blockquote> </div> <br>
</blockquote> </div> <br>
</div> </div> </div> </blockquote> </div> <br>
</div> </blockquote> </div> <br>
</div>