AMA extension installation to Arc enabled VM fails

Sadik Karadag 21 Reputation points
2022-09-14T02:15:32.653+00:00

We are currently trying to install AMA extension through the Monitor DCR. Data collection rule is created fine, we can see the extensions are in "creating" status when we view Azure Arc VM overview page. But it gets stuck in creating status for hours then just disappears. Checking the local VM logs, I have found the following:

[2022-09-13 22:41:04.709] [PID 6940] [TID 4740] [PULL_CLIENT_CERT_HELPER] [INFO] [00000000-0000-0000-0000-000000000000] Proxy settings from config_file: http://xxxxx.xxxxx.xxy:2121
[2022-09-13 22:41:05.057] [PID 6940] [TID 4740] [Pull Client] [INFO] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] invoke_agent_service_request return_code = 400
[2022-09-13 22:41:05.057] [PID 6940] [TID 4740] [Pull Client] [ERROR] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [c:__w\1\s\src\dsc\gc_pullclient\dsc_pull_client.cpp:580] Failed to update extensions Error : Failed to get extension list from agent service. Status Code '400'. Error Message ''.
[2022-09-13 22:41:05.058] [PID 6940] [TID 4740] [DISPATCHER] [ERROR] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [c:__w\1\s\src\dsc\em_dispatcher\em_dispatcher.cpp:263] Failed to finish extension workflow. Error : Failed to get extension list from agent service. Status Code '400'. Error Message ''.
[2022-09-13 22:41:05.058] [PID 6940] [TID 4740] [Timer Manager] [ERROR] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [c:__w\1\s\src\dsc\em_timer\em_timer_manager.cpp:182] Failed to Run extension refresh workflow for 'extension_refresh_timer' Error : Failed to get extension list from agent service. Status Code '400'. Error Message ''.
[2022-09-13 22:41:05.059] [PID 6940] [TID 4740] [TIMER] [INFO] [e057bf81-27e4-44d9-9ff7-4630e5749a9e] [End] timer trigger for extension_refresh_timer
[2022-09-13 22:41:05.059] [PID 6940] [TID 6408] [Timer Manager] [INFO] [bd8683fb-c3ad-4a41-b194-78a3f0a5d5a8] Run execution for timer 'extension_execution_timer'

However, we are not seeing any connection failures on our proxy / firewalls. Anyone had any similar issues? I would like to point out that these VMs are running on Connected Machine Agent version 1.21, as pervious version had an issue with extension installation, but shouldn't be a problem with version 1.21

240823-creatingext.png

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,256 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
412 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Andrew Blumhardt 9,861 Reputation points Microsoft Employee
    2022-09-14T03:44:02.97+00:00

    Are these Azure VM's? Asking because Arc is only for non-Azure systems. I assume these are on-prem VMs...I didn't think it was possible to put Arc on an Azure VM but just checking.

    I would check the application event log for any related events. Maybe try manually deploying a different extension just to see if it is Arc or the extension. Reinstall Arc, reboot, check the Arc troubleshooting doc. https://learn.microsoft.com/en-us/azure/azure-arc/servers/troubleshoot-agent-onboard

    0 comments No comments

  2. SwathiDhanwada-MSFT 18,756 Reputation points
    2022-09-19T07:02:10.417+00:00

    @Sadik Karadag Thanks for reaching out. I understand that you are trying to install Azure Monitor Agent on an Azure Arc enabled VM. However, you are seeing an issue with the installation process; It keeps stuck at 'creating' and it doesn't complete the process.

    I would suggest you upgrade Connected Machine Agent to latest Version 1.22 and follow the steps mentioned here to troubleshoot the issue and raise support ticket accordingly.

    0 comments No comments

  3. DanM 1 Reputation point
    2022-10-13T10:14:15.723+00:00

    Did you ever find the cause of this?

    Having the same issue as you describe except i'm using AZCMagent v1.22


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.