Troubleshoot Azure Arc-enabled servers VM extension issues
This article provides information on troubleshooting and resolving issues that may occur while attempting to deploy or remove Azure VM extensions on Azure Arc-enabled servers. For general information, see Manage and use Azure VM extensions.
Data about the state of extension deployments can be retrieved from the Azure portal.
The following troubleshooting steps apply to all VM extensions.
To check the Guest agent log, look at the activity when your extension was being provisioned in
%SystemDrive%\ProgramData\GuestConfig\ext_mgr_logsfor Windows, and for Linux under
Check the extension logs for the specific extension for more details in
%SystemDrive%\ProgramData\GuestConfig\extension_logs\<Extension>for Windows. Extension output is logged to a file for each extension installed on Linux under
Check extension-specific documentation troubleshooting sections for error codes, known issues etc. Additional troubleshooting information for each extension can be found in the Troubleshoot and support section in the overview for the extension. This includes the description of error codes written to the log. The extension articles are linked in the extensions table.
Look at the system logs. Check for other operations that may have interfered with the extension, such as a long running installation of another application that required exclusive package manager access.
Troubleshooting specific extension scenarios
- When enabling VM Insights for an Azure Arc-enabled server, it installs the Dependency and Log Analytics agent. On a slow machine or one with a slow network connection, it is possible to see timeouts during the installation process. Microsoft is taking steps to address this in the Connected Machine agent to help improve this condition. In the interim, a retry of the installation may succeed.
Log Analytics agent for Linux
The Log Analytics agent version 1.13.9 (corresponding extension version is 1.13.15) is not correctly marking uploaded data with the resource ID of the Azure Arc-enabled server. Although logs are being sent to the service, when you try to view the data from the selected enabled server after selecting Logs or Insights, no data is returned. You can view its data by running queries from Azure Monitor Logs or from Azure Monitor for VMs, which are scoped to the workspace.
Some distributions are not currently supported by the Log Analytics agent for Linux. The agent requires additional dependencies to be installed, including Python 2. Review the support matrix and prerequisites here.
Error code 52 in the status message indicates a missing dependency. Check the output and logs for more information about which dependency is missing.
If an installation fails, review the Troubleshoot and support section in the overview for the extension. In most cases, there is an error code included in the status message. For the Log Analytics agent for Linux, status messages are explained here, along with general troubleshooting information for this VM extension.
If you don't see your problem here or you can't resolve your issue, try one of the following channels for additional support:
Get answers from Azure experts through Microsoft Q&A.
Connect with @AzureSupport, the official Microsoft Azure account for improving customer experience. Azure Support connects the Azure community to answers, support, and experts.
File an Azure support incident. Go to the Azure support site, and select Get Support.