Bug 1898172
Summary: | installer missing permission definitions for TagResources and UntagResources when installing in existing VPC | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Patrick Dillon <padillon> |
Component: | Installer | Assignee: | Patrick Dillon <padillon> |
Installer sub component: | openshift-installer | QA Contact: | Yunfei Jiang <yunjiang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | bleanhar |
Version: | 4.6 | ||
Target Milestone: | --- | ||
Target Release: | 4.6.z | ||
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: | 2020-12-21 13:23:55 UTC | Type: | --- |
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: | 1888464 | ||
Bug Blocks: |
Description
Patrick Dillon
2020-11-16 15:18:59 UTC
verified. PASS. version: 4.6.0-0.nightly-2020-12-16-201440 >> Test 1: 1. create IAM user with following policy: { "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Deny", "Action": [ "tag:UntagResources" ], "Resource": "*" }, { "Effect": "Allow", "Action": "*", "Resource": "*" } ] } 2. Using above new IAM user by default, create cluster: INFO Credentials loaded from the "denyuntag" profile in file "/home/cloud-user/.aws/credentials" INFO Consuming Install Config from target directory WARNING Action not allowed with tested creds action="tag:UnTagResources" WARNING Tested creds not able to perform all requested actions FATAL 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 >> Test 2: 1. create IAM user with following policy: { "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Deny", "Action": [ "tag:TagResources" ], "Resource": "*" }, { "Effect": "Allow", "Action": "*", "Resource": "*" } ] } 2. Using above new IAM user by default, create cluster: INFO Credentials loaded from the "denytag" profile in file "/home/cloud-user/.aws/credentials" INFO Consuming Install Config from target directory WARNING Action not allowed with tested creds action="tag:TagResources" WARNING Tested creds not able to perform all requested actions FATAL 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 (Important: OpenShift Container Platform 4.6.9 security and bug fix 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-2020:5614 |