Replace mistral command with OpenStack CLI

Change-Id: I8008d5255f7e4617d10ef51d9c020843ceaa1754
This commit is contained in:
Juan Antonio Osorio Robles 2017-04-21 14:23:04 +03:00
parent 7631f1d3bb
commit 0d6e728325
1 changed files with 5 additions and 5 deletions

View File

@ -91,14 +91,14 @@ openstack quota set --cores -1 --instances -1 --ram -1 $(openstack project show
rm -rf $HOME/.novaclient
# load workflows
for workbook in $(mistral workbook-list | grep tripleo | cut -f 2 -d ' '); do
mistral workbook-delete $workbook
for workbook in $(openstack workbook list -f value -c Name | grep tripleo); do
openstack workbook delete $workbook
done
for workflow in $(mistral workflow-list | grep tripleo | cut -f 2 -d ' '); do
mistral workflow-delete $workflow
for workflow in $(openstack workflow list -f value -c Name | grep tripleo); do
openstack workflow delete $workflow
done
for workbook in $(ls /usr/share/openstack-tripleo-common/workbooks/*); do
mistral workbook-create $workbook
openstack workbook create $workbook
done
# IP forwarding is needed to allow the overcloud nodes access to the outside