]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: fixed python interpreter for EL8 32409/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 23 Dec 2019 20:23:49 +0000 (15:23 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 23 Dec 2019 20:23:49 +0000 (15:23 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/permissions.sh

index cf836848065eaf38c35293d2640e6318e560af3f..68144d2b9402e588a0fd00a77e8db6b0a06be305 100755 (executable)
@@ -165,7 +165,7 @@ create_self_managed_snapshot() {
   ID=$1
   POOL=$2
 
-  cat << EOF | CEPH_ARGS="-k $KEYRING" python
+  cat << EOF | CEPH_ARGS="-k $KEYRING" python3
 import rados
 
 cluster = rados.Rados(conffile="", rados_id="${ID}")
@@ -181,7 +181,7 @@ remove_self_managed_snapshot() {
   ID=$1
   POOL=$2
 
-  cat << EOF | CEPH_ARGS="-k $KEYRING" python
+  cat << EOF | CEPH_ARGS="-k $KEYRING" python3
 import rados
 
 cluster1 = rados.Rados(conffile="", rados_id="mon_write")