CI: collect keystone information

Change-Id: Icaff9cb99990e499565a4401f206a15650cefaf1
This commit is contained in:
Dmitry Tantsur 2021-08-26 14:06:18 +02:00
parent ffaf7a3baa
commit d4ddc05399

View File

@ -89,6 +89,14 @@ for vm in $(baremetal node list -c Name -f value); do
baremetal node show $vm >> ${LOG_LOCATION}/baremetal.txt
done
# Copy keystone information
if which openstack; then
source $HOME/openrc bifrost-admin
openstack service list --long > ${LOG_LOCATION}/keystone-services.txt
openstack endpoint list >> ${LOG_LOCATION}/keystone-services.txt
openstack user list --long > ${LOG_LOCATION}/keystone-users.txt
fi
sudo cp -a "/var/log/ironic/deploy" ${LOG_LOCATION}/deploy-ramdisk
sudo cp -a "/var/log/ironic-inspector/ramdisk" ${LOG_LOCATION}/inspection-ramdisk