Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Cannot register Microsoft.Compute Provider (CLI or Bash Cloud Shell)

$
0
0

While attempting to register the Microsoft.Compute provider in order to use AKS from the command line, the provider takes an exorbitantly long time to finish registering (at the time of this writing it is still in the 'registering' status).

What is supposed to happen normally?
The following command should register Microsoft.Compute in a timely manner:

az provider register -n Microsoft.Compute

What goes wrong?
The provider never registers and continuously hangs "Registering" when it's status is checked with the following command:

az provider show --namespace Microsoft.Compute -o table

The response to the above shell command looks like this (and has for 6 hours or so):

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #f4f4f4; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)} span.s1 {font-variant-ligatures: no-common-ligatures} </style>

Namespace         RegistrationState

----------------- -------------------

Microsoft.Compute Registering


Other Providers that Registered Successfully:

  1. Microsoft.Network
  2. Microsoft.Storage
  3. Microsoft.ContainerService

Given the above (and the fact that I am the root / only user) it is likely not a permissions issue since those providers would have failed.  Under 'My Permissions' I am listed as administrator: 'You are an administrator on the subscription'

Since the provider never finishes registering, attempting to create a Cluster with AKS fails with:

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #c33720; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)} span.s1 {font-variant-ligatures: no-common-ligatures} </style>

Operation failed with status: 'Bad Request'. Details: Required resource provider registrations Microsoft.Compute are missing.

Other Background:
Two days ago I preformed the identical operations on a clients account successfully and everything finished within 5 minutes.  I have tried the following options to solve the issue (thus far with no impact):

  1. A user on Stack Overflow suggested spinning a VM within the resource group / account in the hopes that would solve the issue and register the provider automatically (this did not work).
  2. Un-register the Provider
    When unregistering the component with: az provider unregister -n Microsoft.Compute
    I get:
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #c33720; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)} span.s1 {font-variant-ligatures: no-common-ligatures} </style>

The subscription cannot be unregistered from resource namespace 'Microsoft.Compute'. Please delete existing resources for the provider.


This is different from the user over here who then gets Stuck / Hangs at Un-Registering.
I am hoping that someone has encountered this in the past.



Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>