]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/vault.py: unzip: try harder to find a working unzip. 39008/head
authorMarcus Watts <mwatts@redhat.com>
Wed, 13 Jan 2021 05:17:38 +0000 (00:17 -0500)
committerMarcus Watts <mwatts@redhat.com>
Thu, 21 Jan 2021 17:35:01 +0000 (12:35 -0500)
commited664a4d0be9ab0a4219eaf38458dba0961b51da
tree8afe468a503a11f66c141590792fcd0907bfa9a9
parent9e7a41f48315b46af8a88066e928b6a6cc47d56a
qa/tasks/vault.py: unzip: try harder to find a working unzip.

The existing logic uses "python -m zipfile" to unzip files.
This will (most likely) fail on CentOS 8-Stream , where python
defaults to 'unset' (see man unversioned-python).

So: try harder: try unzip, python3, and python in that order,
to find something that can unzip files.

Fixes: https://tracker.ceph.com/issues/48921
Signed-off-by: Marcus Watts <mwatts@redhat.com>
qa/tasks/vault.py