aodh redirection will be broken if only token and endpoint provided to initial ceilometerclient

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

Bug Description

when initializing a ceilometerclient, Users may provide auth_url and user credential, or endpoint and token, in second case, we cannot get aodh endpoint from keystone, because auth_url may didn't be provided. we need to support "aodh_endpoint" parameter when initializing ceilometerclient if auth_url didn't provided.

Changed in python-ceilometerclient:
assignee: nobody → Liusheng (liusheng)
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/216199
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=2429daec98998767924d1287711b309aacfb03dc
Submitter: Jenkins
Branch: master

commit 2429daec98998767924d1287711b309aacfb03dc
Author: liu-sheng <email address hidden>
Date: Mon Aug 24 19:14:51 2015 +0800

    Don't try to get aodh endpoint if auth_url didn't provided

    This change includes:

    * Allow users of ceilometerclient specifying aodh_endpoint explicitly
    * If aodh_endpoint didn't provided and users just provide ceilometer
      endpoint and token, no auth_url, we assume aodh is unavailable and
      avoid trying to get aodh endpoint.

    Change-Id: Idd0ce60058d23507a99b89926e461d19db267ca2
    Closes-Bug: #1488290

Changed in python-ceilometerclient:
status: In Progress → Fix Committed
Changed in python-ceilometerclient:
milestone: none → 1.5.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.