Bug 2001761
Summary: | Unable to apply cluster operator storage for SNO on GCP platform. | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chao Yang <chaoyang> | |
Component: | Storage | Assignee: | Jan Safranek <jsafrane> | |
Storage sub component: | Storage | QA Contact: | Rohit Patil <ropatil> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | medium | |||
Priority: | unspecified | CC: | aos-bugs, jsafrane, ropatil, wduan | |
Version: | 4.9 | |||
Target Milestone: | --- | |||
Target Release: | 4.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2084219 (view as bug list) | Environment: | ||
Last Closed: | 2022-03-10 16:07:48 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: | 2084219 |
Description
Chao Yang
2021-09-07 06:50:12 UTC
It looks like the API server returned 'no matches for kind "Role" in version "rbac.authorization.k8s.io/v1"' when CSO / its RESTMapper was trying to get related objects. The error was cached by RESTMapper and when the API server got RBAC API, the call was not retried. I can't reproduce the issue, CSO needs to hit the right time when RBAC API is not registered at the API server yet. Experimental PR upstream: https://github.com/kubernetes/kubernetes/pull/104814 Test status: PASS Tested on build: 4.10.0-0.nightly-2021-11-21-005535 for below mentioned flexy templates: 1) aos-4_10/upi-on-gcp/versioned-installer-csidriver-sno-ci 2) aos-4_10/upi-on-gcp/versioned-installer-sno Result: Additional info: Created sc, pvc, pod and checked for Running status. 1) aos-4_10/upi-on-gcp/versioned-installer-csidriver-sno-ci https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-common/job/Flexy-install/54221/parameters/ versioned-installer-csidriver-sno-ci rohitpatil@ropatil-mac Downloads % oc get nodes NAME STATUS ROLES AGE VERSION ropatil22112021-dzqgn-master-0.c.openshift-qe.internal Ready master,worker 44m v1.22.1+35a59a5 rohitpatil@ropatil-mac Downloads % oc get co etcd storage NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE etcd 4.10.0-0.nightly-2021-11-21-005535 True False False 51m storage 4.10.0-0.nightly-2021-11-21-005535 True False False 52m rohitpatil@ropatil-mac Downloads % oc get sc,pvc,pod -n testgcp NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE storageclass.storage.k8s.io/ebs pd.csi.storage.gke.io Delete WaitForFirstConsumer false 75s storageclass.storage.k8s.io/standard kubernetes.io/gce-pd Delete WaitForFirstConsumer true 46m storageclass.storage.k8s.io/standard-csi (default) pd.csi.storage.gke.io Delete WaitForFirstConsumer true 45m NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE persistentvolumeclaim/mypvc-csi Bound pvc-76128e36-decd-4416-a0f4-7ef763b4e9f0 1Gi RWO ebs 58s NAME READY STATUS RESTARTS AGE pod/mydep-csi-57b5dd78b-kd9lc 1/1 Running 0 46s 2) aos-4_10/upi-on-gcp/versioned-installer-sno https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-common/job/Flexy-install/54222/parameters/ rohitpatil@ropatil-mac Downloads % oc get nodes NAME STATUS ROLES AGE VERSION ropatil2211-sno-457bw-master-0.c.openshift-qe.internal Ready master,worker 33m v1.22.1+35a59a5 rohitpatil@ropatil-mac Downloads % oc get co etcd storage NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE etcd 4.10.0-0.nightly-2021-11-21-005535 True False False 51m storage 4.10.0-0.nightly-2021-11-21-005535 True False False 52m rohitpatil@ropatil-mac Downloads % oc get sc,pvc,pod -n testgcp NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE storageclass.storage.k8s.io/ebs pd.csi.storage.gke.io Delete WaitForFirstConsumer false 2m39s storageclass.storage.k8s.io/standard (default) kubernetes.io/gce-pd Delete WaitForFirstConsumer true 39m storageclass.storage.k8s.io/standard-csi pd.csi.storage.gke.io Delete WaitForFirstConsumer true 39m NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE persistentvolumeclaim/mypvc-csi Bound pvc-d36f7ccb-d8a8-4e01-bbc5-c6d129acec7c 1Gi RWO ebs 106s NAME READY STATUS RESTARTS AGE pod/mydep-csi-57b5dd78b-gwskq 1/1 Running 0 47s 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.10.3 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-2022:0056 |