Skip to content

Commit

Permalink
Add Heat collection function (#20)
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <[email protected]>
  • Loading branch information
bshephar authored Nov 26, 2023
1 parent c29c9fb commit 2353892
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 @@ -28,6 +28,9 @@ get_status() {
"cinder")
get_cinder_status
;;
"heat")
get_heat_status
;;
*) ;;
esac
}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2353892

Please sign in to comment.