Bug 2079844
| Summary: | EFS cluster csi driver status stuck in AWSEFSDriverCredentialsRequestControllerProgressing with sts installation | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Meng Bo <bmeng> | |
| Component: | Storage | Assignee: | Hemant Kumar <hekumar> | |
| Storage sub component: | Kubernetes | QA Contact: | Rohit Patil <ropatil> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | high | |||
| Priority: | medium | CC: | aos-bugs, jdobson, mbargenq, ropatil, travi, wduan | |
| Version: | 4.10 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.11.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2095253 (view as bug list) | Environment: | ||
| Last Closed: | 2022-08-10 11:09:21 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: | 2095253 | |||
|
Description
Meng Bo
2022-04-28 11:16:57 UTC
Well the efs operator should not create or sync CredentialRequest at all when CloudCredential is in Manual code (which it is, in STS mode) - so I am fixing this via https://github.com/openshift/library-go/pull/1363 Once that merges, I will backport it to EFS operator. Are you saying that, there are two different CredentialRequests created in your case? (one subtly different from another). Again - seems like a bug in how CredentialRequest should not be synced in manual mode. > Why the policy with https://github.com/openshift/aws-efs-csi-driver/blob/master/docs/iam-policy-example.json could work, but create it with below does not - action: - elasticfilesystem:* effect: Allow resource: '*' Not sure. let me verify. In STS mode user is responsible for creating and granting necessary permissions and yes obviously I expect the results to vary from profile to profile. It looks like with one profile we did not had enough permissions but with other one we did. So I am not sure why this BZ "FailedQA". This bug was not about fixing permissions associated with driver or operator anyways. The thing to look for is - AWSEFSDriverCredentialsRequestControllerProgressing should not be stuck. 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 (Important: OpenShift Container Platform 4.11.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-2022:5069 |