RHOAM installation using rosa CLI fails

Solution Unverified - Updated -

Environment

  • Red Hat OpenShift Service on AWS (ROSA)
    • 4
  • Red Hat Openshift API Management (RHOAM)
  • rosa CLI

Issue

  • Trying to install RHOAM with the rosa CLI following the documentation fails 2 times trying to add different operator roles to the ROSA cluster:

    E: Failed to add operator role to cluster 'cluster_name': Failed to verify operator role for cluster 'cluster_id'
    

Resolution

Red Hat is aware of this issue and an internal task (SDA-8201) has been created to track it.

Workaround

The installation fails two times trying to add different operator roles to the ROSA cluster. The third time, the installation finished.

Root Cause

This issue is currently being investigated.

Diagnostic Steps

Try the installation using the rosa CLI the first time:

$ rosa install addon -c [cluster_name] managed-api-service -y --addon-resource-required true --rosa-cli-required true --billing-model standard
W: Addon 'managed-api-service' needs access to resources in account '111111111111'
I: Created role '[cluster_name]-x1l2-redhat-rhoam-cloud-resources-operator-sts-cred' with ARN 'arn:aws:iam::111111111111:role/[cluster_name]-x1l2-redhat-rhoam-cloud-resources-operator-sts-cred'
E: Failed to add operator role to cluster '[cluster_name]': Failed to verify operator role for cluster 'cluster_id' 

Try the installation using the rosa CLI again:

$ rosa install addon -c [cluster_name] managed-api-service -y --addon-resource-required true --rosa-cli-required true --billing-model standard
W: Addon 'managed-api-service' needs access to resources in account '111111111111'
I: Created role '[cluster_name]-x1l2-redhat-rhoam-3scale-sts-s3-credentials' with ARN 'arn:aws:iam::111111111111:role/[cluster_name]-x1l2-redhat-rhoam-3scale-sts-s3-credentials'
E: Failed to add operator role to cluster '[cluster_name]': Failed to verify operator role for cluster 'cluster_id'

The third execution of the installation will succeed.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments