-
Bug
-
Resolution: Fixed
-
Highest (View bug fix roadmap)
-
7.0.9, 7.7.0
-
7
-
1
-
Severity 2 - Major
-
== PROBLEM DESCRIPTION ==
Deployment of "Jira Software Data Center" from Azure Marketplace is failing with following error:
{ "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 'prepare-install-script'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=3\n[stdout]\nE: The repository 'http://azure.archive.ubuntu.com/ubuntu zesty Release' does no longer have a Release file.\nE: The repository 'http://azure.archive.ubuntu.com/ubuntu zesty-updates Release' does no longer have a Release file.\nE: The repository 'http://azure.archive.ubuntu.com/ubuntu zesty-backports Release' does no longer have a Release file.\nE: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file.\nE: Failed to fetch [http://azure.archive.ubuntu.com/ubuntu/pool/universe/libo/libonig/libonig4_6.1.3-1_amd64.deb] 404 Not Found\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n./prepare_install.sh: line 406: jq: command not found\n./prepare_install.sh: line 406: jq: command not found\n./prepare_install.sh: line 406: jq: command not found\n./prepare_install.sh: line 406: jq: command not found\n./prepare_install.sh: line 406: jq: command not found\n[validate]: response was not valid: /status/000/\n\n[stderr]\n\"." } ] } }
== DIAGNOSIS ==
- The VMExtensionProvisioningError comes down to the point where jq command fails to execute when prepare_install.sh script attempts to run it within the prepare_env()
- Prior to the prepare_env(), install_jq() is called and it should have installed the jq package:
function install_jq { apt-get update apt-get -qqy install jq }
- The error message also mention that Ubuntu is unable to fetch from azure.archive.ubuntu.com and security.ubuntu.com repositories. Combining with the Ubuntu release (17.04) we are using, which reached its end of life on 13th Jan 2018, that explain why Ubuntu packages are not accessible and leading to this issue surfacing now.
== REFERENCES ==
http://wimantis.ninja/fixing-ubuntu-17-04-apt-get-update-release-file-not-found/
Are there any templates for the Windows Platform?