auth_url is missing when switching to stored context

Bug #1415901 reported by Qiming Teng
6
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-config.conf' file, auth_url is gone.
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.

Qiming Teng (tengqim)
Changed in heat:
status: New → Confirmed
Steven Hardy (shardy)
Changed in heat:
assignee: nobody → Steven Hardy (shardy)
importance: Undecided → High
milestone: none → kilo-2
Changed in heat:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/151216
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=1a3adcdcb13c661a5ef3e5551172249b20006bc0
Submitter: Jenkins
Branch: master

commit 1a3adcdcb13c661a5ef3e5551172249b20006bc0
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
    Change-Id: I550d03ea1b6985ba0777bf5ca52c79a8e8e60f5a

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.