Remove todo as mistral tag filtering is fixed
Fixed tag filtering in mistral so it is safe to remove the workaround to delete workflows Change-Id: I543c58047fa2113fa2d39e7f06d3697e9cedee11 Depends-On: Ie082901fd7eb8b61a6306da1275a79aeb6c4a6de
This commit is contained in:
parent
70700644b0
commit
af8f06b07e
@ -113,16 +113,9 @@ if [ "$(hiera mistral_api_enabled)" = "true" ]; then
|
|||||||
if openstack cron trigger show publish-ui-logs-hourly >/dev/null 2>&1; then
|
if openstack cron trigger show publish-ui-logs-hourly >/dev/null 2>&1; then
|
||||||
openstack cron trigger delete publish-ui-logs-hourly
|
openstack cron trigger delete publish-ui-logs-hourly
|
||||||
fi
|
fi
|
||||||
#TODO In the future we should be able to run something like
|
|
||||||
# openstack workflow list --filter=tag=tripleo-common-managed
|
openstack workflow delete $(openstack workflow list -c Name -f value --filter tags=tripleo-common-managed) || true;
|
||||||
# but right now this is broken in Mistral, so we'll fix later.
|
|
||||||
for workflow in $(openstack workflow list -c Name -c Tags | grep tripleo-common-managed); do
|
|
||||||
NAME=$(echo ${workflow} | awk '{print $2}')
|
|
||||||
TAG=$(echo ${workflow} | awk '{print $4}')
|
|
||||||
if echo $TAG | grep -q tripleo-common-managed; then
|
|
||||||
openstack workflow delete $NAME
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
for workbook in $(ls /usr/share/openstack-tripleo-common/workbooks/*); do
|
for workbook in $(ls /usr/share/openstack-tripleo-common/workbooks/*); do
|
||||||
openstack workbook create $workbook
|
openstack workbook create $workbook
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user