-
Notifications
You must be signed in to change notification settings - Fork 157
Description
I get this error when trying to deploy:
Deployment to resource group '2-tier-demo-rg' failed.
Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "VMExtensionProvisioningError",\r\n "message": "VM has reported a failure when processing extension 'db-vm-customscript'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\n\n[stderr]\nE: can not open /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_InRelease - fopen (2: No such file or directory)\nTraceback (most recent call last):\n File \"config_mysql.py\", line 190, in \n main()\n File \"config_mysql.py\", line 36, in main\n if (config_mysql() == 'false'):\n File \"config_mysql.py\", line 64, in config_mysql\n looger.info(\"[ERROR]: apt-get update error\")\nNameError: global name 'looger' is not defined\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "\r\n }\r\n ]\r\n }\r\n}"}]}