Collect workflow lists and execution lists in host_info

This will be useful to understand which workflow has been executed
by service_workflow_tasks.

Change-Id: I96b0c1f7d9e24da53a560197c5db2c4504a6bcf2
This commit is contained in:
Giulio Fidente 2017-05-25 23:16:34 +02:00 committed by Gael Chamoulaud
parent d4eaa0961c
commit 8e059c001f

View File

@ -31,6 +31,8 @@ if [ -e /home/{{ undercloud_user }}/stackrc ] ; then
bash <<-EOF &>/var/log/postci.txt
source /home/{{ undercloud_user }}/stackrc
nova list
openstack workflow list
openstack workflow execution list
# If there's no overcloud then there's no point in continuing
heat stack-show overcloud || (echo 'No active overcloud found' && exit 0)
heat resource-list -n5 overcloud