Bug 1986560
| Summary: | etcd-operator needs to handle API server downtime gracefully in SNO | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Naga Ravi Chaitanya Elluri <nelluri> |
| Component: | Etcd | Assignee: | Sam Batschelet <sbatsche> |
| Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.9 | CC: | nelluri, skundu |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | chaos | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:42:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1984730 | ||
|
Description
Naga Ravi Chaitanya Elluri
2021-07-27 18:59:30 UTC
The attached PR bumps library go which adjusts the default[1]. [1] https://github.com/openshift/library-go/pull/1104
Verification steps followed :
1. Installed SNO cluster with 4.9.0-0.ci-2021-08-22-162505.
2. Triggered kube-apiserver rollout using : oc patch kubeapiserver/cluster --type merge -p '{"spec":{"forceRedeploymentReason":"ITERATIONX"}}' ..... (with X=3)
3. no restart/crashloopError of etcd-operator was observed.
Please find the test logs :
[skundu@skundu ~]$ oc patch kubeapiserver/cluster --type merge -p '{"spec":{"forceRedeploymentReason":"ITERATION2"}}'
kubeapiserver.operator.openshift.io/cluster patched
After 2 mins check
[skundu@skundu ~]$ oc get co
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
etcd 4.9.0-0.nightly-2021-08-22-070405 True False False 78m
kube-apiserver 4.9.0-0.nightly-2021-08-22-070405 True False False 74m
kube-controller-manager 4.9.0-0.nightly-2021-08-22-070405 True False False 78m
kube-scheduler 4.9.0-0.nightly-2021-08-22-070405 True False False 77m
kube-storage-version-migrator 4.9.0-0.nightly-2021-08-22-070405 True False False 80m
openshift-apiserver 4.9.0-0.nightly-2021-08-22-070405 True False False 70m
openshift-controller-manager 4.9.0-0.nightly-2021-08-22-070405 True False False 79m
openshift-samples 4.9.0-0.nightly-2021-08-22-070405 True False False 71m
[skundu@skundu ~]$ oc project openshift-etcd-operator
Now using project "openshift-etcd-operator" on server "https://api.skundu-at.qe.devcluster.openshift.com:6443".
[skundu@skundu ~]$ oc get pods
NAME READY STATUS RESTARTS AGE
etcd-operator-7578997597-6bdhm 1/1 Running 1 (81m ago) 101m
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |