azure - “Microsoft.Compute”Azure 资源提供程序永远无法完成 'Registering' :

标签 azure azure-resource-manager azure-aks

此问题与以下问题有些相似(但在测试中未显示相同的行为):

  1. Azure: Microsoft.Compute resource provider stuck 'Registering' for about a day

While attempting to register the Microsoft.Compute provider in order to use AKS from the MacOS command line (or alternately Cloud Shell from within Azure), the provider takes an exorbitantly long time to finish registering.

在撰写本文时,6 小时后仍处于“注册”状态。

正常情况下应该发生什么?

以下命令应及时注册 Microsoft.Compute:

az 提供程序注册 -n Microsoft.Compute

出了什么问题?

当使用以下命令检查提供程序的状态时,提供程序永远不会注册并持续挂起“注册”:

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

对上述 shell 命令的响应如下所示(持续 6 小时左右):

Namespace          RegistrationState

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

Microsoft.Compute  Registering

其他成功注册的提供商:

  • 微软网络
  • 微软存储
  • Microsoft.ContainerService
鉴于上述情况(以及我是根用户/唯一用户的事实),这可能不是权限问题,因为这些提供程序会失败。在“我的权限”下,我被列为管理员:“您是订阅的管理员”请参阅下面注册提供商的屏幕截图(右侧有权限边栏选项卡):

enter image description here

由于提供程序永远不会完成注册,因此尝试使用 AKS 创建集群当然会失败:

操作失败,状态为:“错误请求”。详细信息:缺少必需的资源提供程序注册 Microsoft.Compute。

其他背景:

两天前,我成功地在客户帐户上执行了相同的操作,一切都在 5 分钟内完成。我已尝试以下选项来解决该问题(到目前为止没有影响):

  1. Stack Overflow 上的一位用户(此处: Azure: Microsoft.Compute resource provider stuck 'Registering' for about a day )建议在资源组/帐户内旋转虚拟机,希望能够解决问题并自动注册提供程序(但这不起作用)。
  2. 取消注册提供商 这就是我的情况与上述问题不同的地方。使用以下命令取消注册组件时: az 提供程序取消注册 -n Microsoft.Compute 我得到: 无法从资源命名空间“Microsoft.Compute”取消注册订阅。请删除提供商的现有资源。

这与这里的用户不同,后者在取消注册时卡住/挂起,而不是在尝试取消注册时失败并显示上述消息 ( Azure: Microsoft.Compute resource provider stuck 'Registering' for about a day )

我希望有人曾经遇到过这种情况。 此时,我将尝试删除我的订阅(当天早些时候创建的)并添加新订阅/重复。

将回复我的发现。

最佳答案

全局多个用户都遇到了这个特定问题,并且已得到解决,请尝试看看现在是否可以正常工作。

关于azure - “Microsoft.Compute”Azure 资源提供程序永远无法完成 'Registering' :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50457963/

相关文章:

php - Azure web.config 限制 IP 地址页面刷新异常

azure - 通过 azure bastion 连接我的 azure vm 时出错

Azure函数+ARM : merge app settings with current settings

azure - 有没有办法自动检索Azure资源命名限制

azure - AKS 上托管的 kubernetes 集群中的 docker 桥地址有什么意义?

azure - 在 Azure 中,负载均衡器详细信息在 azure devops 管道中使用 powershell 脚本写入 csv 文件

azure - ARM 在复制迭代器中使用引用()时,arm 模板解析器似乎中断

azure - 创建集群后将 RBAC 添加到 Azure Kubernetes (AKS)

nginx - Kubernetes nginx ingress rabbitmq 管理和 kibana

sql-server - 如何保持 Redis 数据与 SQL Server 中的数据准确