auth_url is missing when switching to stored context
Bug #1415901 reported by
Qiming Teng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Steven Hardy |
Bug Description
When creating new servers as a result of receiving an alarm to an autoscaling group, we switch to the store context.
Since the updated stack is using the stored context, the context will propagate into servers created.
'auth_url' was missing from the stored context so when refreshing the 'os-collect-
The result is that newly create server cannot signal back to Heat.
Need to add 'auth_url' into the stored context and possibly 'region_name' if not harmful.
Changed in heat: | |
status: | New → Confirmed |
Changed in heat: | |
assignee: | nobody → Steven Hardy (shardy) |
importance: | Undecided → High |
milestone: | none → kilo-2 |
Changed in heat: | |
status: | Confirmed → In Progress |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/151216 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=1a3adcdcb13 c661a5ef3e55511 72249b20006bc0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1a3adcdcb13c661 a5ef3e555117224 9b20006bc0
Author: Steven Hardy <email address hidden>
Date: Thu Jan 29 12:59:37 2015 +0000
Store auth_url and region_name when trusts are enabled
We don't currently store auth_url, which causes problems when creating
autoscaling groups containing servers configured for software config,
because we use context.auth_url to populate the auth_url in the server
metadata, which is needed by the deployments for signalling.
Also adding region_name, as this seems likely to be needed for correct
operation in a multi-region environment.
Closes-Bug: #1415901 ba0777bf5ca52c7 9a8e8e60f5a
Change-Id: I550d03ea1b6985