]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
build_utils: fix collect_ceph_logs function 2073/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 16 Sep 2022 08:36:08 +0000 (10:36 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 16 Sep 2022 08:41:21 +0000 (10:41 +0200)
commit14f91f9d7a2b2bd9ca17cc1a89b5a48191e46d1f
tree476a71ef8886f1163000f0cef379791df2ca7402
parent240d19e085d7f3dfea7c5a92280b16b553ae373b
build_utils: fix collect_ceph_logs function

typical error from ceph-volume tests:

```
ERROR! the playbook: /home/jenkins-build/build/workspace/ceph-volume-prs-lvm-centos8-bluestore-dmcrypt/tests/functional/collect-logs.yml could not be found
```

Since `collect-logs.yml` is maintained in ceph-ansible repository,
when `collect_ceph_logs` is called from a job different from
ceph-ansible, the path is incorrect.
The idea is to make ceph-volume jobs override this path.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-volume-ansible-prs/build/teardown
ceph-volume-nightly/build/teardown
ceph-volume-scenario/build/teardown
scripts/build_utils.sh