-
Notifications
You must be signed in to change notification settings - Fork 194
Openshift 3.11 fails with exit status=2 #174
Description
Describe the bug
The template based installation fails with exit status=2
To Reproduce
Steps to reproduce the behavior:
Always when i run installation with template it fails.
az group deployment create --name OpenShiftAzure_Cluster3 -g OpenShiftAzure_Group2
--template-uri https://raw.githubusercontent.com/Microsoft/openshift-container-platform/master/azuredeploy.json
--parameters @./azuredeploy.parameters.json
Deployment failed. Correlation ID: 7626e2d1-a06b-4a59-84e4-a7d8e8e40b99. {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug 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 afailure when processing extension 'deployOpenShift'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=2\n[stdout]\nWed Jul 3 04:34:31 UTC 2019 - Starting Script\nWed Jul 3 04:34:32 UTC 2019 - Configuring SSH ControlPath to use shorter path name\nWed Jul 3 04:34:32 UTC 2019 - Cloning Ansible playbook repository\nCloning into 'openshift-container-platform-playbooks'...\n - Retrieved playbooks successfully\nWed Jul 3 04:34:34 UTC 2019 - Create variable for routing certificate based on certificate type\nWed Jul 3 04:34:34 UTC 2019 - Create variable for master api certificate based on certificate type\nWed Jul 3 04:34:34 UTC 2019 - Create variable for master cluster address based on cluster type\nWed Jul 3 04:34:34 UTC 2019 - Creating Master nodes grouping\nWed Jul 3 04:34:34 UTC 2019 - Creating Infra nodes grouping\nWed Jul 3 04:34:34 UTC 2019 - Creating Nodes grouping\nWed Jul 3 04:34:34 UTC 2019 - Create Ansible Hosts file\nWed Jul 3 04:34:34 UTC 2019 - Running DNS Hostname resolution check\n\nPLAY [all] *********************************************************************\n\nTASK [Wait for DNS hostname resolution - will try for up to 33 minutes] ********\nfatal: [devopenshift2-master01]: FAILED! => {\"changed\": false, \"elapsed\": 2000, \"msg\": \"Timeout when waiting for devopenshift2-master01:22\"}\nfatal: [devopenshift2-infra01]: FAILED! => {\"changed\": false, \"elapsed\": 2000, \"msg\": \"Timeout when waiting for devopenshift2-infra01:22\"}\nfatal: [devopenshift2-node01]: FAILED! => {\"changed\": false, \"elapsed\": 2000, \"msg\": \"Timeout when waiting for devopenshift2-node01:22\"}\n\nPLAY RECAP *********************************************************************\ndevopenshift2-infra01 : ok=0 changed=0 unreachable=0 failed=1 \ndevopenshift2-master01 : ok=0 changed=0 unreachable=0 failed=1 \ndevopenshift2-node01 : ok=0 changed=0 unreachable=0 failed=1 \n\n\n[stderr]\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 00 --:--:-- --:--:-- --:--:-- 0\r100 10 100 10 0 0 1522 0 --:--:-- --:--:-- --:--:-- 1666\n [WARNING]: Could not create retry file '/home/infyadmin/openshift-container-\nplatform-playbooks/check-dns-host-name-resolution.retry'. [Errno 13]\nPermission denied: u'/home/infyadmin/openshift-container-platform-playbooks\n/check-dns-host-name-resolution.retry'\n\"."\r\n }\r\n ]\r\n }\r\n}"
}
]
}
]
}
}
Expected behavior
It should deploy openshift
Screenshots
If applicable, add screenshots to help explain your problem.
stdout
Include the last 100 lines of stdout from Bastion host - see troubleshooting https://docs.microsoft.com/en-us/azure/virtual-machines/linux/openshift-troubleshooting
Template Information (please complete the following information):
- OS: RedHat 7.6 latest
Additional context
Add any other context about the problem here.