Technical Forum
Ask questions. Discover Answers.
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Azure Payg 3nic - Existing Stack Azure template extension failed


Hi all.

Need your help to know why is this failing. When I deploy the PAYG template the extension installation fails with
"**_Status Message: VM has reported a failure when processing extension 'start'. Error message: "Enable failed: failed to execute command: command terminated with exit status=1

/bin/sh: -c: line 109: unexpected EOF while looking for matching `''
/bin/sh: -c: line 110: syntax error: unexpected end of file

More information on troubleshooting is available at (Code:VMExtensionProvisioningError)_**"

I´m running this version:
"f5CloudLibsTag": "v4.27.1",
"f5CloudLibsAzureTag": "v2.17.1",
"f5NetworksTag": "v10.2.0.0",

Many thanks!


Hi @Juancho ,

Not sure if these options can help tshoot your issue, you can try these basic steps also look into the Azure logs for more details of your issue.

Option 1

This looks like to be issue from extension deployment during the VM  deployment. Most of the time, the issue should get resolved when you retry the deployment.

If the issue persists even after the re-try, as this is more of an technical issue rather than a Programming issue, I would recommend you to create an technical support case to Azure technical teams. They would help you with resolving the issue.

Reference to create a Support ticket to Azure Support teams :

Azure portal: In the portal, select the VM and in the left pane under the Support + troubleshooting, select Redeploy + reapply, then select Reapply.

Option 2

One of the reasons that the deployment for virtual machine initiated failed could be due to the virtual CPU quota being exceeded for the requested resource.

Please follow the steps in this document to check your subscription limits and quotas:

In case this is the reason, you would need to request quota increase to resolve this issue. The steps are described here.

Also, please note that the quota increment depends on the volume of demand in the region.

Please check the quota and let me know if you are still seeing issues.





@Juancho  - did @F5_Design_Engineer's reply help you out? If no, let us know! If yes, please make sure to click Accept as Solution so future users with the same challenge can easily find the answer. 🙂

Hi @F5_Design_Engineer and @Leslie_Hubertus Unfortunately it didn´t resolve the issue. No matter if I retry the deployment or I try with a bigger VM. The error says

"/bin/sh: -c: line 109: unexpected EOF while looking for matching `''
/bin/sh: -c: line 110: syntax error: unexpected end of file"

To me the error indicates that somewhere in the code there is an extra (') but F5 extension is very complex and it will takes a lot of time for me to find the error. I will open the case with MS but I don´t think they can help me.

Please, try and deploy using You will see it will fail no matter you try


@Juancho - OK. Hopefully, @F5_Design_Engineer knows what to try next. Any help I can find you probably won't come until next week. 

Community Manager
Community Manager

what does your deploy command look like with the options (you can santize, just need some dummy values to see how you're executing.)? Also, I'd recommend opening an issue on the github repo so the authors have eyes on this if it is a larger issue that you've encountered.