Azure / Azure/azure-quickstart-templates

OpenLDAP , Failed with error: No closing quotation

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

Description

While deploying openLDAP Cluster
https://github.com/Azure/azure-quickstart-templates/tree/master/openldap-cluster-ubuntu

`{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'newuserscript'. Error message: \"Enable failed: Failed with error: No closing quotation, Traceback (most recent call last):\n File \"/var/lib/waagent/Microsoft.OSTCExtensions.CustomScriptForLinux-1.4.1.0/customscript.py\", line 83, in main\n daemon(hutil)\n File \"/var/lib/waagent/Microsoft.OSTCExtensions.CustomScriptForLinux-1.4.1.0/customscript.py\", line 293, in daemon\n args = parse_args(cmd)\n File \"/var/lib/waagent/Microsoft.OSTCExtensions.CustomScriptForLinux-1.4.1.0/customscript.py\", line 569, in parse_args\n args = shlex.split(cmd)\n File \"/usr/lib/python2.7/shlex.py\", line 279, in split\n return list(lex)\n File \"/usr/lib/python2.7/shlex.py\", line 269, in next\n token = self.get_token()\n File \"/usr/lib/python2.7/shlex.py\", line 96, in get_token\n raw = self.read_token()\n File \"/usr/lib/python2.7/shlex.py\", line 172, in read_token\n raise ValueError, \"No closing quotation\"\nValueError: No closing quotation\n\"."
}
]
}
}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked openldap-cluster-ubuntu template and trace the newuserscript Custom Script extension command. Reproduce the deployment and inspect the Python 2.7 shlex.split traceback; done means the cluster deploys without the “No closing quotation” VM extension failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, linux, python
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.