get_attr seems to be occasionally returning before the output is ready
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Incomplete
|
High
|
Jay Dobies |
Bug Description
In TripleO we seem to be hitting an issue where get_attr is returning before the output of the referenced resource is ready; this can be seen in the submission at: https:/
That submission is creating a new output in the endpoint_map.yaml, see [1] and then it's updating the glance-registry role so that it gets its mysql connection string from the new output [2].
The mysql connection string is collected from the endpoint_map output in and passed as parameter to the role in [3]
As a result, the glance connection string ends up being invalid and the puppet module will default to sqlite [4]
1. https:/
2. https:/
3. https:/
4. http://
Changed in heat: | |
assignee: | nobody → Jay Dobies (jdob) |
description: | updated |
Changed in heat: | |
importance: | Undecided → High |
Changed in heat: | |
status: | New → Incomplete |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
In the controller logs we have the puppet hieradata provisioned by heat. When the problem occures, the puppet param related to the connection string looks like the following:
glance: :registry: :database_ connection: ://glance: G9dBqYZQwgH6rJ4 NqgTbaECeK@ /glance
so it misses a couple of values supposed to be gathered from the EndpointMap resource in [1]
1. https:/ /review. openstack. org/#/c/ 305751/ 8/puppet/ services/ glance- registry. yaml