Bug 1954972
| Summary: | TechPreviewNoUpgrade featureset can be undone | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Qin Ping <piqin> |
| Component: | kube-apiserver | Assignee: | Stefan Schimanski <sttts> |
| Status: | CLOSED ERRATA | QA Contact: | Ke Wang <kewang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.8 | CC: | aos-bugs, mfojtik, sttts, xxia |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:04:50 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: | |||
|
Description
Qin Ping
2021-04-29 07:49:58 UTC
Hi Stefan,
Could you explain more why it's not a bug?
We have 2 features might about this. One is CSI Migration, when the featureset is enabled and the featuregate.spec is set to {}, then the CSI Migration feature is not in the correct status. Another is Azure Disk CSI Driver, when the featureset is enabled and the featuregate.spec is set to {}, CSO(Cluster Storage Operator) will no unavailable. For the second one we tracked with bug: https://bugzilla.redhat.com/show_bug.cgi?id=1952826
@Qin: you were absolute right. It's a bug and the fix was simple. Stefan, thanks for checking again. $ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.8.0-0.nightly-2021-04-30-201824 True False 5h28m Cluster version is 4.8.0-0.nightly-2021-04-30-201824
Ran the cmd to enable some featuregates: oc patch featuregate cluster -p '{"spec": {"featureSet": "TechPreviewNoUpgrade"}}' --type merge
After the kube-controller-manager, kube-apiserver, kube-scheduler COs and kubelet restarted with the exepected feature gates, tried to undone this operation, ran the "oc edit featuregate cluster" cmd, then set the spec={},
$ oc edit featuregate cluster
error: featuregates.config.openshift.io "cluster" is invalid
A copy of your changes has been stored to "/tmp/oc-edit-l4me0.yaml"
error: Edit cancelled, no valid changes were saved.
$ oc patch featuregate cluster -p '{"spec": {}}' --type merge
featuregate.config.openshift.io/cluster patched
$ oc get featuregate cluster -o yaml | grep -A1 ^spec
spec:
featureSet: TechPreviewNoUpgrade
No changes after applied the patch, the `TechPreviewNoUpgrade` featureset cannot be undone and checked the kube-controller-manager, kube-apiserver, kube-scheduler COs and kubelet didn't restart, so move the bug VERIFIED.
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.8.2 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:2438 |