metadata is cached so if runtime data changes the instance doesn't see it

Bug #1131024 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Angus Salkeld

Bug Description

If you use the Restarter resource and and in you second instance have GetAtt("publicIp")
you will never see the change in ip, as it is cached in the db.

Angus Salkeld (asalkeld)
Changed in heat:
assignee: nobody → Angus Salkeld (asalkeld)
milestone: none → grizzly-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/22513

Changed in heat:
status: New → In Progress
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-3 → grizzly-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/22805

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/22805
Committed: http://github.com/openstack/heat/commit/06f4f858715f89100644867a1aad95bdb3352e41
Submitter: Jenkins
Branch: master

commit 06f4f858715f89100644867a1aad95bdb3352e41
Author: Angus Salkeld <email address hidden>
Date: Tue Feb 26 09:16:12 2013 +1100

    Make the alarm actions run in one thread

    bug #1131024
    Change-Id: I678d8919a17fc73350ec9061ad2a7234e1d6b9f6

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/22513
Committed: http://github.com/openstack/heat/commit/cca4de0c855f7224902900a0489df322e09a5bf5
Submitter: Jenkins
Branch: master

commit cca4de0c855f7224902900a0489df322e09a5bf5
Author: Angus Salkeld <email address hidden>
Date: Mon Feb 25 11:44:19 2013 +1100

    Update the metadata if an alarm action makes changes

    The point of this change?
    - You have another instances' ip in your metadata and if it
      gets restarted you want cfn-hup to see the new ip.

    How is it achieved?
    - poll for the metadata so you can see these changes (cfn-hup)
    - when ever an alarm action is run we make sure the metadata is refreshed.

    bug #1131024
    Change-Id: I0798c4da9689b126c3c98cafa63138ff2c484ea9

Steven Dake (sdake)
Changed in heat:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-rc1 → 2013.1
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.