defaults in [clients] section of configuration not applied when [clients_xxx] sections do not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Miguel Grinberg | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If I want to set a default endpoint_type for all my clients I can include the following in heat.conf:
[clients]
endpoint_type = internalURL
And the expected behavior is that when heat looks for a client specific section (such as [clients_glance]) and doesn't find it, it goes and grabs the property from [clients].
This unfortunately does not work, because when the configuration options are registered heat registers a copy of the [clients] default values into all the [client_xxx] sections, so even though these sections are missing in my config file, they are not missing in the configuration object, and get registered with the default value for endpoint_type before parsing heat.conf, which is publicURL.
Changed in heat: | |
assignee: | nobody → Miguel Grinberg (miguelgrinberg) |
Changed in heat: | |
assignee: | Miguel Grinberg (miguelgrinberg) → Ethan Lynn (ethanlynn) |
Changed in heat: | |
assignee: | Ethan Lynn (ethanlynn) → Miguel Grinberg (miguelgrinberg) |
Changed in heat: | |
milestone: | none → kilo-1 |
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/127699
Review: https:/