Azure CLI v2.77 is breaking ARO Cluster Creation
Environment
- Microsoft Azure Red Hat OpenShift (ARO)
Issue
- While creating ARO cluster using az cli v2.77, the installtion fails with below error:
ERROR: (NoRegisteredProviderFound) No registered resource provider found for location '<region>' and API version '2022-05-01-preview' for type 'permissions'. The supported api-versions are '2014-04-01-preview, 2014-07-01-preview, 2014-10-01-preview, 2015-05-01-preview, 2015-06-01, 2015-07-01, 2016-07-01, 2017-05-01, 2018-01-01-preview, 2018-07-01, 2022-04-01'. The supported locations are ''.
Resolution
- As a workaround, by downgrading the Azure CLI from v2.77 to v2.76, the ARO Cluster creation is possible.
Root Cause
- The issue is coming from upstream.
- Red Hat is already aware of the issue.
Diagnostic Steps
- Check your Azure CLI version before attempting the cluster creation:
$ az version
{
"azure-cli": "2.77.0",
"azure-cli-core": "2.77.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}
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