diff --git a/collection-scripts/gather_services_status b/collection-scripts/gather_services_status index b94e8a5..85454cf 100755 --- a/collection-scripts/gather_services_status +++ b/collection-scripts/gather_services_status @@ -50,6 +50,9 @@ get_status() { "octavia") get_octavia_status ;; + "glance") + get_glance_status + ;; *) ;; esac } @@ -180,6 +183,13 @@ get_octavia_status() { run_bg ${BASH_ALIASES[os]} loadbalancer provider list '>' "$OCTAVIA_PATH"/provider_list } +# Glance service gathering - task +get_glance_status() { + local GLANCE_PATH="$BASE_COLLECTION_PATH/ctlplane/glance" + mkdir -p "$GLANCE_PATH" + run_bg ${BASH_ALIASES[os]} image task list '>' "$GLANCE_PATH"/task_list +} + # first we gather generic status of the openstack ctlplane # then we process the existing services (if an associated # function has been defined)