Azure / Azure/azure-quickstart-templates
Conflict while deploying on Azure ( failed to deploy master node )
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
Sorry to hear you had a bad experience with one of the templates :worried: But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue
We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
[Template Name goes here](Template link goes here)
### Issue Details
### Repro steps (*if necessary, delete otherwise*)
1. Template
2. Fill parametters
3. ' Purchase'
4. Validation passed
5. Error display ( the VMs' status is ' Conflict' but later try to login in VM with SSH or directly by Serial Console, got login successfully .
While deploying this template on Azure, it fails to deploy master node with a conflit error, in details, it was a scripting error to install elastic search.

{
"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 'installelasticsearch'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\nBegin execution of Elasticsearch script extension on master-vm2\nmaster-vm2 not found in /etc/hosts\nhostname master-vm2 added to /etc/hosts\nOption m set with value \nOption n set with value es-azure\nstarting elasticsearch setup\nInstalling Java\nRetry 0: downloading jdk-8u151-linux-x64.tar.gz\nRetry 1: downloading jdk-8u151-linux-x64.tar.gz\nRetry 2: downloading jdk-8u151-linux-x64.tar.gz\nRetry 3: downloading jdk-8u151-linux-x64.tar.gz\nRetry 4: downloading jdk-8u151-linux-x64.tar.gz\nFailed to download jdk-8u151-linux-x64.tar.gz\n\n[stderr]\nnse... 302 Moved Temporarily\nLocation: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following]\n--2018-04-04 16:02:02-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz\nResolving edelivery.oracle.com (edelivery.oracle.com)... 23.206.83.50, 2a02:26f0:6b:294::2d3e, 2a02:26f0:6b:291::2d3e\nConnecting to edelivery.oracle.com (edelivery.oracle.com)|23.206.83.50|:443... connected.\nHTTP request sent, awaiting response... 302 Moved Temporarily\nLocation: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1522857842_15990aab59731daf30521143c57be8ee [following]\n--2018-04-04 16:02:02-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1522857842_15990aab59731daf30521143c57be8ee\nConnecting to download.oracle.com (download.oracle.com)|23.206.88.107|:80... connected.\nHTTP request sent, awaiting response... 404 Not Found\n2018-04-04 16:02:02 ERROR 404: Not Found.\n\n--2018-04-04 16:02:02-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz\nResolving download.oracle.com (download.oracle.com)... 23.206.88.107\nConnecting to download.oracle.com (download.oracle.com)|23.206.88.107|:80... connected.\nHTTP request sent, awaiting response... 302 Moved Temporarily\nLocation: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following]\n--2018-04-04 16:02:02-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz\nResolving edelivery.oracle.com (edelivery.oracle.com)... 23.206.83.50, 2a02:26f0:6b:294::2d3e, 2a02:26f0:6b:291::2d3e\nConnecting to edelivery.oracle.com (edelivery.oracle.com)|23.206.83.50|:443... connected.\nHTTP request sent, awaiting response... 302 Moved Temporarily\nLocation: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1522857842_15990aab59731daf30521143c57be8ee [following]\n--2018-04-04 16:02:02-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1522857842_15990aab59731daf30521143c57be8ee\nConnecting to download.oracle.com (download.oracle.com)|23.206.88.107|:80... connected.\nHTTP request sent, awaiting response... 404 Not Found\n2018-04-04 16:02:02 ERROR 404: Not Found.\n\n--2018-04-04 16:02:02-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz\nResolving download.oracle.com (download.oracle.com)... 23.206.88.107\nConnecting to download.oracle.com (download.oracle.com)|23.206.88.107|:80... connected.\nHTTP request sent, awaiting response... 302 Moved Temporarily\nLocation: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following]\n--2018-04-04 16:02:02-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz\nResolving edelivery.oracle.com (edelivery.oracle.com)... 23.206.83.50, 2a02:26f0:6b:294::2d3e, 2a02:26f0:6b:291::2d3e\nConnecting to edelivery.oracle.com (edelivery.oracle.com)|23.206.83.50|:443... connected.\nHTTP request sent, awaiting response... 302 Moved Temporarily\nLocation: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1522857843_295cb8ff59114ba80a5c65b716c7cbda [following]\n--2018-04-04 16:02:03-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1522857843_295cb8ff59114ba80a5c65b716c7cbda\nConnecting to download.oracle.com (download.oracle.com)|23.206.88.107|:80... connected.\nHTTP request sent, awaiting response... 404 Not Found\n2018-04-04 16:02:03 ERROR 404: Not Found.\n\n\"."
}
]
}
}
Contributor guide
No contributing guide indexed for this repository
Research direction
The template reference is missing; start by identifying the affected Azure quickstart template and its VM extension named installelasticsearch. Review the deployment log, especially the failed JDK download, and reproduce the master-node deployment. Done means the template deploys the master node without the reported extension failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, elasticsearch, java
- Domain
- cloud, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100