Hide Forgot
Description of problem: Installer needs to add iam:GetUserPolicy as a tested credential, as this is needed by the cloud-credential-operator Version-Release number of the following components: openshift-install version openshift-install v0.13.0 How reproducible: 100% Steps to Reproduce: 1. Run the installer as a user that does not have the cred iam:GetUserPolicy Actual results: Installer fails and does not warn about creds time="2019-02-28T11:17:56-05:00" level=fatal msg="failed to initialize the cluster: Cluster operator openshift-cloud-credential-operator is reporting a failure: 4 of 4 credentials requests are failing to sync." cloud-credential-operator logs show the following error: time="2019-03-04T17:49:56Z" level=warning msg="Action not allowed with tested creds" action="iam:GetUserPolicy" controller=secretannotator Expected results: THe installer to warn about this cred. Additional info: https://github.com/openshift/installer/blob/release-4.0/pkg/asset/installconfig/aws/permissions.go#L14
https://github.com/openshift/installer/pull/1374 adds the check for iam:GetUserPolicy to the installer.
#1374 landed.
Verified with: ./openshift-install version ./openshift-install unreleased-master-542-g0e12f4527c25e9d1e2ddb31bea0ace0cb6d463ca-dirty WARNING Action not allowed with tested creds action="iam:GetUserPolicy" WARNING Tested creds not able to perform all requested actions WARNING Action not allowed with tested creds action="iam:GetUserPolicy" WARNING Tested creds not able to perform all requested actions FATAL failed to fetch Terraform Variables: failed to fetch dependency of "Terraform Variables": failed to fetch dependency of "Bootstrap Ignition Config": failed to fetch dependency of "Master Machines": failed to generate asset "Platform Credentials Check": validate AWS credentials: AWS credentials cannot be used to either create new creds or use as-is
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, 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/RHBA-2019:0758