Failed on Get DLRN hash - roles/repo-setup/tasks/get-dlrn-hash.yml:18
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Medium
|
Unassigned |
Bug Description
TASK [repo-setup : Get DLRN hash - passed tag] *******
task path: /home/sanjayu/
Monday 29 January 2018 03:25:22 +0000 (0:00:00.045) 0:00:09.737 ********
fatal: [undercloud]: FAILED! => {"changed": true, "cmd": "curl -s https:/
ON the virthost running this command manually -
[root@dell-r730-022 ~]# curl -s https:/
17a57d99b10f587
not sure why ansible->shell is returning a non zero value and thus failing the playbook
Changed in tripleo: | |
importance: | Undecided → Medium |
milestone: | none → rocky-1 |
status: | New → Triaged |
Running a verbose mode on ansible shows -
fatal: [undercloud]: FAILED! => { /trunk. rdoproject. org/centos7- master/ current- tripleo- rdo/delorean. repo | grep baseurl | grep -Eo '[a-zA- Z0-9]{40} _[a-zA- Z0-9]{8} '",
"module_ args": {
"_ raw_params" : "curl -s https:/ /trunk. rdoproject. org/centos7- master/ current- tripleo- rdo/delorean. repo | grep baseurl | grep -Eo '[a-zA- Z0-9]{40} _[a-zA- Z0-9]{8} '",
"_ uses_shell" : true,
"chdir" : null,
"creates" : null,
"executabl e": null,
"removes" : null,
"stdin" : null,
"changed": true,
"cmd": "curl -s https:/
"delta": "0:00:00.011090",
"end": "2018-01-29 03:32:58.909523",
"failed": true,
"invocation": {
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2018-01-29 03:32:58.898433",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": [],
"warnings": [
"Consider using get_url or uri module rather than running curl"
]
}