Failed on Get DLRN hash - roles/repo-setup/tasks/get-dlrn-hash.yml:18

Bug #1745906 reported by Sanjay Upadhyay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Medium
Unassigned

Bug Description

TASK [repo-setup : Get DLRN hash - passed tag] ***********************************************************************************************************************************************
task path: /home/sanjayu/workspace/tripleo-quickstart/roles/repo-setup/tasks/get-dlrn-hash.yml:18
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://trunk.rdoproject.org/centos7-master/current-tripleo-rdo/delorean.repo | grep baseurl | grep -Eo '[a-zA-Z0-9]{40}_[a-zA-Z0-9]{8}'", "delta": "0:00:00.011061", "end": "2018-01-29 03:25:27.885771", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-01-29 03:25:27.874710", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [], "warnings": ["Consider using get_url or uri module rather than running curl"]}

ON the virthost running this command manually -
[root@dell-r730-022 ~]# 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}'
17a57d99b10f5872520e1a395214f80c9cfd1a65_c30c070f

not sure why ansible->shell is returning a non zero value and thus failing the playbook

Tags: quickstart
Revision history for this message
Sanjay Upadhyay (saneax) wrote :

Running a verbose mode on ansible shows -

fatal: [undercloud]: FAILED! => {
    "changed": true,
    "cmd": "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}'",
    "delta": "0:00:00.011090",
    "end": "2018-01-29 03:32:58.909523",
    "failed": true,
    "invocation": {
        "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,
            "executable": null,
            "removes": null,
            "stdin": null,
            "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"
    ]
}

Changed in tripleo:
importance: Undecided → Medium
milestone: none → rocky-1
status: New → Triaged
Revision history for this message
Sanjay Upadhyay (saneax) wrote :

can be closed, since this was an interim infra hitch not happening any more.

Changed in tripleo:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.