Skip to content

Commit 9a5a5f1

Browse files
authored
Merge pull request #114047 from dcurwin/a-may6-2020
VM troubleshooting
2 parents 4bdf726 + d500a49 commit 9a5a5f1

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

articles/backup/backup-azure-troubleshoot-vm-backup-fails-snapshot-timeout.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ After you register and schedule a VM for the Azure Backup service, Backup starts
4040

4141
**Cause 4: [VM-Agent configuration options are not set (for Linux VMs)](#vm-agent-configuration-options-are-not-set-for-linux-vms)**
4242

43+
**Cause 5: [Application control solution is blocking IaaSBcdrExtension.exe](#application-control-solution-is-blocking-iaasbcdrextensionexe)**
44+
4345
## UserErrorVmProvisioningStateFailed - The VM is in failed provisioning state
4446

4547
**Error code**: UserErrorVmProvisioningStateFailed<br>
@@ -198,6 +200,14 @@ If you require verbose logging for waagent, follow these steps:
198200
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 Backup to work.
199201
For full list of VM-Agent Configuration File Options, see <https://github.com/Azure/WALinuxAgent#configuration-file-options>
200202

203+
### Application control solution is blocking IaaSBcdrExtension.exe
204+
205+
If you are running [AppLocker](https://docs.microsoft.com/windows/security/threat-protection/windows-defender-application-control/applocker/what-is-applocker) (or another application control solution), and the rules are publisher or path based, they may block the **IaaSBcdrExtension.exe** executable from running.
206+
207+
#### Solution
208+
209+
Exclude the `/var/lib` path or the **IaaSBcdrExtension.exe** executable from AppLocker (or other application control software.)
210+
201211
### <a name="the-snapshot-status-cannot-be-retrieved-or-a-snapshot-cannot-be-taken"></a>The snapshot status can't be retrieved, or a snapshot can't be taken
202212

203213
The VM backup relies on issuing a snapshot command to the underlying storage account. Backup can fail either because it has no access to the storage account, or because the execution of the snapshot task is delayed.

articles/backup/backup-azure-vms-troubleshoot.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@ Restart VSS writers that are in a bad state. From an elevated command prompt, ru
9393
* ```net stop serviceName```
9494
* ```net start serviceName```
9595

96+
Another procedure that can help is to run the following command from an elevated command-prompt (as an administrator).
97+
98+
```CMD
99+
REG ADD "HKLM\SOFTWARE\Microsoft\BcdrAgentPersistentKeys" /v SnapshotWithoutThreads /t REG_SZ /d True /f
100+
```
101+
102+
Adding this registry key will cause the threads to be not created for blob-snapshots, and prevent the time-out.
103+
96104
## ExtensionConfigParsingFailure - Failure in parsing the config for the backup extension
97105

98106
Error code: ExtensionConfigParsingFailure<br/>

0 commit comments

Comments
 (0)