Stack HCI 2024.07 Cumulative Update 10.2405.2.7 Stuck

Allen Bower 5 Reputation points
2024-07-29T14:20:59.87+00:00

I have a single-node Azure Stack HCI "cluster" that has been stuck updating for over a week now. It is stuck on Start Update > Start applicable update > Update Cluster > Perform update > Update OS > Update Host OS > Do CAU if applicable > CAU Attempt.

Screenshot 2024-07-29 091910

I have tried rebooting the node, and running a couple of commands I found in the Azure Stack 2405.2 known issues page without success. I tried running

Get-SolutionUpdate|Start-SolutionUpdate

and

#To work around this issue, on each cluster node, add the following registry key (no value needed): 
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\HciCloudManagementSvc\Parameters" -force 
#Then on one of the cluster nodes, restart the Cloud Management cluster group. 
Stop-ClusterGroup "Cloud Management" Start-ClusterGroup "Cloud Management"

but neither command appeared to have any impact on the update status. Querying the update status shows that it is still in progress, even though it's been on 80% for multiple days.

Get-SolutionUpdate | ft Version,State,UpdateStateProperties,HealthState
Version           State UpdateStateProperties HealthState
-------           ----- --------------------- -----------
10.2402.3.10  Installed                           Success
10.2405.0.23  Installed                           Success
10.2405.1.4   Installed                           Success
10.2405.2.7  Installing 80% complete.             Success

Does anyone know how to force the update to stop or show as failed so I can "try again" from azure update manager?

Community Center | Not monitored
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 26,492 Reputation points Moderator
    2024-08-16T02:02:10.21+00:00

    Hello Allen Bower

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Please try the following steps to unblock:

    1. Query for the in progress update:
        `Import-Module EceClient`
      

    $runningUpdate = Get-ActionPlanInstances | where ActionPlanName -match "MAS Update" | where Status -eq "Running"

    1. Cancel the in progress update action plan:
        `Cancel-ActionPlanInstance -actionPlanInstanceID $runningUpdate.InstanceID | Out-Null`
      
    2. The cancellation is an async operation so it might take a little bit of time for it to actually enter the Cancelled state. You can check using:
       `Get-ActionPlanInstance -actionPlanInstanceID $runningUpdate.InstanceID | ft Status`  
      

    Hope this helps.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.