Azure / Azure/custom-script-extension-linux

How do I prevent: VMExtensionProvisioningTimeout

Open
#172 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
113
Forks
46
Avg merge
6d 3h
Merged PRs (30d)
3

Description

My extension script for linux is working just fine, its just that it takes more than 90 minutes to complete or maybe its because at the end of the script there is a reboot command to reboot the server.

Is there a way this script can do periodic curl POST to some api in azure provisioning to let it know its install is progressing well so that azure does not report this error? The install works great, its just that azure is reporting this error.

I get the following deployment error
```
{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMExtensionProvisioningTimeout",
"message": "Provisioning of VM extension InstallLinuxSrvTierAddons.sh has timed out. Extension provisioning has taken too long to complete. The extension last reported \"Plugin enabled\".\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot"
}
]
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.