OpenStack Telemetry (Ceilometer)

ceilometer-api failed to start because of no log_name option

Reported by Yolanda Robla on 2012-12-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Critical
Julien Danjou

Bug Description

ceilometer-api from stable/folsom branches is failing.
Following error is reported:

2012-12-18 16:28:02,222 CRITI [ceilometer][MainThread] no such option: log_name
Traceback (most recent call last):
  File "/opt/stack/ceilometer/bin/ceilometer-api", line 52, in <module>
    root = acl.install(root, cfg.CONF)
  File "/opt/stack/ceilometer/ceilometer/api/acl.py", line 41, in install
    conf=conf,
  File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 201, in __init__
    self.LOG = logging.getLogger(conf.get('log_name', __name__))
  File "/usr/lib/python2.7/_abcoll.py", line 342, in get
    return self[key]
  File "/opt/stack/ceilometer/ceilometer/openstack/common/cfg.py", line 1043, in __getitem__
    return self.__getattr__(key)
  File "/opt/stack/ceilometer/ceilometer/openstack/common/cfg.py", line 1039, in __getattr__
    return self._get(name)
  File "/opt/stack/ceilometer/ceilometer/openstack/common/cfg.py", line 1361, in _get
    value = self._substitute(self._do_get(name, group))
  File "/opt/stack/ceilometer/ceilometer/openstack/common/cfg.py", line 1377, in _do_get
    info = self._get_opt_info(name, group)
  File "/opt/stack/ceilometer/ceilometer/openstack/common/cfg.py", line 1470, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: log_name

Julien Danjou (jdanjou) on 2012-12-18
Changed in ceilometer:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Julien Danjou (jdanjou)

Fix proposed to branch: master
Review: https://review.openstack.org/18331

Changed in ceilometer:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/18331
Committed: http://github.com/openstack/ceilometer/commit/7471586dd6106304770d53553370d868095f0676
Submitter: Jenkins
Branch: master

commit 7471586dd6106304770d53553370d868095f0676
Author: Julien Danjou <email address hidden>
Date: Tue Dec 18 17:39:56 2012 +0100

    Pass a dict configuration file to auth_keystone

    This fixes bug #1091754

    Change-Id: Iff76a2b499d69fc90c31a23e9c79b1b91f63653e
    Signed-off-by: Julien Danjou <email address hidden>

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-01-09
Changed in ceilometer:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-04-04
Changed in ceilometer:
milestone: grizzly-2 → 2013.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers