ceilometerclient shouldn't depend on running of aodh

Bug #1550095 reported by Liusheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Fix Released
High
Liusheng

Bug Description

Currently, if we stop aodh services, the ceilometerclient will be unavailable, that because ceilometerclient need to connect aodh-api when init client. see:

root@szxbzci0007:/opt/stack/python-aodhclient# ceilometer sample-list -m cpu_util
HTTPConnectionPool(host='10.229.40.107', port=8042): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f4825c63b50>: Failed to establish a new connection: [Errno 111] Connection refused',))

Liusheng (liusheng)
Changed in python-ceilometerclient:
assignee: nobody → Liusheng (liusheng)
Liusheng (liusheng)
Changed in python-ceilometerclient:
importance: Undecided → Medium
Liusheng (liusheng)
Changed in python-ceilometerclient:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ceilometerclient (master)

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

Changed in python-ceilometerclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (master)

Reviewed: https://review.openstack.org/289653
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=78869fbccaffdf625fc1ec4ed3108bb7de892720
Submitter: Jenkins
Branch: master

commit 78869fbccaffdf625fc1ec4ed3108bb7de892720
Author: liusheng <email address hidden>
Date: Tue Mar 8 09:41:22 2016 +0800

    Decouple ceilometerclient without aodh services running

    Currently, the ceilometerclient will be broken if aodh services not
    running, it will be worse if users don't want alarming service and they
    must start the aodh services.

    Change-Id: Idf7468f28cee001262b67b6e110357ffc971535a
    Closes-Bug: #1550095

Changed in python-ceilometerclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ceilometerclient (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/291833

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (stable/mitaka)

Reviewed: https://review.openstack.org/291833
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=5a56d6eb8fef918f227aaa42d1e5b2ad2972d00e
Submitter: Jenkins
Branch: stable/mitaka

commit 5a56d6eb8fef918f227aaa42d1e5b2ad2972d00e
Author: liusheng <email address hidden>
Date: Tue Mar 8 09:41:22 2016 +0800

    Decouple ceilometerclient without aodh services running

    Currently, the ceilometerclient will be broken if aodh services not
    running, it will be worse if users don't want alarming service and they
    must start the aodh services.

    Change-Id: Idf7468f28cee001262b67b6e110357ffc971535a
    Closes-Bug: #1550095
    (cherry picked from commit 78869fbccaffdf625fc1ec4ed3108bb7de892720)

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-ceilometerclient 2.4.0

This issue was fixed in the openstack/python-ceilometerclient 2.4.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/python-ceilometerclient 2.5.0

This issue was fixed in the openstack/python-ceilometerclient 2.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-ceilometerclient 2.4.0

This issue was fixed in the openstack/python-ceilometerclient 2.4.0 release.

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.