Bug #48921
closedteuthology vault unzip fails on centos-8
0%
Description
While trying to test vault transit encoding on a toy centos-8 instance, I ran into another problem: unzipping the just downloaded zipfile of vault failed. The command that failed was "python -m zipfile -e /home/ubuntu/cephtest/vault.zip /home/ubuntu/cephtest/vault" and the reason that failed is that "/usr/bin/python" did not exist. This is an expected condition on centos-8, in fact there's a man page on just this: "man unversioned-python".
It's possible to fix that by using "update-alternatives", but I don't think we want to make that a requirement of all ceph installs. Using "python2 -m" "python3 -m" or "unzip" is also possible, but might not exist in all cases. The teuthology environment does not collect and save good information on the deployment host(s), so there's no really elegant way to finesse this.