Ask Your Question

Revision history [back]

Healthnmon NoSectionError error

I installed healthnmon by downloading the zip file from github and using setup python install on Ubuntu 12.04 already having grizzly and ceilometer installed on it.

After this when I did a healthnmon-manage db sync I got this error message:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/healthnmon-0.0.0-py2.7.egg/healthnmon/log.py", line 247, in healthnmon_manage_setup
    logging.config.fileConfig(CONF.healthnmon_manage_log_config)
  File "/usr/lib/python2.7/logging/config.py", line 70, in fileConfig
    formatters = _create_formatters(cp)
  File "/usr/lib/python2.7/logging/config.py", line 106, in _create_formatters
    flist = cp.get("formatters", "keys")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
NoSectionError: No section: 'formatters'
Traceback (most recent call last):
  File "/usr/local/bin/healthnmon-manage", line 5, in <module>
    pkg_resources.run_script('healthnmon==0.0.0', 'healthnmon-manage')
  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/healthnmon-0.0.0-py2.7.egg/EGG-INFO/scripts/healthnmon-manage", line 317, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/healthnmon-0.0.0-py2.7.egg/EGG-INFO/scripts/healthnmon-manage", line 273, in main
    logging.healthnmon_manage_setup()
  File "/usr/local/lib/python2.7/dist-packages/healthnmon-0.0.0-py2.7.egg/healthnmon/log.py", line 247, in healthnmon_manage_setup
    logging.config.fileConfig(CONF.healthnmon_manage_log_config)
  File "/usr/lib/python2.7/logging/config.py", line 70, in fileConfig
    formatters = _create_formatters(cp)
  File "/usr/lib/python2.7/logging/config.py", line 106, in _create_formatters
    flist = cp.get("formatters", "keys")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'

What can be done to fix this?