ceph/qa/workunits/rgw/run-versioning.sh
Cory Snyder 38133e59d2 rgw: cancel olh modification by removing pending xattrs in set_olh error scenarios
Makes request threads clean up after themselves and remove their pending
xattrs from OLH objects before they return an error from set_olh.

Fixes: https://tracker.ceph.com/issues/59663
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
2023-07-04 09:44:04 +00:00

20 lines
335 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
# assume working ceph environment (radosgw-admin in path) and rgw on localhost:80
# localhost::443 for ssl
mydir=`dirname $0`
python3 -m venv $mydir
source $mydir/bin/activate
pip install pip --upgrade
pip install boto3
## run test
$mydir/bin/python3 $mydir/test_rgw_versioning.py
deactivate
echo OK.