ceph/qa/tasks
Kotresh HR 103c7bdc70 mgr/volumes: Fail subvolume removal if it's in progress
Removing an in-progress subvolume clone with force doesn't
remove the clone index (tracker). This results in the cloner
thread to stuck in loop trying to clone the deleted one.

This patch addresses the issue by not allowing the subvolume clone
to be removed if it's not complete/cancelled/failed even with force option.
It throws the error EAGAIN, asking the user to cancel the pending clone
and retry.

Fixes: https://tracker.ceph.com/issues/51707
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2021-07-30 13:14:28 +05:30
..
cephadm_cases qa/tasks/cephadm_cases: longer wait for osd to start 2021-05-05 11:03:02 -05:00
cephfs mgr/volumes: Fail subvolume removal if it's in progress 2021-07-30 13:14:28 +05:30
mgr qa/tasks/mgr/test_orchestrator_cli: fix test 2021-07-14 16:20:11 -04:00
tests
util
__init__.py
admin_socket.py qa/tasks/admin_socket: support "foo || bar" as command 2021-06-03 14:23:46 +08:00
autotest.py
aver.py
barbican.py qa/tasks/barbican.py: fix year2021 problem 2021-01-21 13:31:27 -05:00
blktrace.py
boto.cfg.template
cbt.py
ceph_client.py
ceph_deploy.py
ceph_fuse.py qa: deep merge top level overrides for fuse/kclient 2021-06-04 19:15:12 -07:00
ceph_iscsi.py qa: add ceph iscsi test suite support 2020-12-17 20:49:21 +08:00
ceph_manager.py tasks/ceph_manager: ignore EACCES when waiting for quorum 2021-06-10 20:29:50 +08:00
ceph_objectstore_tool.py
ceph_test_case.py qa/tasks: Enhance wait_until_true() to check & retry recovery progress 2021-06-02 14:19:48 +05:30
ceph.conf.template qa: scrub a few remaining mentions of ruleset 2021-07-07 10:32:11 -04:00
ceph.py qa/tasks: Add wait_for_clean() check prior to initiating scrubbing. 2021-03-25 22:01:19 +05:30
cephadm.conf qa: scrub a few remaining mentions of ruleset 2021-07-07 10:32:11 -04:00
cephadm.py Merge PR #41007 into master 2021-05-25 16:17:44 -04:00
cephfs_mirror.py qa: move get_valgrind_args to qa 2021-03-03 09:30:08 -08:00
cephfs_test_runner.py
cephfs_upgrade_snap.py qa: add run_scrub helper in filesystem class 2021-01-09 14:56:09 +08:00
check_counter.py
cifs_mount.py
cram.py qa/tasks: get the correct clone_dir for each client 2020-12-17 20:38:48 +08:00
create_verify_lfn_objects.py
daemonwatchdog.py qa: check mounts attribute in ctx 2021-03-29 18:30:39 +05:30
devstack.py doc/dev: use http://docs.ceph.com/en/latest/ instead of /docs/master/ for docs 2020-11-24 12:49:47 +08:00
die_on_err.py
divergent_priors2.py
divergent_priors.py
dnsmasq.py
dump_stuck.py
ec_lost_unfound.py qa/tasks: Add additional wait_for_clean() check in lost_unfound tasks. 2021-03-18 13:03:41 +05:30
exec_on_cleanup.py qa: fix issues in exec_on_cleanup 2021-02-09 23:39:04 +08:00
filestore_idempotent.py
fs.py qa: wait for daemons to come up via cephadm 2021-03-21 10:35:07 -07:00
fwd_scrub.py qa: update scrub start code to use comma sep scrubopts 2021-06-09 07:23:05 -07:00
immutable_object_cache_thrash.py
immutable_object_cache.py qa: check immutable object cache content 2020-09-21 01:36:56 +08:00
kafka.py rgw: Modification in the usage of force-branch 2021-07-01 13:54:51 +05:30
kclient.py qa: deep merge top level overrides for fuse/kclient 2021-06-04 19:15:12 -07:00
keycloak.py qa/tasks: Keycloak failure checking 2021-06-14 13:27:18 +05:30
keystone.py qa/tasks/keystone.py: centos-8 bindep fix 2021-01-21 13:30:55 -05:00
kubeadm.py qa/tasks/kubeadm: install kubernetes with kubeadm 2021-05-18 11:14:14 -05:00
locktest.py
logrotate.conf
lost_unfound.py qa/tasks: Add additional wait_for_clean() check in lost_unfound tasks. 2021-03-18 13:03:41 +05:30
manypools.py
mds_creation_failure.py
mds_pre_upgrade.py
mds_thrash.py qa/tasks/mds_thrash: fix thrash iteration never skip 2021-05-24 17:17:44 +08:00
metadata.yaml
mon_clock_skew_check.py
mon_recovery.py
mon_thrash.py
multibench.py
netem.py
netsplit.py
notification_tests.py rgw: Modification in the usage of force-branch 2021-07-01 13:54:51 +05:30
object_source_down.py
omapbench.py
openssl_keys.py qa/tasks/openssl_keys.py: add subjectAltName to certificates 2020-12-02 15:44:35 -05:00
osd_backfill.py
osd_failsafe_enospc.py
osd_max_pg_per_osd.py
osd_recovery.py
peer.py
peering_speed_test.py
populate_rbd_pool.py
pykmip.py rgw/kms/kmip - correct documentation. 2021-03-03 19:14:10 -05:00
qemu.py qa/tasks/rbd: increase image size of encrypted disks 2021-01-20 16:08:17 +02:00
rabbitmq.py qa/tasks: Adding RabbitMQ task for bucket notification tests 2021-06-01 23:34:31 +05:30
rados.py qa: add missing argument parser 2021-03-29 17:15:16 +09:00
radosbench.py
radosbenchsweep.py
radosgw_admin_rest.py rgw: fixes BucketInfo for missing buckets 2020-10-12 13:50:06 +03:00
radosgw_admin.py
ragweed.py
rbd_fio.py
rbd_fsx.py qa: move get_valgrind_args to qa 2021-03-03 09:30:08 -08:00
rbd_mirror_thrash.py
rbd_mirror.py qa: move get_valgrind_args to qa 2021-03-03 09:30:08 -08:00
rbd.py qa/tasks/rbd: fix xfstests_branch/url example 2021-02-27 15:25:39 +01:00
rebuild_mondb.py qa/tasks/rebuild_mondb: fix rebuild vs logmonitor external_log_to 2021-07-13 14:44:57 -04:00
reg11184.py
rep_lost_unfound_delete.py qa/tasks: Add additional wait_for_clean() check in lost_unfound tasks. 2021-03-18 13:03:41 +05:30
repair_test.py qa: improve usability of do_rados helper 2021-03-21 10:35:07 -07:00
resolve_stuck_peering.py
restart.py
rgw_logsocket.py
rgw_multi
rgw_multisite_tests.py qa/rgw: add 'branch' option to rgw-multisite-tests task 2021-02-17 09:01:05 -05:00
rgw_multisite.py
rgw.py rgw: D3N Cache changes for Upstream 2021-07-06 21:36:06 +03:00
rook-ceph.conf qa/tasks/rook: archive logs 2021-05-18 15:19:16 -05:00
rook.py qa/tasks/rook: ROOK_HOSTPATH_REQUIRES_PRIVILEGED=true on centos 2021-05-18 15:19:16 -05:00
s3a_hadoop.py
s3tests_java.py
s3tests.py rgw/kms/vault - s3tests for both old and new test logic. 2021-03-05 23:05:13 -05:00
samba.py
scrub_test.py qa: choose victim pg from rbd pool 2021-06-11 20:07:22 -07:00
scrub.py
systemd.py
tempest.py
teuthology_integration.py
tgt.py
thrash_pool_snaps.py
thrasher.py
thrashosds-health.yaml
thrashosds.py
tox.py
userdata_setup.yaml qa/tasks/qemu: precise repos have been archived 2021-06-01 12:54:16 +02:00
userdata_teardown.yaml
vault.py rgw/kms/vault - s3tests for both old and new test logic. 2021-03-05 23:05:13 -05:00
vip.py qa/tasks/vip: add 'vip.exec' task 2021-05-19 08:43:14 -04:00
vstart_runner.py Merge PR #42029 into master 2021-07-13 08:07:22 -07:00
watch_notify_same_primary.py
watch_notify_stress.py
workunit.py test: Add test for mgr hang when osd is full 2021-05-22 19:09:07 +05:30