<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>I tried to install openstack via devstack, while including ceilometer.<br></div>The install of openstack is ok. The dashborad is accessible, and everything seem to be fine.<br>
</div>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.<br><br></div>
Thanks,<br></div>Afef<br><br><div><div><div>-------------------------------------------------------------------------------------------------<br> root@onodedomU:/etc/ceilometer# ceilometer-collector<br>2013-10-14 13:53:12.638 32022 INFO ceilometer.openstack.common.rpc.common [-] Connected to AMQP server on localhost:5672<br>
/usr/local/lib/python2.7/dist-packages/amqp/channel.py:599: DeprecationWarning: auto_delete exchanges has been deprecated<br> 'auto_delete exchanges has been deprecated'))<br>Traceback (most recent call last):<br>
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 99, in wait<br> writers.get(fileno, noop).cb(fileno)<br> File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main<br>
result = function(*args, **kwargs)<br> File "/opt/stack/ceilometer/ceilometer/openstack/common/service.py", line 448, in run_service<br> service.start()<br> File "/opt/stack/ceilometer/ceilometer/collector/service.py", line 138, in start<br>
super(CollectorService, self).start()<br> File "/opt/stack/ceilometer/ceilometer/openstack/common/rpc/service.py", line 66, in start<br> self.manager.initialize_service_hook(self)<br> File "/opt/stack/ceilometer/ceilometer/collector/service.py", line 147, in initialize_service_hook<br>
'ceilometer.transformer',<br> File "/opt/stack/ceilometer/ceilometer/pipeline.py", line 356, in setup_pipeline<br> with open(cfg_file) as fap:<br>TypeError: coercing to Unicode: need string or buffer, NoneType found<br>
Removing descriptor: 4<br>2013-10-14 13:53:12.662 32022 ERROR ceilometer.openstack.common.threadgroup [-] coercing to Unicode: need string or buffer, NoneType found<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup Traceback (most recent call last):<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup x.wait()<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup return self.thread.wait()<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup return self._exit_event.wait()<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup return hubs.get_hub().switch()<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup return self.greenlet.switch()<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup result = function(*args, **kwargs)<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup service.start()<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup super(CollectorService, self).start()<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup self.manager.initialize_service_hook(self)<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup 'ceilometer.transformer',<br>
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<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup with open(cfg_file) as fap:<br>
2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup TypeError: coercing to Unicode: need string or buffer, NoneType found<br>2013-10-14 13:53:12.662 32022 TRACE ceilometer.openstack.common.threadgroup <div>
<div><div><br>
</div></div></div></div></div></div></div>