Skip to content

Commit e25dfde

Browse files
Merge pull request #226790 from SnehaSudhirG/9Feb-TroubleshootDocUpdate
updated the error identified by troubleshooter tool for Linux
2 parents 2e9e5bc + d812abd commit e25dfde

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/automation/troubleshoot/extension-based-hybrid-runbook-worker.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot extension-based Hybrid Runbook Worker issues in Azure Automation
33
description: This article tells how to troubleshoot and resolve issues that arise with Azure Automation extension-based Hybrid Runbook Workers.
44
services: automation
5-
ms.date: 10/31/2022
5+
ms.date: 02/09/2023
66
ms.topic: troubleshooting
77
ms.custom: devx-track-azurepowershell
88
---
@@ -27,17 +27,18 @@ To help troubleshoot issues with extension-based Hybrid Runbook Workers:
2727

2828
- Run the troubleshooter tool on the VM and it will generate an output file. Open the output file and verify the errors identified by the troubleshooter tool.
2929
- 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/troubleshootLinuxExtension.py`
30+
- For Linux: you can find the troubleshooter at `/var/lib/waagent/Microsoft.Azure.Automation.HybridWorker.HybridWorkerForLinux-<version>/Troubleshooter/LinuxTroubleshooter.py`
3131

3232
- 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.
3333

3434
- Check whether the hybrid worker process is running.
3535
- For Windows: check the `Hybrid Worker Service` service.
3636
- For Linux: check the `hwd.` service.
3737

38-
- Run the log collector tool and review the collected logs.
39-
- For Windows: the logs are located at `C:\HybridWorkerExtensionLogs`. The tool is at `C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\<version>\bin\troubleshooter\PullLogs.ps1`.
40-
- For Linux: the logs are located at `/home/nxautomation/run`. The tool is at `/var/lib/waagent/Microsoft.Azure.Automation.HybridWorker.HybridWorkerForLinux/logcollector.py`.
38+
- 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`.
4142

4243
### Scenario: Hybrid Worker deployment fails with Private Link error
4344

0 commit comments

Comments
 (0)