← Back to team overview

openstack team mailing list archive

Re: Questions about ceilometer

 

On Fri, Jul 13, 2012 at 11:36 AM, 张家龙 <zhangjl@xxxxxxxxxxx> 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 Hellmann"<doug.hellmann@xxxxxxxxxxxxx>;
> *Date: * Fri, Jul 13, 2012 11:28 PM
> *To: * "张家龙"<zhangjl@xxxxxxxxxxx>; "Julien Danjou"<julien@xxxxxxxxxxx>; **
> *Cc: * "openstack"<openstack@xxxxxxxxxxxxxxxxxxx>; **
> *Subject: * Re: [Openstack] Questions about ceilometer
>
>
>
> On Fri, Jul 13, 2012 at 10:04 AM, Doug Hellmann <
> doug.hellmann@xxxxxxxxxxxxx> wrote:
>
>>
>>
>>  On Thu, Jul 12, 2012 at 9:42 PM, 张家龙 <zhangjl@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

References