Azure / Azure/azure-quickstart-templates

When using the teamplate: azure-quickstart-templates / 101-recovery-services-create-vm-and-configure-backup / azuredeploy.json we have issues to deploy the Azure Backups when using a Win 2016 OS image - Agent fails to communicate timely, OS 2012 R2 is OK.

Open
#5,445 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Templates:
[azure-quickstart-templates / 101-recovery-services-create-vm-and-configure-backup / azuredeploy.json]
(https://github.com/Azure/azure-quickstart-templates/blob/master/101-recovery-services-create-vm-and-configure-backup/azuredeploy.json)

### Issue Details
Customer that is using a Microsoft template deployment to automatically create the VM and enable the backup.
The template deployment is failing with the following error:
'code': 'UserErrorGuestAgentStatusUnavailable',
'message': 'VM agent is unable to communicate with the Azure Backup Service.'
The issue occurs only when OS selected is Windows 2016 Datacenter, if we choose Windows 2012 R2 the deployment is successful.
After VM creation the agent is not ready, which leads to a failure in the backup configuration

Probably adding a time-wait (if possible) after configuring and deployment to allow the VM Guest agent to be ready, it could solve the issue.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with 101-recovery-services-create-vm-and-configure-backup/azuredeploy.json and reproduce the deployment using the Windows 2016 Datacenter image, then compare it with Windows 2012 R2. Inspect the ordering and readiness assumptions between VM creation and backup configuration. Done means the Windows 2016 deployment completes backup configuration successfully while the existing Windows 2012 R2 behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.