diff --git a/copy_logs.sh b/copy_logs.sh index 3ba96964f..772eb40b1 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -355,6 +355,13 @@ server list --all --long EOC fi +# placement resources +if [ -d $LOG_DIR/placement ]; then + openstack >> $LOG_DIR/openstack_resources/placement.txt <<-EOC +resource provider list +EOC +fi + # cinder resources if [ -d $LOG_DIR/cinder ]; then openstack >> $LOG_DIR/openstack_resources/cinder.txt <<-EOC @@ -387,6 +394,63 @@ subnet show public-subnet EOC fi +# designate resources +if [ -d $LOG_DIR/designate ]; then + openstack >> $LOG_DIR/openstack_resources/designate.txt <<-EOC +dns service list +EOC +fi + +# heat resources +if [ -d $LOG_DIR/heat ]; then + openstack >> $LOG_DIR/openstack_resources/heat.txt <<-EOC +orchestration service list +EOC +fi + +# ironic resources +if [ -d $LOG_DIR/ironic ]; then + openstack >> $LOG_DIR/openstack_resources/ironic.txt <<-EOC +baremetal driver list --long +EOC +fi + +# magnum resources +if [ -d $LOG_DIR/magnum ]; then + openstack >> $LOG_DIR/openstack_resources/magnum.txt <<-EOC +coe service list +EOC +fi + +# manila resources +if [ -d $LOG_DIR/manila ]; then + openstack >> $LOG_DIR/openstack_resources/manila.txt <<-EOC +share service list +share type list --all +EOC +fi + +# mistral resources +if [ -d $LOG_DIR/mistral ]; then + openstack >> $LOG_DIR/openstack_resources/mistral.txt <<-EOC +workflow engine service list +EOC +fi + +# octavia resources +if [ -d $LOG_DIR/octavia ]; then + openstack >> $LOG_DIR/openstack_resources/octavia.txt <<-EOC +loadbalancer provider list +EOC +fi + +# trove resources +if [ -d $LOG_DIR/trove ]; then + openstack >> $LOG_DIR/openstack_resources/trove.txt <<-EOC +datastore list +EOC +fi + unset OS_CLOUD unset OS_CLIENT_CONFIG_FILE diff --git a/manifests/placement.pp b/manifests/placement.pp index d0d07a081..4220647d2 100644 --- a/manifests/placement.pp +++ b/manifests/placement.pp @@ -15,6 +15,7 @@ class openstack_integration::placement { Exec['update-ca-certificates'] ~> Service['httpd'] } + include placement::client class { 'placement::db::mysql': charset => $::openstack_integration::params::mysql_charset, collate => $::openstack_integration::params::mysql_collate,