Trident 后端在 Azure Government Cloud 上失败:NoValidSubscriptionsInQueryRequest
适用于
- NetApp Trident
- Azure NetApp Files (ANF) 后端
- Microsoft Azure 美国政府云中的部署
- 使用 Trident 进行存储配置的 Kubernetes 集群
问题
- 在 Azure US Government Cloud 中为 Azure NetAppFiles (ANF) 部署 Trident 后端时,后端创建失败并出现以下错误:
Failed to create backend: problem initializing storagedriver 'azure-netapp-files': error initializing azure-netapp-files SDK client.POST https://management.azure.com/providers/Microsoft.ResourceGraph/resources
Backend creation fails with NoValidSubscriptionsInQueryRequest despite correct environment settings in the Trident BackendConfig.
- 观察到的行为:
- Trident 尝试连接到商业 Azure 端点 (management.azure.com),而不是所需的美国政府端点 (management.usgovcloudapi.net)。
- 后端配置包括 environment: AzureUSGovernment,但此配置未生效。
- Trident 后端创建失败,导致 GovCloud 区域中的 ANF 配置受阻。