Azure / azure-cli

Azure Command-Line Interface
MIT License
3.97k stars 2.95k forks source link

Registering or Unregistering provider Microsoft.AVS #28349

Open soockee opened 7 months ago

soockee commented 7 months ago

Describe the bug

Trying to register "Microsoft.AVS" for my subscription via the portal but it gets stuck in registering and eventually gives this kind of message "Unregister' operation check timed out on Resource Provider 'microsoft.AVS', please refresh resource providers list to check for registration status".

Related command

az provider register --namespace Microsoft.AVS --verbose --wait

Errors

no error, but very slow (hours? days?)

Issue script & Debug output

az provider list --query "[?registrationState=='Unregistering']" -o table                                                                                         3s ☁ 
Namespace      RegistrationState    RegistrationPolicy
-------------  -------------------  --------------------
Microsoft.AVS  Unregistering        RegistrationRequired

Expected behavior

Provider should be registered in the subscription

Environment Summary

{
  "azure-cli": "2.57.0",
  "azure-cli-core": "2.57.0",
  "azure-cli-telemetry": "1.1.0",
  "extensions": {
    "azure-devops": "0.26.0"
  }
}

Additional context

Identical Symptoms to 28203, just different provider

yonzhan commented 7 months ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 7 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.

jodok commented 7 months ago

same here. stuck in registering state since 1-2 days

spaelling commented 7 months ago

same here but with Terraform. Not that it should make any difference.

Tried both with EA subscription and a PAYG. Registration never seems to finish.

PAYG done in portal which results in an error

'Register' operation check timed out on Resource Provider 'microsoft.avs', please refresh resource providers list to check for registration status

status is still registering.

soockee commented 7 months ago

@spaelling

same here but with Terraform. Not that it should make any difference.

A possible workaround if your code is not dependent on the functionality of this azure provider and you are using the azurerm terraform provider. This could provide value if you are working with playground envs or personal stuff:

provider "azurerm" {
  #  Azure infinitly tries to register a azure resource provider "Microsoft.AVS" 
  # Therefore skip registration 
  skip_provider_registration = true 
  features {}
  }
}
spaelling commented 7 months ago

@spaelling

same here but with Terraform. Not that it should make any difference.

A possible workaround if your code is not dependent on the functionality of this azure provider and you are using the azurerm terraform provider. This could provide value if you are working with playground envs or personal stuff:

provider "azurerm" {
  #  Azure infinitly tries to register a azure resource provider "Microsoft.AVS" 
  # Therefore skip registration 
  skip_provider_registration = true 
  features {}
  }
}

yes, i did that already. No clue why it registers that provider without needing it. I actually had to look up what it was :D

mortenjoenby commented 7 months ago

@spaelling , so what is this provider? Something with VMware on Azure - right? I find it difficult to find good documentation on the providers.

spaelling commented 7 months ago

@spaelling , so what is this provider? Something with VMware on Azure - right?

I find it difficult to find good documentation on the providers.

Yes, it's the VMWare provider. And the documentation on resource providers could be better or easier to find.

piankris commented 7 months ago

I have the same issue. The status is still at "Registering" even after 3 days...

gabrimonfa commented 7 months ago

Same here, cannot register, cannot unregister. This is annoying to say the least

mopopoola commented 7 months ago

I am having the same issue. I'm trying to register Microsoft.AVS resource provider and it gets stuck on registering. Tried many times since Feb 10 and today is Feb 12. Getting error message 'register' operation check timed out on Resource provider 'microsoft.avs'. please refresh resource providers list to check for registration status.

jasonkind commented 7 months ago

I'm having the same issue trying to register Microsoft.Storage. It was stuck in the Registering state so I tried to unregister it. Now it's stuck in the Unregistering state. Has anyone figured out a resolution?

piankris commented 7 months ago

I have the same issue. The status is still at "Registering" even after 3 days...

It now shows as registered for me but a week later. The provider Microsoft.ResourceNotifications that I tried to register the same day as Microsoft.AVS is still pending (Registering)... It's been a week now.