mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
qa/workunits/rbd: fixed python interpreter for EL8
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
37f771cffb
commit
5116a77f5d
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user