agent broken due to invalid calls to pipeline manager

Bug #1126990 reported by Lianhao Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Critical
jiang, yunhong

Bug Description

Currently, the latest ceilometer-xxx-agents on master git branch fail with the following output:

WARNING ceilometer.agent [-] Continuing after error from network_floatingip: 'PipelineManager' object has no attribute 'publisher'
2013-02-16 14:55:41.315 17122 ERROR ceilometer.agent [-] 'PipelineManager' object has no attribute 'publisher'
2013-02-16 14:55:41.315 17122 TRACE ceilometer.agent Traceback (most recent call last):
2013-02-16 14:55:41.315 17122 TRACE ceilometer.agent File "/opt/stack/ceilometer/ceilometer/agent.py", line 45, in publish_counters_from_one_pollster
2013-02-16 14:55:41.315 17122 TRACE ceilometer.agent publisher = manager.pipeline_manager.publisher(
2013-02-16 14:55:41.315 17122 TRACE ceilometer.agent AttributeError: 'PipelineManager' object has no attribute 'publisher'

This problem was introduced by https://review.openstack.org/21658.

Revision history for this message
jiang, yunhong (yunhong-jiang) wrote :

I will update my multiple interval patch to cover this.

-jyh

Changed in ceilometer:
assignee: nobody → jiang, yunhong (yunhong-jiang)
Julien Danjou (jdanjou)
Changed in ceilometer:
status: New → Confirmed
importance: Undecided → Critical
Changed in ceilometer:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/21873
Committed: http://github.com/openstack/ceilometer/commit/21af2e30b3134ca2aa91fc01e1af2cd4bce28e0c
Submitter: Jenkins
Branch: master

commit 21af2e30b3134ca2aa91fc01e1af2cd4bce28e0c
Author: Julien Danjou <email address hidden>
Date: Wed Feb 13 13:46:07 2013 +0100

    pipeline: manager publish multiple counters

    This makes the polling agent publish all counters in a row.
    This fixes bug #1126990 and bug #1130475.

    This moves the publisher() method to the *manager*. No agent/middleware
    interacts with only one pipeline, this one an implementation mistake.

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

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: grizzly-3 → 2013.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.