diff --git a/elements/undercloud-post-config/os-refresh-config/post-configure.d/98-undercloud-setup b/elements/undercloud-post-config/os-refresh-config/post-configure.d/98-undercloud-setup index bcb97e9c8..0e799da68 100755 --- a/elements/undercloud-post-config/os-refresh-config/post-configure.d/98-undercloud-setup +++ b/elements/undercloud-post-config/os-refresh-config/post-configure.d/98-undercloud-setup @@ -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