azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

After update cannot create ManagedClusters with azure-cli local or cloudshell in GovRegions.

Open Mikej81 opened this issue 4 years ago • 4 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks create

Errors:

No registered resource provider found for location 'usgovarizona' and API version '2021-02-01' for type 'managedClusters'. The supported api-versions are '2017-08-31, 2018-03-31, 2019-02-01, 2019-04-01, 2019-06-01, 2019-08-01, 2019-10-01, 2019-11-01, 2020-01-01, 2020-02-01, 2020-03-01, 2020-04-01, 2020-06-01, 2020-07-01, 2020-09-01, 2020-11-01, 2020-12-01'. The supported locations are 'usgovvirginia, usgovarizona, usgovtexas'.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az aks create --resource-group {} --name {} --node-count {} --node-vm-size {} --enable-addons {} --generate-ssh-keys

Expected Behavior

Before the update, ManagedCluster was created successfully. After the update, get the documented error.

Environment Summary

Linux-4.15.0-1110-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.21.0

Extensions:
ai-examples 0.2.5
ssh 0.1.4

Additional Context

Local system is OSX Catalina, attempting to downgrade azure-cli version with homebrew extract but unsuccessful so far.

Mikej81 avatar Mar 24 '21 16:03 Mikej81

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

Issue Details

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks create

Errors:

No registered resource provider found for location 'usgovarizona' and API version '2021-02-01' for type 'managedClusters'. The supported api-versions are '2017-08-31, 2018-03-31, 2019-02-01, 2019-04-01, 2019-06-01, 2019-08-01, 2019-10-01, 2019-11-01, 2020-01-01, 2020-02-01, 2020-03-01, 2020-04-01, 2020-06-01, 2020-07-01, 2020-09-01, 2020-11-01, 2020-12-01'. The supported locations are 'usgovvirginia, usgovarizona, usgovtexas'.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az aks create --resource-group {} --name {} --node-count {} --node-vm-size {} --enable-addons {} --generate-ssh-keys

Expected Behavior

Before the update, ManagedCluster was created successfully. After the update, get the documented error.

Environment Summary

Linux-4.15.0-1110-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.21.0

Extensions:
ai-examples 0.2.5
ssh 0.1.4

Additional Context

Local system is OSX Catalina, attempting to downgrade azure-cli version with homebrew extract but unsuccessful so far.

Author: Mikej81
Assignees: -
Labels:

AKS, Service Attention, needs-triage, question

Milestone: -

ghost avatar Mar 25 '21 01:03 ghost

route to appropriate team

yungezz avatar Mar 25 '21 01:03 yungezz

We updated to latest Azure CLI and all AKS functions in GovCloud are failing. Same error:

No registered resource provider found for location 'usgovvirginia' and API version '2021-02-01' for type 'managedClusters'.

vsabella avatar Mar 26 '21 03:03 vsabella

@Mikej81 @vsabella Checking on this issue. Sorry this never got a meaningful response. Is this issue still occurring for you?

mbifeld avatar Dec 11 '25 19:12 mbifeld