SBE update succeeds on hardware but update never reports success - "Initialization failure" in SBEUpdateOemInformation (ECE state stamp fails)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- powershell
- Bereich
- documentation
Rechercherichtung
Start by reviewing the existing troubleshooting guides under TSG/SolutionExtension/ and the reported SBEUpdateOemInformation failure signature. The issue proposes documenting validation and recovery for a missing ECE state stamp; confirm the supported scope with maintainers before documenting manual state-store writes. Done means an agreed TSG covers the failure, safe diagnostic steps, and supported next actions.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
On an Azure Local 24H2+ cluster running an HPE ProLiant Solution Builder Extension (SBE_HPE_ProLiant-Standard 5.0.2604.21 → 5.0.2608.10), the SBE update run completed every hardware stage successfully (CAU run green on all nodes, drive firmware installed, cleanup done) but then failed at the very last step — Finalize hardware update / SBEUpdateOemInformation — with an unhelpful exception. The cluster was fully patched and verified, but:
- the update could never report success,
Get-SolutionUpdateEnvironmentkept showing the oldCurrentSbeVersion,- and every later update (both SBE and solution updates) refused to start / did not appear, because the environment view was anchored to the old version.
This looks like success from the outside (hardware is updated) but behaves like a hard failure from the update engine's perspective. No existing TSG in this repo covers the finalize/stamp step, so we are sharing the signature and the recovery that worked.
Environment
- Azure Local, 2607.x era (also observed this behaviour matter on earlier 25xx builds)
- HPE ProLiant (Premier Solution), SBE family
HPE-ProLiant-Standard - SBE package
SBE_HPE_ProLiant-Standard_5.0.2608.10installed standalone (sideloaded viaAdd-SolutionUpdate), after a prior combined solution update - Four-node cluster, orchestrator / Update Service cluster role subject to node moves during CAU reboots
Symptoms
Update run steps all green through hardware, then:
Type 'SBEUpdateOemInformation' of Role 'SBE' raised an exception:
Exception calling "GetResult" with "0" argument(s): "Initialization failure "
at SBEUpdateOemInformation, ...Classes\SBE\SBE.psm1: line 746
at Invoke-EceInterfaceInternal, ...ECEWinService\InvokeInterfaceInternal.psm1: line 165
Update run summary reports failures on SBE Package Update and Finalize hardware update despite the hardware work having completed. Get-SolutionUpdate may still show the SBE State: Installed with HealthState: Success for the package, while Get-SolutionUpdateEnvironment keeps showing the previous CurrentSbeVersion. Later Start-SolutionUpdate attempts return no run or fail quickly.
The exception is misleading: "Initialization failure" is not a validation error and does not identify what failed to initialize. In our case the same ECE client calls worked perfectly when executed interactively by hand — the client itself initialized fine; the in-context call from the action plan did not.
Cause (as we understand it)
Finalize hardware update is bookkeeping, not hardware. The SBE module calls three methods on the Enterprise Cloud Engine (ECE) client to stamp the new SBE version into the cluster's state store:
SetOemFamilySetPackageVersion(for theSBEpackage)SetOemVersion
When those calls fail (here: an exception from inside the running action plan, likely related to the Update Service cluster role having moved between nodes during the CAU reboots), the cluster is patched but the state store is never stamped, so the update can never report success and discovery/eligibility stays anchored to the old version.
Validation
The ECE client module ships with the SBE package. Import it and build the same client the action plan builds (run on the node where the update orchestrates, with the NugetStore copy matching the installed SBE version):
Import-Module 'C:\NugetStore\Microsoft.AzureStack.Role.SBE.<sbe-version>\content\Helpers\Microsoft.AzureStack.Solution.LCMControllerWinService\ECEClient.psm1'
$c = Create-ECEClusterServiceClient -MaxRetryTimeInSec 60
Read before you write. Every getter returns a Task; unwrap the way the SBE module does:
"SBE package : $($c.GetPackageVersions().Result['SBE'])"
"OEM version : $($c.GetOemVersion().GetAwaiter().GetResult())"
"OEM family : $($c.GetOemFamily().GetAwaiter().GetResult())"
In our case the store still held the old version while the staged SBE metadata (oemMetadata.xml under the staged SBE package) named the target family. That made the failure unambiguous: hardware patched, stamp missing.
Mitigation
Caution: the following writes the cluster's ECE state store by hand. We found it low-risk precisely because it is the identical operation the failed step performs, but it is still state surgery — take note of all current values first, and if you are uncomfortable, open a support case and reference this issue.
With the interactive client from above (which, unlike the in-context call, initializes successfully):
$c.SetOemFamily('<family-from-oemMetadata.xml>').GetAwaiter().GetResult()
$c.SetPackageVersion('SBE', '<new-sbe-version>').GetAwaiter().GetResult()
$c.SetOemVersion('<new-sbe-version>').GetAwaiter().GetResult()
# read back
"SBE now: $($c.GetPackageVersions().Result['SBE'])"
Values come from the staged package's oemMetadata.xml (OEM family) and the SBE package version. If any Set call throws from the working client, stop and read the exception — that is new information, not a retry signal.
After stamping, the update object may still be stuck because the Update Service environment view is a cached copy that only refreshes on certain events. Escalate through:
- Restart the orchestrator cluster resource (no
Restart-ClusterResourcein Windows PowerShell 5.1 — stop/start):
Stop-ClusterResource 'Azure Stack HCI Orchestrator Service'
Start-ClusterResource 'Azure Stack HCI Orchestrator Service'
- Restart the Update Service cluster resource the same way, then confirm the environment view picked up the stamped version:
Get-SolutionUpdateEnvironment | fl CurrentSbeVersion, LastUpdated, State, HealthState
- Restart
ECEAgenton every node (the agent executes SBE interface steps and can be days old after repeated failed runs). - If it persists, move the orchestrator role to a different node and retry.
In our case, after the stamp + orchestrator/Update Service restarts, Get-SolutionUpdateEnvironment reported the new CurrentSbeVersion (5.0.2608.10) with State: UpdateAvailable, and the previously invisible solution update reappeared and started cleanly.
Ask
- Is there a supported way to re-run just the finalize/stamp step, or to make
SBEUpdateOemInformationretry/repair rather than strand a patched cluster? - Would Microsoft accept a full TSG for the finalize-stamp failure signature in
TSG/SolutionExtension/? Happy to contribute one. - Root-cause question: what makes
Create-ECEClusterServiceClientfail inside the action plan context but succeed interactively minutes later (Update Service role move? stale ECE connection pool in the action plan process?). "Initialization failure" with no inner message cost us several days of diagnosis.
- Vorherrschende Sprache
- PowerShell
- Sterne
- 82
- Forks
- 61
- Ø Merge
- 1 Std. 30 Min.
- Gemergte PRs (30 T.)
- 6
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Azure/AzureLocal-Supportability
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Azure/AzureLocal-Supportability#290 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
Azure/AzureLocal-Supportability#289 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Azure/AzureLocal-Supportability#328 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
Azure/AzureLocal-Supportability#272 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Azure/AzureLocal-Supportability#253 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Azure/AzureLocal-Supportability
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
huggingface/diffusers#15170 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
PyLops/pyproximal#280 ·
Maintainer antworten meist innerhalb von 1 Tag
-
question
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
FoodOntology/foodon#375 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
daniel-ospina/tortoise#10644 ·
Maintainer antworten meist innerhalb von 1 Tag