Errors when launching ceilometer-collector

asked 2013-08-27 16:33:57 -0600

mulz gravatar image

updated 2013-08-27 21:38:47 -0600

Jobin gravatar image

Hi, I am trying to to install Ceilometer for collecting Swift usage data and having bunch of problems. I am following the link below to install and run Ceilometer for Swift:

I am stuck at step 9 i.e. when I try to launch celiometer-collector, I get the following error:

# ceilometer-collector
Traceback (most recent call last):
  File "/usr/local/bin/ceilometer-collector", line 6, in <module>
    from ceilometer.collector.service import collector
  File "/usr/local/lib/python2.7/dist-packages/ceilometer/collector/", line 26, in <module>
    from ceilometer.service import prepare_service
  File "/usr/local/lib/python2.7/dist-packages/ceilometer/", line 27, in <module>
    from ceilometer.openstack.common import gettextutils
  File "/usr/local/lib/python2.7/dist-packages/ceilometer/openstack/common/", line 34, in <module>
    from babel import localedata
ImportError: No module named babel**

I have following questions:

1) What is option set in step 8.1 in link above? I mean in /etc/ceilometer/ceilometer.conf, there're no swift options for *_control_exchange.

2) Has anyone successfully installed Ceilometer for Swift? Any step-by-step guide would be immensely helpful as the link above is generic for manual installation.

My configuration is the following.

Management server running the collector, data store, central agent, 2 proxy servers and 3 storage nodes. Everything is running OpenStack Grizzly on 64-bit Ubuntu 12.04.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-27 20:06:49 -0600

Jobin gravatar image

updated 2013-08-27 20:58:31 -0600

Most probably, your installation was not able to fetch the babel package required by ceilometer-collector and hence is now not able to run since the modules are missing.

To install babel manually, download babel from here, uncompress the file using tar -zxvf 'filename' and install using python /path/ install and then start ceilometer-collector.

About your questions, I am not sure whether you need to add those since I have never installed ceilometer specifically for swift.

edit flag offensive delete link more


Jobin, I solved the babel problem just with apt-get install Babel. Thanks for your input. Have you or anyone done Ceilometer installation for Swift? A step-by-step guide would be helpful. Thanks! M

mulz gravatar imagemulz ( 2013-08-28 13:42:11 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-27 16:33:57 -0600

Seen: 413 times

Last updated: Aug 27 '13