Currently no default plan is created during a container-based undercloud
deployment.
This patch creates a default deployment plan if both of two conditions
apply:
- The /usr/share/openstack-tripleo-heat-templates directory exists
(We need the templates to create the plan)
- There is no container named `overcloud` in swift yet
(If a deployment is run more than once we don't want to recreate
the default plan)
Closes-Bug: #1798590
Change-Id: Id03631432b1fedd75ee3ddba67bfe7d5d6049a07
(cherry picked from commit 44b1f514191c949f3534463441b50932e2a89709)
Reviewed: https:/ /review. openstack. org/615121 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=c607f6c5de2 4742a8ec71378d2 c3786485515098
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit c607f6c5de24742 a8ec71378d2c378 6485515098
Author: Florian Fuchs <email address hidden>
Date: Wed Oct 17 14:15:15 2018 +0200
Create default deployment plan
Currently no default plan is created during a container-based undercloud
deployment.
This patch creates a default deployment plan if both of two conditions openstack- tripleo- heat-templates directory exists
apply:
- The /usr/share/
(We need the templates to create the plan)
- There is no container named `overcloud` in swift yet
(If a deployment is run more than once we don't want to recreate
the default plan)
Closes-Bug: #1798590
Change-Id: Id03631432b1fed d75ee3ddba67bfe 7d5d6049a07 f3534463441b509 32e2a89709)
(cherry picked from commit 44b1f514191c949