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/virtual-machines/restore-point-troubleshooting.md
+39-25Lines changed: 39 additions & 25 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 restore point failures
3
3
description: Symptoms, causes, and resolutions of restore point failures related to agent, extension, and disks.
4
4
ms.topic: troubleshooting
5
-
ms.date: 07/13/2022
5
+
ms.date: 04/12/2023
6
6
ms.service: virtual-machines
7
7
---
8
8
@@ -25,20 +25,26 @@ Most common restore point failures can be resolved by following the troubleshoot
25
25
### Step 2: Check the health of Azure VM Guest Agent service
26
26
27
27
**Ensure Azure VM Guest Agent service is started and up-to-date**:
28
-
- On a Windows VM:
29
-
- Navigate to **services.msc** and ensure **Windows Azure VM Guest Agent service** is up and running. Also, ensure the [latest version](https://go.microsoft.com/fwlink/?LinkID=394789&clcid=0x409) is installed. [Learn more](#the-agent-is-installed-in-the-vm-but-its-unresponsive-for-windows-vms).
30
-
- The Azure VM Agent is installed by default on any Windows VM deployed from an Azure Marketplace image from the portal, PowerShell, Command Line Interface, or an Azure Resource Manager template. A [manual installation of the Agent](../virtual-machines/extensions/agent-windows.md#manual-installation) may be necessary when you create a custom VM image that's deployed to Azure.
31
-
- Review the support matrix to check if VM runs on the [supported Windows operating system](concepts-restore-points.md#operating-system-support).
32
-
- On Linux VM,
33
-
- Ensure the Azure VM Guest Agent service is running by executing the command `ps -e`. Also, ensure the [latest version](../virtual-machines/extensions/update-linux-agent.md) is installed. [Learn more](#the-agent-installed-in-the-vm-is-out-of-date-for-linux-vms).
34
-
- Ensure the [Linux VM agent dependencies on system packages](../virtual-machines/extensions/agent-linux.md#requirements) have the supported configuration. For example: Supported Python version is 2.6 and above.
35
-
- Review the support matrix to check if VM runs on the [supported Linux operating system.](concepts-restore-points.md#operating-system-support).
28
+
29
+
# [On a Windows VM](#tab/windows)
30
+
31
+
- Navigate to **services.msc** and ensure **Windows Azure VM Guest Agent service** is up and running. Also, ensure the [latest version](https://go.microsoft.com/fwlink/?LinkID=394789&clcid=0x409) is installed. [Learn more](#the-agent-is-installed-in-the-vm-but-its-unresponsive-for-windows-vms).
32
+
- The Azure VM Agent is installed by default on any Windows VM deployed from an Azure Marketplace image from the portal, PowerShell, Command Line Interface, or an Azure Resource Manager template. A [manual installation of the Agent](../virtual-machines/extensions/agent-windows.md#manual-installation) may be necessary when you create a custom VM image that's deployed to Azure.
33
+
- Review the support matrix to check if VM runs on the [supported Windows operating system](concepts-restore-points.md#operating-system-support).
34
+
35
+
# [On Linux VM](#tab/linux)
36
+
37
+
- Ensure the Azure VM Guest Agent service is running by executing the command `ps -e`. Also, ensure the [latest version](../virtual-machines/extensions/update-linux-agent.md) is installed. [Learn more](#the-agent-installed-in-the-vm-is-out-of-date-for-linux-vms).
38
+
- Ensure the [Linux VM agent dependencies on system packages](../virtual-machines/extensions/agent-linux.md#requirements) have the supported configuration. For example: Supported Python version is 2.6 and above.
39
+
- Review the support matrix to check if VM runs on the [supported Linux operating system.](concepts-restore-points.md#operating-system-support).
40
+
41
+
---
36
42
37
43
### Step 3: Check the health of Azure VM Extension
38
44
39
45
-**Ensure all Azure VM Extensions are in 'provisioning succeeded' state**:
40
46
If any extension is in a failed state, then it can interfere with the restore point operation.
41
-
- In theAzure portal, go to **Virtual machines** > **Settings** > **Extensions** > **Extensions status** and check if all the extensions are in **provisioning succeeded** state.
47
+
- In theAzure portal, go to **Virtual machines** > **Settings** > **Extensions** > **Extensions status** and check if all the extensions are in **provisioning succeeded** state.
42
48
- Ensure all [extension issues](../virtual-machines/extensions/overview.md#troubleshoot-extensions) are resolved and retry the restore point operation.
43
49
-**Ensure COM+ System Application** is up and running. Also, the **Distributed Transaction Coordinator service** should be running as **Network Service account**.
44
50
@@ -87,21 +93,21 @@ Restore point creation fails if there are changes being made in parallel to the
87
93
88
94
**Error code**: OperationNotAllowed
89
95
90
-
**Error message**: Operation 'Create Restore Point' is not allowed as disk(s) have not been allocated successfully. Please exclude these disk(s) using excludeDisks property and retry.
96
+
**Error message**: Operation 'Create Restore Point' is not allowed as disk(s) have not been allocated successfully. Please exclude these disk(s) using excludeDisks property and retry.
91
97
92
98
If any one of the disks attached to the VM isn't allocated properly, the restore point fails. You must exclude these disks before triggering creation of restore points for the VM. If you're using ARM processor API to create a restore point, to exclude a disk, add its identifier to the excludeDisks property in the request body. If you're using [CLI](virtual-machines-create-restore-points-cli.md#exclude-disks-when-creating-a-restore-point), [PowerShell](virtual-machines-create-restore-points-powershell.md#exclude-disks-from-the-restore-point), or [Portal](virtual-machines-create-restore-points-portal.md#step-2-create-a-vm-restore-point), set the respective parameters.
93
99
94
100
### OperationNotAllowed - Creation of Restore Point of a Virtual Machine with Shared disks is not supported.
95
101
96
102
**Error code**: VMRestorePointClientError
97
103
98
-
**Error message**: Creation of Restore Point of a Virtual Machine with Shared disks is not supported. You may exclude this disk from the restore point via excludeDisks property.
104
+
**Error message**: Creation of Restore Point of a Virtual Machine with Shared disks is not supported. You may exclude this disk from the restore point via excludeDisks property.
99
105
100
106
Restore points are currently not supported for shared disks. You need to exclude these disks before triggering creation of restore point for the VM. If you are using ARM processor API to create restore point, to exclude a disk, add its identifier to the excludeDisks property in the request body. If you are using [CLI](virtual-machines-create-restore-points-cli.md#exclude-disks-when-creating-a-restore-point), [PowerShell](virtual-machines-create-restore-points-powershell.md#exclude-disks-from-the-restore-point), or [Portal](virtual-machines-create-restore-points-portal.md#step-2-create-a-vm-restore-point), follow the respective steps.
101
107
102
108
### VMAgentStatusCommunicationError - VM agent unable to communicate with compute service
103
109
104
-
**Error code**: VMAgentStatusCommunicationError
110
+
**Error code**: VMAgentStatusCommunicationError
105
111
106
112
**Error message**: VM has not reported status for VM agent or extensions.
107
113
@@ -141,7 +147,7 @@ This error could also occur when one of the extension failures puts the VM into
141
147
142
148
**Error code**: VMRestorePointClientError
143
149
144
-
**Error message**: Restore Point creation failed due to COM+ error. Please restart windows service "COM+ System Application" (COMSysApp). If the issue persists, restart the VM.
150
+
**Error message**: Restore Point creation failed due to COM+ error. Please restart windows service "COM+ System Application" (COMSysApp). If the issue persists, restart the VM.
145
151
146
152
Restore point operations fail if the COM+ service is not running or if there are any errors with this service. Restart the COM+ System Application, and restart the VM and retry the restore point operation.
147
153
@@ -175,7 +181,7 @@ Restore point operations require Visual C++ Redistributable for Visual Studio 20
175
181
176
182
**Error message**: Restore Point creation failed as the maximum allowed snapshot limit of one or more disk blobs has been reached. Please delete some existing restore points of this VM and then retry.
177
183
178
-
The number of restore points across the restore point collections and resource groups for a VM can't exceed 500. To create a new restore point, delete the existing restore points.
184
+
The number of restore points across the restore point collections and resource groups for a VM can't exceed 500. To create a new restore point, delete the existing restore points.
179
185
180
186
### VMRestorePointClientError - Restore Point creation failed with the error "COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator".
181
187
@@ -184,10 +190,10 @@ The number of restore points across the restore point collections and resource g
184
190
**Error message**: Restore Point creation failed with the error "COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator".
185
191
186
192
Follow these steps to resolve this error:
187
-
- Open services.msc from an elevated command prompt
188
-
- Make sure that **Log On As** value for **Distributed Transaction Coordinator** service is set to **Network Service** and the service is running.
189
-
- If this service fails to start, reinstall this service.
190
193
194
+
- Open services.msc from an elevated command prompt
195
+
- Make sure that **Log On As** value for **Distributed Transaction Coordinator** service is set to **Network Service** and the service is running.
196
+
- If this service fails to start, reinstall this service.
191
197
192
198
### VMRestorePointClientError - Restore Point creation failed due to inadequate VM resources.
193
199
@@ -214,7 +220,7 @@ After you trigger creation of restore point, the compute service starts communic
214
220
**Error message**: RestorePoint creation failed since a concurrent 'Create RestorePoint' operation was triggered on the VM.
215
221
216
222
Your recent restore point creation failed because there's already an existing restore point being created. You can't create a new restore point until the current restore point is fully created. Ensure the restore point creation operation currently in progress is completed before triggering another restore point creation operation.
217
-
223
+
218
224
To check the restore points in progress, do the following steps:
219
225
220
226
1. Sign in to the Azure portal, select **All services**. Enter **Recovery Services** and select **Restore point collection**. The list of Restore point collections appears.
@@ -294,7 +300,6 @@ The VM agent might have been corrupted, or the service might have been stopped.
294
300
5. Verify that the Microsoft Azure Guest Agent services appear in services.
295
301
6. Retry the restore point operation.
296
302
297
-
298
303
Also, verify that [Microsoft .NET 4.5 is installed](/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed) in the VM. .NET 4.5 is required for the VM agent to communicate with the service.
299
304
300
305
### The agent installed in the VM is out of date (for Linux VMs)
@@ -312,8 +317,17 @@ Most agent-related or extension-related failures for Linux VMs are caused by iss
312
317
313
318
If the process isn't running, restart it by using the following commands:
314
319
315
-
- For Ubuntu: `service walinuxagent start`
316
-
- For other distributions: `service waagent start`
320
+
- For Ubuntu/Debian:
321
+
322
+
```bash
323
+
sudo systemctl start walinuxagent
324
+
```
325
+
326
+
- For other Linux distributions:
327
+
328
+
```bash
329
+
sudo systemctl start waagent
330
+
```
317
331
318
332
3.[Configure the auto restart agent](https://github.com/Azure/WALinuxAgent/wiki/Known-Issues#mitigate_agent_crash).
319
333
4. Retry the restore point operation. If the failure persists, collect the following logs from the VM:
@@ -324,13 +338,13 @@ Most agent-related or extension-related failures for Linux VMs are caused by iss
324
338
325
339
If you require verbose logging for waagent, follow these steps:
326
340
327
-
1. In the /etc/waagent.conf file, locate the following line: **Enable verbose logging (y|n)**.
341
+
1. In the `/etc/waagent.conf` file, locate the following line: **Enable verbose logging (y|n)**.
328
342
2. Change the **Logs.Verbose** value from *n* to *y*.
329
343
3. Save the change, and then restart waagent by completing the steps described earlier in this section.
330
344
331
345
### VM-Agent configuration options are not set (for Linux VMs)
332
346
333
-
A configuration file (/etc/waagent.conf) controls the actions of waagent. Configuration File Options **Extensions.Enable** should be set to **y** and **Provisioning.Agent** should be set to **auto** for restore points to work.
347
+
A configuration file (`/etc/waagent.conf`) controls the actions of waagent. Configuration File Options **Extensions.Enable** should be set to **y** and **Provisioning.Agent** should be set to **auto** for restore points to work.
334
348
For the full list of VM-Agent Configuration File Options, see https://github.com/Azure/WALinuxAgent#configuration-file-options.
335
349
336
350
### Application control solution is blocking IaaSBcdrExtension.exe
@@ -361,4 +375,4 @@ The following conditions might cause the snapshot task to fail:
361
375
3. In the **Settings** section, select **Locks** to display the locks.
362
376
4. To remove the lock, select **Delete**.
363
377
364
-
:::image type="content" source="./media/restore-point-troubleshooting/delete-lock-inline.png" alt-text="Screenshot of Delete lock in Azure portal." lightbox="./media/restore-point-troubleshooting/delete-lock-expanded.png":::
378
+
:::image type="content" source="./media/restore-point-troubleshooting/delete-lock-inline.png" alt-text="Screenshot of Delete lock in Azure portal." lightbox="./media/restore-point-troubleshooting/delete-lock-expanded.png":::
0 commit comments