Forum Discussion

JoshB531's avatar
JoshB531
Brass Contributor
Jun 20, 2024
Solved

Azure Arc and Azure update manager

Hi 

Wondered if anything can help. 

I use Azure Update manager to patch my on-prem Windows servers. Recently several of them have starting failing, cant patch or do an assessment on them. They fail with the error "not able to run in specified time"

 

The VMs are definitely connected as I can see them online and heartbeat is active. The only thing I can spot in the activity log for one of the failing VMs is the "Read Azure Arc extensions" has been running for a long time and never seems to complete (See below). I guessing this is why the patching is failing as its queued up before this. 

I've tried to remove the azure arc agent and re-install but this always comes back. 
Does anyone have any ideas how to resolve this?

4 Replies

  • akrish17's avatar
    akrish17
    Copper Contributor
    Hi,
    I understand you're experiencing issues with Azure Update Manager failing to patch or assess some on-prem Windows servers, with the error message "not able to run in specified time." Based on the details you provided, it seems like the "Read Azure Arc extensions" process is running indefinitely, potentially causing the patching failures.

    Here are a few steps you can try to resolve the issue:

    Check Azure Arc Connectivity:

    Ensure that the Azure Arc agents on the affected VMs are properly connected and communicating with Azure. Sometimes, connectivity issues can cause delays or failures in executing tasks.
    Review Extension Logs:

    Check the logs for the Azure Arc extensions on the VMs to see if there are any specific errors or warnings that might indicate why the "Read Azure Arc extensions" process is not completing.
    Update or Reinstall Azure Arc Agent:

    Since you’ve already tried to remove and reinstall the Azure Arc agent, ensure that you're using the latest version of the agent. Sometimes, outdated agents can cause issues.
    Adjust Maintenance Window:

    Increase the maintenance window duration in Azure Update Manager to ensure there's sufficient time for all tasks to complete, especially if there are many updates or the VMs have slower performance.
    Review Resource Allocation:

    Ensure the VMs have adequate resources (CPU, RAM, Disk I/O) to handle the update processes. Insufficient resources might cause tasks to take longer than expected.
    Azure Support:

    If the above steps don’t resolve the issue, consider opening a support ticket with Azure Support. They can provide more in-depth diagnostics and help resolve any underlying issues with the Azure Arc integration or Update Manager.
    Additionally, here’s a Microsoft documentation link that might provide some insights: Troubleshoot Azure Update Manager.

    I hope these steps help resolve the issue. Please let me know if you need further assistance or have any other questions.

    Best regards,
    • JoshB531's avatar
      JoshB531
      Brass Contributor

      akrish17 
      Thanks for the quick reply
      I've run the checker and looks like the connection is ok

      Can you be more specific which log to check the and path to found it. I've checked multiple logs but unable to find an error that leads me in the right direction. 

      Thanks

       

      • mrcljnff1's avatar
        mrcljnff1
        Copper Contributor

        JoshB531 have you resolved the problem? my customer is facing the same issue.
        we found out its a problem with the extrensions. If we reinstall the extensions it works fine for a few days and then it happens again.

         

        I just dont know why the extension status change to updating or creating...

Resources