heat config generation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Kevin Carter | ||
Juno |
Fix Released
|
High
|
Jesse Pretorius | ||
Kilo |
Fix Released
|
High
|
Jesse Pretorius | ||
Trunk |
Fix Released
|
High
|
Kevin Carter |
Bug Description
seen several times in gate jobs:
2015-08-28 08:53:49,305 p=31456 u=root | TASK: [os_heat | Generate heat Config] *******
2015-08-28 08:53:49,728 p=31456 u=root | fatal: [aio1_heat_
2015-08-28 08:53:49,728 p=31456 u=root | fatal: [aio1_heat_
CVE References
Changed in openstack-ansible: | |
status: | Triaged → In Progress |
The instance I've seen of this error was a downstream problem, caused by an SSH error in the heat_api container.
The problem is that the stack_user_ domain_ id variable is set as part of the heat_domain_setup role, which runs only for the first heat container in the group, normally the one for heat-api. If for whatever reason this container bad, the variable will not get registered.
Then the heat_post_install task runs for all heat containers, and expect this variable to be set, causing this error.
I recommend that we drop the use of the stack_user_ domain_ id variable and instead specify the domain by name using stack_user_ domain_ name. Either one of these vars can be specified in the heat config. See https:/ /github. com/openstack/ heat/blob/ 27525fb0e446ff3 6e94c8eff0c93af 473e67a3e2/ heat/common/ config. py#L64- L73.
Jesse, feel free to assign to me if you want me to make this change.