]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Do a metadata refresh after an explicit metadata write.
authorAngus Salkeld <asalkeld@redhat.com>
Thu, 28 Feb 2013 22:40:59 +0000 (09:40 +1100)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 28 Feb 2013 22:40:59 +0000 (09:40 +1100)
commitc538c6b6e4a56209bc54b54b1b9dafd17e388b5d
tree75405ef4be5d2bf1f4e5789d0d85e7a1c9bda489
parent83457be86a36f72142c95de5cee4a06a5aa2b5fd
Do a metadata refresh after an explicit metadata write.

if we have a template with (logically) the following:
instance2:
   metadata
     GetAtt waitcond.data

waitcond:

when the waitcond is fired, it updates the metadata but it needs a call
to update the references in "instance2's" metadata.

bug #1135229
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Change-Id: I1a6af9112ba100b17075063f59165b448d6a11f4
heat/engine/service.py
heat/tests/test_metadata_refresh.py