File tree Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,15 @@ sh-4.2# etcdctl member list -w table
144
144
+
145
145
You can now exit the node shell.
146
146
147
+ . Turn off the quorum guard by entering the following command:
148
+ +
149
+ [source,terminal]
150
+ ----
151
+ $ oc patch etcd/cluster -- type=merge -p '{"spec": {"unsupportedConfigOverrides": {"useUnsupportedUnsafeNonHANonProductionUnstableEtcd": true}}}'
152
+ ----
153
+ +
154
+ This command ensures that you can successfully re-create secrets and roll out the static pods.
155
+
147
156
. Remove the old secrets for the unhealthy etcd member that was removed.
148
157
149
158
.. List the secrets for the unhealthy etcd member that was removed.
@@ -199,6 +208,20 @@ $ oc patch etcd cluster -p='{"spec": {"forceRedeploymentReason": "single-master-
199
208
+
200
209
When the etcd cluster Operator performs a redeployment, it ensures that all control plane nodes have a functioning etcd pod.
201
210
211
+ . Turn the quorum guard back on by entering the following command:
212
+ +
213
+ [source,terminal]
214
+ ----
215
+ $ oc patch etcd/cluster -- type=merge -p '\{"spec": {"unsupportedConfigOverrides": null}}
216
+ ----
217
+
218
+ . You can verify that the `unsupportedConfigOverrides` section is removed from the object by entering this command:
219
+ +
220
+ [source,terminal]
221
+ ----
222
+ $ oc get etcd/cluster -oyaml
223
+ ----
224
+
202
225
.Verification
203
226
204
227
* Verify that the new member is available and healthy.
Original file line number Diff line number Diff line change @@ -115,6 +115,15 @@ You can now exit the node shell.
115
115
After you remove the member, the cluster might be unreachable for a short time while the remaining etcd instances reboot.
116
116
====
117
117
118
+ . Turn off the quorum guard by entering the following command:
119
+ +
120
+ [source,terminal]
121
+ ----
122
+ $ oc patch etcd/cluster -- type=merge -p '{"spec": {"unsupportedConfigOverrides": {"useUnsupportedUnsafeNonHANonProductionUnstableEtcd": true}}}'
123
+ ----
124
+ +
125
+ This command ensures that you can successfully re-create secrets and roll out the static pods.
126
+
118
127
. Remove the old secrets for the unhealthy etcd member that was removed by running the following commands.
119
128
120
129
.. List the secrets for the unhealthy etcd member that was removed.
@@ -531,6 +540,20 @@ openshift-compute-0 Ready worker 3h58m v1.25.0
531
540
openshift-compute-1 Ready worker 3h58m v1.25.0
532
541
----
533
542
543
+ . Turn the quorum guard back on by entering the following command:
544
+ +
545
+ [source,terminal]
546
+ ----
547
+ $ oc patch etcd/cluster -- type=merge -p '\{"spec": {"unsupportedConfigOverrides": null}}
548
+ ----
549
+
550
+ . You can verify that the `unsupportedConfigOverrides` section is removed from the object by entering this command:
551
+ +
552
+ [source,terminal]
553
+ ----
554
+ $ oc get etcd/cluster -oyaml
555
+ ----
556
+
534
557
.Verification
535
558
536
559
. Verify that all etcd pods are running properly.
Original file line number Diff line number Diff line change @@ -114,6 +114,15 @@ You can now exit the node shell.
114
114
After you remove the member, the cluster might be unreachable for a short time while the remaining etcd instances reboot.
115
115
====
116
116
117
+ . Turn off the quorum guard by entering the following command:
118
+ +
119
+ [source,terminal]
120
+ ----
121
+ $ oc patch etcd/cluster -- type=merge -p '{"spec": {"unsupportedConfigOverrides": {"useUnsupportedUnsafeNonHANonProductionUnstableEtcd": true}}}'
122
+ ----
123
+ +
124
+ This command ensures that you can successfully re-create secrets and roll out the static pods.
125
+
117
126
. Remove the old secrets for the unhealthy etcd member that was removed.
118
127
119
128
.. List the secrets for the unhealthy etcd member that was removed.
@@ -307,6 +316,20 @@ clustername-8qw5l-worker-us-east-1c-pkg26 Running m4.large us-east-1
307
316
+
308
317
It might take a few minutes for the new machine to be created. The etcd cluster Operator will automatically sync when the machine or node returns to a healthy state.
309
318
319
+ . Turn the quorum guard back on by entering the following command:
320
+ +
321
+ [source,terminal]
322
+ ----
323
+ $ oc patch etcd/cluster -- type=merge -p '\{"spec": {"unsupportedConfigOverrides": null}}
324
+ ----
325
+
326
+ . You can verify that the `unsupportedConfigOverrides` section is removed from the object by entering this command:
327
+ +
328
+ [source,terminal]
329
+ ----
330
+ $ oc get etcd/cluster -oyaml
331
+ ----
332
+
310
333
.Verification
311
334
312
335
. Verify that all etcd pods are running properly.
You can’t perform that action at this time.
0 commit comments