Merge "Load Mistral workbooks from tripleo-common"

This commit is contained in:
Jenkins 2016-04-29 13:16:26 +00:00 committed by Gerrit Code Review
commit 5b10e60b13

View File

@ -98,6 +98,17 @@ nova quota-update --cores -1 --instances -1 --ram -1 $(openstack project show ad
# instack-prepare-for-overcloud
rm -rf $HOME/.novaclient
# load workflows
for workbook in $(mistral workbook-list | grep tripleo | cut -f 2 -d ' '); do
mistral workbook-delete $workbook
done
for workflow in $(mistral workflow-list | grep tripleo | cut -f 2 -d ' '); do
mistral workflow-delete $workflow
done
for workbook in $(ls /usr/share/tripleo-common/workflows/*); do
mistral workbook-create $workbook
done
# restart openstack-nova-compute
# When installing via puppet, nova-compute fails the first time because the
# ironic user does not yet exist. Now that the user has been created via