problem during the execution of ceilometer-collector

Asked by Majdi MEHDI on 2012-09-23

when I try to execute the ceilometer-collector an error has been established:

root@majdi-Inspiron-N5110:/home/majdi/ceilometerd# ceilometer-collectorTraceback (most recent call last):
  File "/usr/local/bin/ceilometer-collector", line 5, in <module>
    pkg_resources.run_script('ceilometer==0', 'ceilometer-collector')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0-py2.7.egg/EGG-INFO/scripts/ceilometer-collector", line 30, in <module>
    prepare_service(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0-py2.7.egg/ceilometer/service.py", line 33, in prepare_service
    cfg.CONF(argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0-py2.7.egg/ceilometer/openstack/common/cfg.py", line 1023, in __call__
    self._parse_config_files()
  File "/usr/local/lib/python2.7/dist-packages/ceilometer-0-py2.7.egg/ceilometer/openstack/common/cfg.py", line 1441, in _parse_config_files
    raise ConfigFileParseError(pe.filename, str(pe))
ceilometer.openstack.common.cfg.ConfigFileParseError: Failed to parse /etc/ceilometer-collector.conf: at /etc/ceilometer-collector.conf:1, Unexpected continuation line: ' [DEFAULT]'

Question information

Language:
English Edit question
Status:
Answered
For:
Ceilometer Edit question
Assignee:
No assignee Edit question
Last query:
2012-09-23
Last reply:
2012-10-01
Doug Hellmann (doug-hellmann) said : #1

This turned out to be a problem with the format of the input configuration file.

Can you help with this problem?

Provide an answer of your own, or ask Majdi MEHDI for more information if necessary.

To post a message you must log in.