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
+26-8Lines changed: 26 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Troubleshoot extension-based Hybrid Runbook Worker issues in Azure Automation
3
3
description: This article tells how to troubleshoot and resolve issues that arise with Azure Automation extension-based Hybrid Runbook Workers.
4
4
services: automation
5
-
ms.date: 09/06/2023
5
+
ms.date: 01/03/2024
6
6
ms.topic: troubleshooting
7
7
ms.custom:
8
8
---
@@ -25,7 +25,7 @@ To help troubleshoot issues with extension-based Hybrid Runbook Workers:
25
25
26
26
- 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
27
28
-
- 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.
28
+
- 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
29
- For windows: you can find the troubleshooter at `C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\<version>\bin\troubleshooter\TroubleShootWindowsExtension.ps1`
30
30
- For Linux: you can find the troubleshooter at `/var/lib/waagent/Microsoft.Azure.Automation.HybridWorker.HybridWorkerForLinux-<version>/Troubleshooter/LinuxTroubleshooter.py`
31
31
@@ -51,7 +51,7 @@ The Hybrid Runbook Worker jobs failed as it was unable to import Az modules.
51
51
52
52
As a workaround, you can follow these steps:
53
53
54
-
1. Go to the folder: C:\Program Files\Microsoft Monitoring Agent\Agent\AzureAutomation\7.3.1722.0\HybridAgent
54
+
1. Go to the folder: C:\Program Files\Microsoft Monitoring Agent\Agent\AzureAutomation\7.3.1722.0\HybridAgent
55
55
1. Edit the file with the name *Orchestrator.Sandbox.exe.config*
56
56
1. Add the following lines inside the `<assemblyBinding>` tags:
57
57
```xml
@@ -61,12 +61,30 @@ As a workaround, you can follow these steps:
61
61
</dependentAssembly>
62
62
```
63
63
64
-
### Scenario: Job failed to start as the Hybrid Worker was not available when the scheduled job started
64
+
### Scenario: Runbooks go into a suspended state on a Hybrid Runbook Worker when using a custom account on a server with User Account Control (UAC) enabled
65
+
66
+
#### Issue
67
+
Jobs fail and go into a suspended state on the Hybrid Runbook Worker. The Microsoft-SMA event logs indicate
68
+
`Win32 Process Exited with code [2148734720]` and a corresponding error in Application log when the runbook tries to execute is `.NET Runtime version : 4.0.30319.0` indicating that the application couldn't be started.
69
+
70
+
#### Cause
71
+
When a system has UAC/LUA in place, permissions must be granted directly and not through any group membership and when user has to elevate permissions, the jobs begin to fail.
72
+
73
+
#### Resolution
74
+
For Custom user on the Hybrid Runbook Worker, update the permissions in the following folders:
| C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows | Read and Execute |
80
+
81
+
82
+
### Scenario: Job failed to start as the Hybrid Worker wasn't available when the scheduled job started
65
83
66
84
#### Issue
67
85
Job fails to start on a Hybrid Worker and you see the following error:
68
86
69
-
*Failed to start, as hybrid worker was not available when scheduled job started, the hybrid worker was last active at mm/dd/yyyy*.
87
+
*Failed to start, as hybrid worker wasn't available when scheduled job started, the hybrid worker was last active at mm/dd/yyyy*.
70
88
71
89
#### Cause
72
90
This error can occur due to the following reasons:
@@ -89,7 +107,7 @@ Job gets suspended with the following error message:
89
107
#### Cause
90
108
Jobs might get suspended due to any of the following reasons:
91
109
- Each active Hybrid Worker in the group will poll for jobs every 30 seconds to see if any jobs are available. The Worker picks jobs on a first-come, first-serve basis. Depending on when a job was pushed, whichever Hybrid Worker within the Hybrid Worker Group pings the Automation service first picks up the job. A single hybrid worker can generally pick up four jobs per ping (that is, every 30 seconds). If your rate of pushing jobs is higher than four per 30 seconds and no other Worker picks up the job, the job might get suspended.
92
-
- Hybrid Worker might not be polling as expected every 30 seconds. This could happen if the Worker is not healthy or there are network issues.
110
+
- Hybrid Worker might not be polling as expected every 30 seconds. This could happen if the Worker isn't healthy or there are network issues.
93
111
94
112
#### Resolution
95
113
- If the job limit for a Hybrid Worker exceeds four jobs per 30 seconds, you can add more Hybrid Workers to the Hybrid Worker group for high availability and load balancing. You can also schedule jobs so they do not exceed the limit of four jobs per 30 seconds. The processing time of the jobs queue depends on the Hybrid worker hardware profile and load. Ensure that the Hybrid Worker is healthy and gives a heartbeat.
@@ -139,14 +157,14 @@ for Arc-enabled servers or [Manage VMware virtual machines Azure Arc](../../azur
139
157
You are deploying an extension-based Hybrid Runbook Worker on a VM, and it fails with error: *Invalid Authorization Token*.
140
158
141
159
### Cause
142
-
User-assigned managed identity of the VM is enabled, but system-assigned managed identity is not enabled.
160
+
User-assigned managed identity of the VM is enabled, but system-assigned managed identity isn't enabled.
143
161
144
162
### Resolution
145
163
Follow the steps listed below:
146
164
147
165
1.[Enable](../../active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vm.md#enable-system-assigned-managed-identity-on-an-existing-vm) System-assigned managed identity of the VM.
148
166
2.[Delete](../extension-based-hybrid-runbook-worker-install.md#delete-a-hybrid-runbook-worker) the Hybrid Worker extension installed on the VM.
149
-
3.Re-install the Hybrid Worker extension on the VM.
167
+
3.Reinstall the Hybrid Worker extension on the VM.
150
168
151
169
152
170
### Scenario: Installation process of Hybrid Worker extension on Windows VM gets stuck
0 commit comments