stack_user_domain should accept a domain name
Bug #1313003 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Morgan Fainberg |
Bug Description
When configuring heat, stack_user_domain must be a domain ID only. However, it will make more sense to users if they can specify a name.
Changed in heat: | |
milestone: | none → juno-2 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
FWIW I decided against doing this when initially implementing, because the keystoneclient interfaces expect either name or ID, and we'd have to have conditional logic to pass the appropriate kwarg, and/or introduce two config file options (as there's no reliable way of deducing whether the stack_user_domain provided by the user is a name or ID)
The other potential issue is sometimes if you pass a name not ID to keystoneclient, it introduces additional policy requirements, e.g doing this may mean that all users need permission to list all domains. So we'll have to test to ensure that's not the case.
Overall, since it's a set-once deployer option (not a user-facing one) it seemed easier and safer to just use the ID consistently.