Add strict dependencies to the overcloud template
authorNicholas Randon <nicholas.randon@hp.com>
Thu, 31 Jul 2014 11:46:20 +0000 (12:46 +0100)
committerNicholas Randon <nicholas.randon@hp.com>
Thu, 31 Jul 2014 13:39:00 +0000 (13:39 +0000)
commit998c5dda9c6d3ddf0f654c71d4c172b7b6dd3e59
treeca342a413eb2d75d231e163ae1469f426a88777f
parent8e462c756ebf20bd39885ba64b80af0bcf49a73e
Add strict dependencies to the overcloud template

Currently there is very weak (no) ordering of StructuredDeployments during
heat stack creation (and, importantly, update) on the overcloud. This can
cause the deployment which sends the completion signal back to Heat to
happen before all others have completed, which in turn leads Heat to state
the stack is ready while ORC is still configuring services

The only workaround to this is to wait an unknown amount of time after the
heat stack completes before the system is usable.

This patch prevents the completion signal from being returned early, by
ensuring these are strictly ordered:
    controller0Deploy
    controller0Passthrough
    controller0AllNodesDeploy
    NovaCompute0Deploy
    NovaCompute0Passthrough
    NovaCompute0AllNodesDeploy

Change-Id: I0a549370b7aca55b1145de521ad51218428deaf5
nova-compute-instance.yaml
overcloud-source.yaml