Deploy placement before nova
With the placement db migrate job removed, we can now deploy placement ahead of nova. This fixes issues of several nova pods failing due to placement not being up before nova is. This change moves the placement service to deploy before nova in the compute-kit script. Depends-on: https://review.opendev.org/c/openstack/openstack-helm/+/860975 Change-Id: I62f82224e898761d5b388867c63a259967601d45
This commit is contained in:
parent
4c3bc3adaa
commit
3001bd2750
@ -22,6 +22,16 @@ if openstack service list -f value -c Type | grep -q "^volume" && \
|
||||
CEPH_ENABLED=true
|
||||
fi
|
||||
|
||||
# Get overrides
|
||||
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(./tools/deployment/common/get-values-overrides.sh placement)"}
|
||||
|
||||
# Lint and package
|
||||
make placement
|
||||
|
||||
# Deploy placement
|
||||
helm upgrade --install placement ./placement --namespace=openstack \
|
||||
${OSH_EXTRA_HELM_ARGS:=} ${OSH_EXTRA_HELM_ARGS_PLACEMENT}
|
||||
|
||||
#NOTE: Get the over-rides to use
|
||||
: ${OSH_EXTRA_HELM_ARGS_NOVA:="$(./tools/deployment/common/get-values-overrides.sh nova)"}
|
||||
|
||||
@ -50,16 +60,6 @@ else
|
||||
${OSH_EXTRA_HELM_ARGS_NOVA}
|
||||
fi
|
||||
|
||||
# Get overrides
|
||||
: ${OSH_EXTRA_HELM_ARGS_PLACEMENT:="$(./tools/deployment/common/get-values-overrides.sh placement)"}
|
||||
|
||||
# Lint and package
|
||||
make placement
|
||||
|
||||
# Deploy placement
|
||||
helm upgrade --install placement ./placement --namespace=openstack \
|
||||
${OSH_EXTRA_HELM_ARGS:=} ${OSH_EXTRA_HELM_ARGS_PLACEMENT}
|
||||
|
||||
#NOTE: Get the over-rides to use
|
||||
: ${OSH_EXTRA_HELM_ARGS_NEUTRON:="$(./tools/deployment/common/get-values-overrides.sh neutron)"}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user