[Bug] Azure Local 2610 deployment fails during Arc/Network configuration due to backend API registration mismatch

オープン
#374 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, powershell

調査の方向性

Start by tracing the reported DeployArb / Install-ArcHciMgmt path in ArcHci.psm1, especially Install-ArcHciHybridAKSExtension near line 4965, and check the deployment package's networkProfiles API version. Compare those values with the Azure Arc extension catalog and Microsoft.AzureStackHCI provider metadata for the affected region. Done means a deployment using the reported solution version completes the Arc infrastructure phase without either registration error.

索引モデルが issue の本文から書いたものです。

説明

[Bug] Azure Local 2610 Deployment Failure: API Version & Registration Mismatch in Backend (Microsoft.HybridAKSOperator & clusters/networkProfiles)

Title

[Bug] Azure Local 2610 deployment fails during Arc/Network configuration due to backend API registration mismatch


Description

Overview

During a clean deployment of Azure Local (Azure Stack HCI) 2610 using Solution Version 12.2610.1004.50, the orchestration consistently fails during the "Deploy Arc infrastructure components" phase.

The failure stems from a backend API registration and catalog synchronization issue:

  1. The local deployment scripts execute hardcoded CLI calls requesting the Kubernetes extension Microsoft.HybridAKSOperator version 7.2.12 on the stable release train, which is rejected by the Azure API.
  2. The deployment path for network profiles targets API version 2026-03-15-preview for child resource type Microsoft.AzureStackHCI/clusters/networkProfiles/default. However, the Azure Resource Provider backend currently registers and accepts only 2026-11-01-preview across regions, producing persistent NoRegisteredProviderFound errors.

Core cluster creation and deployment prerequisites succeed prior to this step, confirming that the issue is isolated to resource provider API compatibility and extension version registration in the Azure control plane.


Detailed Technical Analysis
1. Arc Extension Failure (Microsoft.HybridAKSOperator)

During the DeployArb role execution (Install-ArcHciMgmt), the orchestration engine runs the following command via Azure CLI:

az.cmd k8s-extension create \
  --cluster-type appliances \
  --cluster-name "contoso-cl-arcbridge" \
  --resource-group "rg-contoso-azure-local-gwc" \
  --name "hybridaksextension" \
  --extension-type Microsoft.HybridAKSOperator \
  --release-train stable \
  --version 7.2.12 \
  --auto-upgrade False \
  --config-file C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\MocArb\WorkingDirectory\Appliance\aks-extension-config.json \
  --only-show-errors

This returns an ExtensionOperationFailed exception:

ERROR: (ExtensionOperationFailed) The extension operation failed with the following error: 
Failed to resolve the extension version from the given values. 
InnerError: 'Extension type 'microsoft.hybridaksoperator' does not support release train 'stable' for version '7.2.12'. 
Please try again with release train "stable".

The error message contains a contradictory directive ("does not support release train 'stable' ... Please try again with release train 'stable'"), indicating that version 7.2.12 is not properly mapped to the stable release train in the global Azure Arc catalog for the target region.


2. Resource Provider API Mismatch (clusters/networkProfiles)

Correlating support portal activity logs and deployment telemetry reveals a corresponding mismatch on the cluster network profile child resource (Microsoft.AzureStackHCI/clusters/networkProfiles/default):

  • The local deployment package requests API version: 2026-03-15-preview.
  • Querying the Microsoft.AzureStackHCI provider capabilities for clusters/networkProfiles confirms that only 2026-11-01-preview is currently registered:
{
  "resourceType": "clusters/networkProfiles",
  "locations": [
    "South Central US",
    "East US",
    "UK South",
    "UK West",
    "Germany West Central",
    "Australia East",
    "West Europe",
    "Southeast Asia",
    "Canada Central",
    "Japan East",
    "Central India"
  ],
  "apiVersions": [
    "2026-11-01-preview"
  ],
  "capabilities": "None"
}

Because legacy versions (such as 2026-03-15-preview) are unlisted across all supported regions, calls targeting that version fail with NoRegisteredProviderFound.


Steps to Reproduce
  1. Prepare a host system with Azure Local (Azure Stack HCI OS) build 2610.
  2. Launch a new deployment targeting Solution Version 12.2610.1004.50 in germanywestcentral (or any region where only 2026-11-01-preview is registered).
  3. Complete initial hardware and infrastructure validation checks.
  4. Execute deployment until the "Deploy Arc infrastructure components" phase.
  5. The task fails at DeployArb / Install-ArcHciMgmt.

Observed Error Stack Trace (Anonymized)
Type 'DeployArb' of Role 'MocArb' raised an exception: [DeployArb:Calling Install-ArcHciMgmt]
Correlation ID: 00000000-0000-0000-0000-000000000000

az.cmd k8s-extension create --cluster-type appliances --cluster-name "contoso-cl-arcbridge" \
  --resource-group "rg-contoso-azure-local-gwc" --name "hybridaksextension" \
  --extension-type Microsoft.HybridAKSOperator --release-train stable --version 7.2.12 \
  --auto-upgrade False --config-file <path>\aks-extension-config.json --only-show-errors

returned error stream:
[ERROR: (ExtensionOperationFailed) The extension operation failed with the following error: 
Failed to resolve the extension version from the given values. 
InnerError: 'Extension type 'microsoft.hybridaksoperator' does not support release train 'stable' for version '7.2.12'.]

at Invoke-ArcHciAzCommandLine, ArcHci.psm1: line 3579
at Invoke-ArcHciAzCommand, ArcHci.psm1: line 3451
at Install-ArcHciHybridAKSExtension, ArcHci.psm1: line 4965
at Install-ArcHciHybridAKS, ArcHci.psm1: line 6723
at Install-ArcHciMgmt, ArcHci.psm1: line 6507
at DeployArbInternal, MocArbHelper.psm1: line 2006
at DeployArb, MocArbLifeCycleManager.psm1: line 312

Associated ARM Activity Log:

Code: NoRegisteredProviderFound
Message: The resource type 'clusters/networkProfiles' was not found in the provider namespace 
'Microsoft.AzureStackHCI' for api version '2026-03-15-preview'.

Expected Behavior
  • The Azure Arc Extension catalog must resolve Microsoft.HybridAKSOperator version 7.2.12 on the stable release train for appliance cluster types.
  • The Azure Resource Provider Microsoft.AzureStackHCI should maintain backward-compatible registration for clusters/networkProfiles API versions (e.g., 2026-03-15-preview) that active production solution versions (12.2610.1004.50) actively depend on.

Suggested Remediation
  1. Azure Backend Fix: Re-register/enable API version 2026-03-15-preview for clusters/networkProfiles and align the Microsoft.HybridAKSOperator version mapping for stable.
  2. Deployment Package Update: Publish an updated ECE / Solution package aligning the deployment scripts to target the currently active 2026-11-01-preview API version and the corresponding extension release train.

Environment Details
  • Product: Azure Local (Azure Stack HCI)
  • OS Version: 2610
  • Solution Version: 12.2610.1004.50
  • Affected Regions: Confirmed in Germany West Central; provider metadata indicates global scope across all Azure Local locations.
主要言語
PowerShell
スター
82
フォーク
61
平均マージ
1時間 16分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/AzureLocal-Supportability のほかの issue

Azure/AzureLocal-Supportability の issue をすべて見る

似ている issue

Cloud の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。