Error "Hosted control plane managed policies are not supported in this environment" when creating operator-roles for ROSA HCP cluster
Environment
- Red Hat OpenShift Service on AWS Hosted Control Planes (ROSA HCP)
- 4
rosaCLI 1.2.24
Issue
-
The following error is shown when trying to create the
operator-rolesas per the ROSA HCP documentation:E: Hosted control plane managed policies are not supported in this environment
Resolution
This issue is fixed starting on rosa CLI version: 1.2.26.
Root Cause
There is a bug in rosa CLI 1.2.24 preventing the creation of the operator-roles following the ROSA HCP documentation.
Diagnostic Steps
Try to create the operator-roles as per the ROSA HCP documentation:
$ rosa create operator-roles --hosted-cp --prefix [prefix-name] --oidc-config-id [oidc-config-id]
[...]
E: Hosted control plane managed policies are not supported in this environment
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