ceph/qa/tasks
Rishabh Dave 07e493ffb5 qa/cephfs: allow reusing mount objects and add remount method
This commit introduces following two set of changes -

First, make client keyring path, mountpoint on host FS and CephFS and
CephFS's name attributes of the object representing the mount
and update all the mount object creation calls accordingly. Also,
rewrite all the mount object creation to use keyword arguments instead
of positional arguments to avoid mistakes, especially since a new
argument was added in this commit.

Second, add remount method to mount.py so that it's possible to unmount
safely, modify the attributes of the object representing the mount and
mount again based on new state of the object *in a single call*. The
method is placed in mount.py to avoid duplication.

This change has two leads to two more changes: upgrading interface of
mount() and mount_wait() and upgrading testsuites to adapt to these
change.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-09-10 17:10:51 +05:30
..
cephadm_cases mgr/orchestrator: add test command testcase for "device ls" 2020-09-03 14:53:22 +12:00
cephfs qa/cephfs: allow reusing mount objects and add remount method 2020-09-10 17:10:51 +05:30
mgr Merge pull request #35802 from rhcs-dashboard/wip-46160-fix_cephfs_api_inconsistency 2020-09-02 12:29:59 +02:00
tests qa/tasks: drop python2 support from rgw related tests 2020-07-22 11:55:49 +08:00
util qa/tasks: drop python2 support from rgw related tests 2020-07-22 11:55:49 +08:00
__init__.py
admin_socket.py
autotest.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
aver.py
barbican.py
blktrace.py
boto.cfg.template
cbt.py
ceph_client.py
ceph_deploy.py
ceph_fuse.py qa/cephfs: allow reusing mount objects and add remount method 2020-09-10 17:10:51 +05:30
ceph_manager.py qa: always use subprocess.{DEVNULL,check_output} 2020-09-03 13:09:16 +08:00
ceph_objectstore_tool.py
ceph_test_case.py qa: add exception for test timeouts 2020-08-06 11:21:54 -07:00
ceph.conf.template
ceph.py Merge pull request #36718 from ShraddhaAg/add-dir-to-archive-in-logs 2020-08-27 22:26:01 +08:00
cephadm.conf
cephadm.py Merge pull request #36527 from neha-ojha/wip-whitelist-blacklist 2020-08-25 12:24:36 -07:00
cephfs_test_runner.py
cephfs_upgrade_snap.py
check_counter.py
cifs_mount.py
cram.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
create_verify_lfn_objects.py
daemonwatchdog.py
devstack.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
die_on_err.py
divergent_priors2.py
divergent_priors.py
dnsmasq.py
dump_stuck.py
ec_lost_unfound.py
exec_on_cleanup.py
filestore_idempotent.py
fs.py blacklist -> blocklist 2020-08-24 19:53:08 +00:00
immutable_object_cache_thrash.py
immutable_object_cache.py
kclient.py qa/cephfs: allow reusing mount objects and add remount method 2020-09-10 17:10:51 +05:30
keystone.py qa/keystone: pin python-openstackclient and osc-lib 2020-07-22 19:20:00 +08:00
locktest.py
logrotate.conf
lost_unfound.py
manypools.py
mds_creation_failure.py
mds_pre_upgrade.py
mds_thrash.py
metadata.yaml
mon_clock_skew_check.py
mon_recovery.py
mon_thrash.py
multibench.py
netem.py
object_source_down.py
omapbench.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
openssl_keys.py
osd_backfill.py
osd_failsafe_enospc.py qa: log-whitelist -> log-ignorelist 2020-08-24 19:53:08 +00:00
osd_max_pg_per_osd.py
osd_recovery.py
peer.py
peering_speed_test.py
populate_rbd_pool.py
qemu.py
rados.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
radosbench.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
radosbenchsweep.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
radosgw_admin_rest.py
radosgw_admin.py
ragweed.py qa/tasks/ragweed: always set ragweed_repo 2020-07-31 13:08:56 +08:00
rbd_fio.py
rbd_fsx.py
rbd_mirror_thrash.py
rbd_mirror.py
rbd.py qa/tasks/rbd: drop python2 support 2020-07-22 11:55:49 +08:00
rebuild_mondb.py
reg11184.py
rep_lost_unfound_delete.py
repair_test.py qa: log-whitelist -> log-ignorelist 2020-08-24 19:53:08 +00:00
resolve_stuck_peering.py
restart.py
rgw_logsocket.py
rgw_multi
rgw_multisite_tests.py
rgw_multisite.py
rgw.py
s3a_hadoop.py
s3tests_java.py
s3tests.py
samba.py qa/tasks/samba: drop python2 support 2020-07-22 11:55:49 +08:00
scrub_test.py qa: log-whitelist -> log-ignorelist 2020-08-24 19:53:08 +00:00
scrub.py
systemd.py
tempest.py blacklist -> blocklist 2020-08-24 19:53:08 +00:00
teuthology_integration.py
tgt.py
thrash_pool_snaps.py
thrasher.py
thrashosds-health.yaml qa: log-whitelist -> log-ignorelist 2020-08-24 19:53:08 +00:00
thrashosds.py
tox.py
userdata_setup.yaml
userdata_teardown.yaml
vault.py qa/tasks: drop python2 support from rgw related tests 2020-07-22 11:55:49 +08:00
vstart_runner.py qa/cephfs: allow reusing mount objects and add remount method 2020-09-10 17:10:51 +05:30
watch_notify_same_primary.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
watch_notify_stress.py qa/tasks: drop python2 support 2020-07-21 19:52:11 +08:00
workunit.py qa/tasks/workunit: allow passing optional args to workunit 2020-08-22 15:26:54 +08:00