diff --git a/collection-scripts/gather_services_status b/collection-scripts/gather_services_status index cae854f..7b3ad5d 100755 --- a/collection-scripts/gather_services_status +++ b/collection-scripts/gather_services_status @@ -28,6 +28,9 @@ get_status() { "cinder") get_cinder_status ;; + "heat") + get_heat_status + ;; *) ;; esac } @@ -77,6 +80,13 @@ get_cinder_status() { run_bg ${BASH_ALIASES[os]} volume backend pool list --long '>' "$CINDER_PATH"/pool_list } +# Heat service gathering - services +get_heat_status() { + local HEAT_PATH="$BASE_COLLECTION_PATH/ctlplane/heat" + mkdir -p "$HEAT_PATH" + ${BASH_ALIASES[os]} orchestration service list > "$HEAT_PATH"/service_list +} + # first we gather generic status of the openstack ctlplane # then we process the existing services (if an associated # function has been defined)