Collect logs failing to collect logs

Bug #1908054 reported by Amol Kahat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Critical
Unassigned

Bug Description

Ansible collect-logs are failing to collect logs

Ansible role expect doc-requirements.txt file which is not present.

```
TASK [collect-logs : Ensure required python packages are installed] ************
task path: /home/zuul/workspace/.quickstart/share/ansible/roles/collect-logs/tasks/create-docs.yml:3
Monday 14 December 2020 09:24:57 +0000 (0:00:00.064) 0:11:05.841 *******
Using module file /home/zuul/workspace/.quickstart/lib/python3.6/site-packages/ansible/modules/packaging/language/pip.py
Pipelining is enabled.
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: zuul
<localhost> EXEC /bin/sh -c '/usr/libexec/platform-python && sleep 0'
fatal: [localhost]: FAILED! => {
    "changed": false,
    "cmd": [
        "/home/zuul/workspace/.quickstart/bin/pip",
        "install",
        "-r",
        "/home/zuul/workspace/.quickstart/usr/local/share/ansible/roles/collect-logs/docs/doc-requirements.txt"
    ],
    "invocation": {
        "module_args": {
            "chdir": null,
            "editable": false,
            "executable": "/home/zuul/workspace/.quickstart/bin/pip",
            "extra_args": null,
            "name": null,
            "requirements": "/home/zuul/workspace/.quickstart/usr/local/share/ansible/roles/collect-logs/docs/doc-requirements.txt",
            "state": "present",
            "umask": null,
            "version": null,
            "virtualenv": null,
            "virtualenv_command": "virtualenv",
            "virtualenv_python": null,
            "virtualenv_site_packages": false
        }
    }
}

MSG:

:stderr: ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/home/zuul/workspace/.quickstart/usr/local/share/ansible/roles/collect-logs/docs/doc-requirements.txt
```

[1] https://d4f7229cf537dfa7a718-5d536abf72aff82bfe9baaa706f73d7c.ssl.cf2.rackcdn.com/757836/22/gate/tripleo-ci-centos-8-scenario000-multinode-oooq-container-upgrades-ussuri/c775d0c/logs/quickstart_collect_logs.log

[2] https://logserver.rdoproject.org/87/766887/1/openstack-check/tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001/2b82fa3/logs/quickstart_collect_logs.log

Tags: alert
Amol Kahat (amolkahat)
Changed in tripleo:
importance: Undecided → Critical
Changed in tripleo:
status: New → Triaged
Amol Kahat (amolkahat)
Changed in tripleo:
milestone: none → wallaby-rc1
Revision history for this message
yatin (yatinkarel) wrote :
Revision history for this message
yatin (yatinkarel) wrote :

https://review.opendev.org/c/openstack/ansible-role-collect-logs/+/768309 should clear the issue, there is other patch https://review.opendev.org/c/openstack/ansible-role-collect-logs/+/766964 too which is trying to change how path is used, if needed that can be considered as a follow up.

Revision history for this message
yatin (yatinkarel) wrote :
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ansible-role-collect-logs 1.3.0

This issue was fixed in the openstack/ansible-role-collect-logs 1.3.0 release.

Changed in tripleo:
milestone: xena-1 → xena-2
Changed in tripleo:
milestone: xena-2 → xena-3
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.