Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14.01k stars 16.1k forks source link

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. #5445

Open TRViana opened 5 years ago

TRViana commented 5 years ago

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!

nilaydshah commented 5 years ago

The ARM template is defined in generic way to support any VM OS. But looks like in Windows 2016 Datacenter is taking more time to get Guest Agent available and hence configure protection is failing. I don't think there's way to add time-wait in ARM template. Let me check and get back on why on this specific OS version there's delay in Guest Agent availability.

JulianHayward commented 5 years ago

are there any news on this one?