You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/extension-based-hybrid-runbook-worker.md
+59-18Lines changed: 59 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,25 +20,58 @@ To help troubleshoot issues with extension-based Hybrid Runbook Workers:
20
20
- Check whether the system-assigned managed identity is enabled on the VM. Azure VMs and Arc enabled Azure Machines should be enabled with a system-assigned managed identity.
21
21
22
22
- Check whether the extension is enabled with the right settings. Setting file should have right `AutomationAccountURL`. Cross-check the URL with Automation account property - `AutomationHybridServiceUrl`.
23
-
- For windows: you can find the settings file at `C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\<version>\RuntimeSettings`.
24
-
- For Linux: you can find the settings file at `/var/lib/waagent/Microsoft.Azure.Automation.HybridWorker.HybridWorkerForLinux/`.
23
+
- For Windows, you can find the settings file here:
24
+
> [!TIP]
25
+
> Replace `*` in the below path with the specific version that is installed if you know it.
- Check the error message shown in the Hybrid worker extension status/Detailed Status. It contains error message(s) and respective recommendation(s) to fix the issue.
27
35
28
36
- Run the troubleshooter tool on the VM and it generates an output file. Open the output file and verify the errors identified by the troubleshooter tool.
29
-
- For windows: you can find the troubleshooter at `C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\<version>\bin\troubleshooter\TroubleShootWindowsExtension.ps1`
30
-
- For Linux: you can find the troubleshooter at `/var/lib/waagent/Microsoft.Azure.Automation.HybridWorker.HybridWorkerForLinux-<version>/Troubleshooter/LinuxTroubleshooter.py`
37
+
- For Windows, you can find the troubleshooter here:
38
+
> [!TIP]
39
+
> Replace `*` in the below path with the specific version that is installed if you know it.
- For Linux machines, the Hybrid worker extension creates a `hweautomation` user and starts the Hybrid worker under the user. Check whether the user `hweautomation` is set up with the correct permissions. If your runbook is trying to access any local resources, ensure that the `hweautomation` has the correct permissions to the local resources.
33
51
34
52
- Check whether the hybrid worker process is running.
35
-
- For Windows: check the `Hybrid Worker Service` service.
36
-
- For Linux: check the `hwd` service.
53
+
- For Windows, check the `Hybrid Worker Service` (***HybridWorkerService***) service.
54
+
- For Linux, check the `hwd` service.
37
55
38
56
- Collect logs:
39
-
- For Windows: Run the log collector tool in </br>`C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\<version>\bin\troubleshooter\PullLogs.ps1` </br>
40
-
Logs are in `C:\HybridWorkerExtensionLogs`.
41
-
- For Linux: Logs are in folders </br>`/var/log/azure/Microsoft.Azure.Automation.HybridWorker.HybridWorkerForLinux` and `/home/hweautomation`.
57
+
- For Windows, run the log collector tool located here:
58
+
> [!TIP]
59
+
> Replace `*` in the below path with the specific version that is installed if you know it.
0 commit comments