heat/heat/engine/clients
huangtianhua 20214477c8 Make sure create ceilometer alarm successful
If enable re-auth, we will use the stored context
instead of request context, then we can't create
ceilometer alarm resource. There are two problems
when create ceilometer client:
1. the stored context has no domain info, an error
raised from keystone: BadRequest: Expecting to find
domain in project. So this patch will retrive the
user/project domain ids from the auth_ref.
2. after fix the first problem, then another error
raised from keystone: Forbidden: You are not authorized
to perform the requested action. Due keystone doesn't
allow to create a token by a trust-scoped token when
get aodh endpoint. So this patch will pass 'aodh_endpoint'
to ceilometer client to avoid this.

Change-Id: I44ed5c10b6dec6f39714f4f74cf51a10ef6104a6
Closes-Bug: #1531406
2016-03-16 01:46:00 +00:00
..
os Make sure create ceilometer alarm successful 2016-03-16 01:46:00 +00:00
__init__.py Using LOG.warning replace LOG.warn 2015-12-29 09:32:42 +00:00
client_plugin.py Fix prepare_for_replace/restore_prev_rsrc handing for server 2016-03-11 14:52:51 +08:00
progress.py Make sure update access mode for volume in available 2015-12-26 18:32:53 +08:00