Vitrage: Capture service list

... so that we can verify status of daemon services by the command
outputs. This also adds coordination backend for vitrage because
service API requires it.

Depends-on: https://review.opendev.org/877294
Change-Id: I9db31734028a33c0cae212767e98f0ca410d2a8e
This commit is contained in:
Takashi Kajinami 2023-03-13 16:52:56 +09:00
parent be6f32b62a
commit cba9830941
2 changed files with 10 additions and 0 deletions

View File

@ -466,6 +466,13 @@ datastore list
EOC
fi
# vitrage resources
if [ -d $LOG_DIR/vitrage ]; then
openstack >> $LOG_DIR/openstack_resources/vitrage.txt <<-EOC
rca service list
EOC
fi
unset OS_CLOUD
unset OS_CLIENT_CONFIG_FILE

View File

@ -113,6 +113,9 @@ class openstack_integration::vitrage {
notifiers => ['nova'],
}
class { 'vitrage::persistor': }
class { 'vitrage::coordination':
backend_url => $::openstack_integration::config::tooz_url,
}
class { 'vitrage::client': }
}