NoSuchOptError raised when CONF.publisher_rpc.metering_topic is referenced in ceilometer.collector

Bug #1258650 reported by David Peraza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
David Peraza

Bug Description

Get this error with latest master code trying to start ceilometer-collector service:

2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup File "/opt/stack/ceilometer/ceilometer/collector.py", line 58, in start
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup super(CollectorService, self).start()
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup File "/opt/stack/ceilometer/ceilometer/openstack/common/rpc/service.py", line 64, in start
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup self.manager.initialize_service_hook(self)
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup File "/opt/stack/ceilometer/ceilometer/collector.py", line 99, in initialize_service_hook
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup cfg.CONF.publisher_rpc.metering_topic,
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1606, in __getattr__
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup return self._get(name)
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1930, in _get
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup value = self._substitute(self._do_get(name, group, namespace))
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1948, in _do_get
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup info = self._get_opt_info(name, group)
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2029, in _get_opt_info
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup raise NoSuchOptError(opt_name, group)
2013-12-06 15:30:48.187 6736 TRACE ceilometer.openstack.common.threadgroup NoSuchOptError: no such option: publisher_rpc

David Peraza (dperaza)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Changed in ceilometer:
assignee: nobody → David Peraza (dperaza)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/60634
Committed: http://github.com/openstack/ceilometer/commit/5472a1dba0fcd835e96d7aef323c35508428c376
Submitter: Jenkins
Branch: master

commit 5472a1dba0fcd835e96d7aef323c35508428c376
Author: David Peraza <email address hidden>
Date: Fri Dec 6 15:03:04 2013 -0600

    Add import for publisher_rpc option

    If this option is not imported a NoSuchOptError is
    raised starting the ceilometer-collector service

    Closes-Bug: #1258650
    Change-Id: I46f8a0510603d31ce8cc9a0b5b15880083138487

Changed in ceilometer:
status: In Progress → Fix Committed
gordon chung (chungg)
Changed in ceilometer:
milestone: none → icehouse-2
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.