Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Data Center Installation failed using Azure market place.

Hello, when we tried creating a Jira Data center using the Azure template available in the market place it failed with "resource deployment faileure"error.

Please advise.

3 answers

1 accepted

5 votes
Answer accepted

As of January 15, 2020, there were some changes made in Azure pipelines which changed the way the Maven Central Repository handled insecure communications over HTTP. It's now required that all requests are encrypted over HTTPS. This change broke the existing Azure templates.

Our developer has already corrected this and provided fixed versions of the template in our public repo: https://bitbucket.org/atlassian/atlassian-azure-deployment/src/master/, however, it's taking some time to get these updated in Azure's Marketplace.

Work Around


In the meantime, you can continue to deploy from the public git repo as it contains the latest templates where this is fixed. You can use the Deploy to Azure Button to deploy without the need to install any software/dependencies. Here's what you need to do:

  1. Under the root folder there is a folder for each application ie Jira, Confluence, etc
  2. Select the desired application to deploy.
  3. Click the Deploy to Azure button which will automatically re-route you to the Azure Portal.
  4. Log on with your account and you will see full list of parameters which you can configure as you see fit.

Another alternative, may be using the Azure CLI to deploy. The exact instructions are found in the repo or directly via this link: https://bitbucket.org/atlassian/atlassian-azure-deployment/src/92f16dd8d1901751ec6e033b72c4fd678c20d443/DEVELOPING.md. You can choose one of the following methods, depending on which tools you're comfortable with:

Both methods contain recommendations for overriding default deployment configurations through a custom parameters template. You can review the mainTemplate.json file in each product directory to see what parameters you can override to customize your deployment.

Apologies for the inconvenience, we hope to have the templates updated soon. 

- Jennifer

FYI, this issue has been addressed in the latest version of the Azure templates. If you are still seeing this problem, please download the latest templates and attempt the deploy again. If you are still seeing issues after attempting with the new template, please reach out to our support teams for assistance. 

- Jennifer 

I've found that the problem could be stemming from the "prepare-install-script.sh" This is the log I got: 

{"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 'prepare-install-script'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 1096k 100 1096k 0 0 8984k 0 --:--:-- --:--:-- --:--:-- 8984k\\ncp: 'mssql-jdbc-7.2.1.jre8.jar' and '/var/lib/waagent/custom-script/download/0/mssql-jdbc-7.2.1.jre8.jar' are the same file\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 133 100 133 0 0 1900 0 --:--:-- --:--:-- --:--:-- 1900\\ncp: 'postgresql-42.2.6.jar' and '/var/lib/waagent/custom-script/download/0/postgresql-42.2.6.jar' are the same file\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r 53 154k 53 85139 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k\\r100 154k 100 154k 0 0 326k 0 --:--:-- --:--:-- --:--:-- 325k\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 133 100 133 0 0 9500 0 --:--:-- --:--:-- --:--:-- 9500\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 133 100 133 0 0 9500 0 --:--:-- --:--:-- --:--:-- 9500\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 7066 100 7066 0 0 44440 0 --:--:-- --:--:-- --:--:-- 44440\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 133 100 133 0 0 9500 0 --:--:-- --:--:-- --:--:-- 9500\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 133 100 133 0 0 9500 0 --:--:-- --:--:-- --:--:-- 9500\\nException in thread \\\"main\\\" java.lang.NoClassDefFoundError: org/apache/commons/lang/Validate\\n\\tat com.atlassian.security.password.DefaultPasswordEncoder.encodePassword(DefaultPasswordEncoder.java:102)\\n\\tat jdk.nashorn.internal.scripts.Script$generate_password.:program(generate-password.js:1)\\n\\tat jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)\\n\\tat jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)\\n\\tat jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)\\n\\tat jdk.nashorn.tools.Shell.apply(Shell.java:471)\\n\\tat jdk.nashorn.tools.Shell.runScripts(Shell.java:400)\\n\\tat jdk.nashorn.tools.Shell.run(Shell.java:179)\\n\\tat jdk.nashorn.tools.Shell.main(Shell.java:143)\\n\\tat jdk.nashorn.tools.Shell.main(Shell.java:119)\\nCaused by: java.lang.ClassNotFoundException: org.apache.commons.lang.Validate\\n\\tat java.net.URLClassLoader.findClass(URLClassLoader.java:382)\\n\\tat java.lang.ClassLoader.loadClass(ClassLoader.java:419)\\n\\tat java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:817)\\n\\tat java.lang.ClassLoader.loadClass(ClassLoader.java:352)\\n\\t... 10 more\\n[run_password_generator]: Error running the password generator!\\nError: Invalid or corrupt jarfile liquibase-core-3.5.3.jar\\n[apply_database_dump]: Liquibase dump failed with and error. Check logs and rectify!!\\n\\n[stderr]\\n\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"}]}

Thank you @Jorge_Gallardo , this is the same error I get but how do we fix it?

I am seeing this problem as well while trying to evaluate Jira Data Center deployment to Azure.  Definitely a problem with their deployment template...hopefully this gets resolved soon.

Like taiwo_ojo likes this

Hi,

Exactly the same issue here.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you