Skip to content

Commit

Permalink
Merge pull request #75 from rajathere/main
Browse files Browse the repository at this point in the history
Gather glance task information
  • Loading branch information
openshift-merge-bot[bot] authored Aug 22, 2024
2 parents f7744c2 + bc43dcd commit 0d1cda6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions collection-scripts/gather_services_status
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ get_status() {
"octavia")
get_octavia_status
;;
"glance")
get_glance_status
;;
*) ;;
esac
}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0d1cda6

Please sign in to comment.