[openstack-dev] Ceilometer

Eoghan Glynn eglynn at redhat.com
Mon Oct 14 16:16:45 UTC 2013


Does your pipeline configuration file exist?

(This defaults to /etc/ceilometer/pipeline.yaml, if not
overridden via the pipeline_cfg_file config option.)

----- Original Message -----
> Hi all,
> 
> I tried to install openstack via devstack, while including ceilometer.
> The install of openstack is ok. The dashborad is accessible, and everything
> seem to be fine.
> However, I am not able to launch ceilometer services. For instance
> ceilometer-collector returns the following error, that seems related to
> python coding errors. Would you please help me to fix this bug.
> 
> Thanks,
> Afef
> 
> -------------------------------------------------------------------------------------------------
> root at onodedomU:/etc/ceilometer# ceilometer-collector
> 2013-10-14 13:53:12.638 32022 INFO ceilometer.openstack.common.rpc.common [-]
> Connected to AMQP server on localhost:5672
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:599:
> DeprecationWarning: auto_delete exchanges has been deprecated
> 'auto_delete exchanges has been deprecated'))
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 99,
> in wait
> writers.get(fileno, noop).cb(fileno)
> File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line
> 194, in main
> result = function(*args, **kwargs)
> File "/opt/stack/ceilometer/ceilometer/openstack/common/service.py", line
> 448, in run_service
> service.start()
> File "/opt/stack/ceilometer/ceilometer/collector/service.py", line 138, in
> start
> super(CollectorService, self).start()
> File "/opt/stack/ceilometer/ceilometer/openstack/common/rpc/service.py", line
> 66, in start
> self.manager.initialize_service_hook(self)
> File "/opt/stack/ceilometer/ceilometer/collector/service.py", line 147, in
> initialize_service_hook
> 'ceilometer.transformer',
> File "/opt/stack/ceilometer/ceilometer/pipeline.py", line 356, in
> setup_pipeline
> with open(cfg_file) as fap:
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> Removing descriptor: 4
> 2013-10-14 13:53:12.662 32022 ERROR ceilometer.openstack.common.threadgroup
> [-] coercing to Unicode: need string or buffer, NoneType found
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> Traceback (most recent call last):
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/opt/stack/ceilometer/ceilometer/openstack/common/threadgroup.py",
> line 117, in wait
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> x.wait()
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/opt/stack/ceilometer/ceilometer/openstack/common/threadgroup.py",
> line 49, in wait
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> return self.thread.wait()
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line
> 168, in wait
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> return self._exit_event.wait()
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116,
> in wait
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> return hubs.get_hub().switch()
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line
> 187, in switch
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> return self.greenlet.switch()
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line
> 194, in main
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> result = function(*args, **kwargs)
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/opt/stack/ceilometer/ceilometer/openstack/common/service.py", line
> 448, in run_service
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> service.start()
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/opt/stack/ceilometer/ceilometer/collector/service.py", line 138, in
> start
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> super(CollectorService, self).start()
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/opt/stack/ceilometer/ceilometer/openstack/common/rpc/service.py",
> line 66, in start
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> self.manager.initialize_service_hook(self)
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/opt/stack/ceilometer/ceilometer/collector/service.py", line 147, in
> initialize_service_hook
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> 'ceilometer.transformer',
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> File "/opt/stack/ceilometer/ceilometer/pipeline.py", line 356, in
> setup_pipeline
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> with open(cfg_file) as fap:
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> 2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 



More information about the OpenStack-dev mailing list