ec2token filter should use keystone_authtoken conf section
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Steven Hardy |
Bug Description
The ec2token middleware defines it's own config section:
[ec2authtoken]
#auth_uri=<None>
#multi_cloud=false
#allowed_auth_uris=
However the auth_uri is duplicated with that which may be specified via the keystone_authtoken section (used by the keystoneclient authtoken middleware which we use, and also by heat_keystonecl
This duplication is made worse by the fact that when you only specify auth_uri in keystone_authtoken, the Ec2Token filter silently fails, because it doesn't detect that auth_uri is None before calling _conf_get_
So we should allow reading keystone_authtoken for auth_uri if it's not specified in ec2authtoken, and ensure an appropriate error log is generated if no auth_uri is specified anywhere.
Changed in heat: | |
status: | New → Triaged |
milestone: | none → havana-rc1 |
importance: | Undecided → High |
assignee: | nobody → Steven Hardy (shardy) |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | havana-rc1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/48067
Review: https:/