project_id in parameters of ceilometerclient initialization is actually tenant_name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Liusheng |
Bug Description
heat will init ceilometerclient instance when creating stack, that need some auth parameters provided, see [1], but the 'project_id' in kwargs is actually tenant_name. it is not broken now because heat has provide endpoint and auth token for ceilometerclient, so the 'project_id' didn't been used. I'm working on aodh (a module as alarm part of ceilometer in past) integration with heat. I have found this issue. FYI, some debug info following:
(Pdb) l
41 'cert_file': self._get_
42 'key_file': self._get_
43 'insecure': self._get_
44 }
45 import pdb;pdb.set_trace()
46 -> return cc.get_client('2', **args)
47
48 def is_not_found(self, ex):
49 return isinstance(ex, (exc.HTTPNotFound, api_exc.NotFound))
50
51 def is_over_limit(self, ex):
(Pdb) p args
{'insecure': False, 'cacert': None, 'token': <function <lambda> at 0x7f9fcd24e0c8>, 'endpoint_type': 'publicURL', 'auth_url': u'http://
[1] https:/
Changed in heat: | |
importance: | Undecided → High |
Changed in heat: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-2 → 5.0.0 |
Fix proposed to branch: master /review. openstack. org/203520
Review: https:/