Skip to content

Commit

Permalink
Add Heat collection function
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <[email protected]>
  • Loading branch information
bshephar committed Nov 23, 2023
1 parent d86ed1f commit 1f5fc2d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions collection-scripts/gather_services_status
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ get_status() {
"cinder")
get_cinder_status
;;
"heat")
get_heat_status
;;
*) ;;
esac
}
Expand Down Expand Up @@ -74,6 +77,14 @@ get_cinder_status() {
${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 1f5fc2d

Please sign in to comment.