make ceilometerclient shell consistent with other clients

Bug #1434264 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Fix Released
Medium
Chris Dent

Bug Description

when using get_base_parser, it will fail because auth_plugin is a object level variable that only gets initialised in main

gordon chung (chungg)
Changed in python-ceilometerclient:
assignee: gordon chung (chungg) → nobody
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/166317

Changed in python-ceilometerclient:
assignee: nobody → Chris Dent (chdent)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (master)

Reviewed: https://review.openstack.org/166317
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=9b76ad7e1d215856731ea8b9f2f82f12e6463a6e
Submitter: Jenkins
Branch: master

commit 9b76ad7e1d215856731ea8b9f2f82f12e6463a6e
Author: Chris Dent <email address hidden>
Date: Fri Mar 20 16:58:21 2015 +0000

    Set auth_plugin in __init__

    This avoids auth_plugin being undefined when calling self.get_base_parser
    without self.main having been called.

    Closes-Bug: #1434264
    Change-Id: Ic3a898ccecb865ff4e88d82538bcb04001d623db

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

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/174419

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

Reviewed: https://review.openstack.org/174419
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=2f238c6d970e93a5297956e891206af2a1a3dd32
Submitter: Jenkins
Branch: stable/kilo

commit 2f238c6d970e93a5297956e891206af2a1a3dd32
Author: Chris Dent <email address hidden>
Date: Fri Mar 20 16:58:21 2015 +0000

    Set auth_plugin in __init__

    This avoids auth_plugin being undefined when calling self.get_base_parser
    without self.main having been called.

    Closes-Bug: #1434264
    Change-Id: Ic3a898ccecb865ff4e88d82538bcb04001d623db

tags: added: in-stable-kilo
Changed in python-ceilometerclient:
milestone: none → 1.3.0
status: Fix Committed → Fix Released
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.