Bug 1938131
Summary: | [AWS] Missing iam:ListAttachedRolePolicies permission in permissions.go | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yunfei Jiang <yunjiang> |
Component: | Installer | Assignee: | Russell Teague <rteague> |
Installer sub component: | openshift-installer | QA Contact: | Yunfei Jiang <yunjiang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | mstaeble, rteague |
Version: | 4.8 | ||
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: iam:ListAttachedRolePolicies missing from openshift-install permissions
Consequence: Cluster destroy fails when deleting IAM role
Fix: Add iam:ListAttachedRolePolicies to openshift-install permissions
Result: Cluster destroy completes successfully
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-27 22:53:17 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: | 1947216 |
Description
Yunfei Jiang
2021-03-12 09:02:56 UTC
Russell, installer will not do permission check when running `destroy cluster`, right? (In reply to Yunfei Jiang from comment #3) > Russell, installer will not do permission check when running `destroy > cluster`, right? That is correct. verified. PASS. OCP version: 4.8.0-0.nightly-2021-04-08-043959 Remove iam:ListAttachedRolePolicies permission from IAM user, and then try to create cluster: time="2021-04-08T04:45:40-04:00" level=info msg="Credentials loaded from the \"denylistattachedrole\" profile in file \"/home/cloud-user/.aws/credentials\"" ... time="2021-04-08T04:45:45-04:00" level=fatal msg="failed to fetch Cluster: failed to fetch dependency of \"Cluster\": failed to generate asset \"Platform Permissions Check\": validate AWS credentials: current credentials insufficient for performing cluster installation" 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 |