Skip to content

Commit

Permalink
Fix order of Openstack post-deploy actions
Browse files Browse the repository at this point in the history
Need to unseal vault before configure script it run.
  • Loading branch information
dosaboy committed Dec 16, 2024
1 parent 9380901 commit 992af7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions openstack/pipeline/00setup
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ export -a MOD_PASSTHROUGH_OPTS=()
# Collection of messages to display at the end
export -A MOD_MSGS=()
# Use order 0 to ensure this is first displayed
MOD_MSGS[0_common.0]="run ./configure to initialise your deployment"
MOD_MSGS[0_common.1]="source novarc"
MOD_MSGS[0_common.2]="add rules to default security group: ./tools/sec_groups.sh"
# NOTE: start at offset 10 to allow for actions to be added before.
MOD_MSGS[0_common.10]="run ./configure to initialise your deployment"
MOD_MSGS[0_common.11]="source novarc"
MOD_MSGS[0_common.12]="add rules to default security group: ./tools/sec_groups.sh"

# Array list of overlays to use with this deployment.
export -a MOD_OVERLAYS=()
Expand Down
2 changes: 1 addition & 1 deletion openstack/pipeline/02configure
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ do
done
fi
has_opt --ceph && MOD_OVERLAYS+=( "ceph/vault-ceph.yaml" )
MOD_MSGS[vault.0]="run ./tools/vault-unseal-and-authorise.sh"
MOD_MSGS[0_common.0]="run ./tools/vault-unseal-and-authorise.sh"
;;
--etcd-channel) #__OPT__type:<str>
MOD_PARAMS[__ETCD_SNAP_CHANNEL__]=$2
Expand Down

0 comments on commit 992af7f

Please sign in to comment.