aodh redirection will be broken if only token and endpoint provided to initial ceilometerclient
Bug #1488290 reported by
Liusheng
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 |
Changed in python-ceilometerclient: | |
milestone: | none → 1.5.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/216199 /git.openstack. org/cgit/ openstack/ python- ceilometerclien t/commit/ ?id=2429daec989 98767924d128771 1b309aacfb03dc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2429daec9899876 7924d1287711b30 9aacfb03dc
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: Idd0ce60058d235 07a99b89926e461 d19db267ca2
Closes-Bug: #1488290