File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ while read -r node_name services; do
131131done <<< $openstackdataplanenodesets
132132
133133DATAPLANE_DEPLOYMENT=edpm
134- NODE_SETS =$( printf ' %s\n' " ${nodes_with_ovn[@]} " )
134+ OVN_NODE_SETS =$( printf ' %s\n' " ${nodes_with_ovn[@]} " )
135135
136136cat << EOF >edpm-deployment-ovn-update.yaml
137137apiVersion: dataplane.openstack.org/v1beta1
@@ -140,7 +140,7 @@ metadata:
140140 name: $DATAPLANE_DEPLOYMENT -ovn-update
141141spec:
142142 nodeSets:
143- $NODE_SETS
143+ $OVN_NODE_SETS
144144 servicesOverride:
145145 - ovn
146146EOF
@@ -161,14 +161,16 @@ echo "MinorUpdateControlplane completed"
161161get_current_state " 04_after_controlplane_update"
162162
163163# start data plane plane update for rest of edpm services
164+ DATAPLANE_NODESETS=$( oc get openstackdataplanenodeset -o name | awk -F' /' ' {print " - " $2}' )
165+
164166cat << EOF >edpm-deployment-update.yaml
165167apiVersion: dataplane.openstack.org/v1beta1
166168kind: OpenStackDataPlaneDeployment
167169metadata:
168170 name: $DATAPLANE_DEPLOYMENT -update
169171spec:
170172 nodeSets:
171- $NODE_SETS
173+ $DATAPLANE_NODESETS
172174 servicesOverride:
173175 - update
174176EOF
You can’t perform that action at this time.
0 commit comments