Add strict dependencies to the undercloud template
authorNicholas Randon <nicholas.randon@hp.com>
Thu, 14 Aug 2014 10:40:29 +0000 (11:40 +0100)
committerNicholas Randon <nicholas.randon@hp.com>
Thu, 14 Aug 2014 13:27:41 +0000 (14:27 +0100)
commitde1ea55597b22bfbd8ba51b801a52c43cbd04555
tree91ad826dc006aabb77f642a5c4c0845f43cdef86
parentf797a2eadd656591273456664186fb3e8ad26804
Add strict dependencies to the undercloud template

Currently there is very weak ordering of StructuredDeployments during
heat stack creation on the undercloud. 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:
   undercloudIronicDeployment (if used)
   undercloudNovaDeployment
   undercloudPassthroughDeployment
   undercloudDeployment

Note: The reference numbering for the undercloud has been removed.
Change-Id: I98499dd54bb907d29cf355fe83b5c285a7375e97
undercloud-bm-nova-deploy.yaml
undercloud-source.yaml
undercloud-vm-ironic-deploy.yaml
undercloud-vm-nova-deploy.yaml