summaryrefslogtreecommitdiffstats
path: root/qa (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | qa/cephfs: add and use get_ceph_cmd_result()Rishabh Dave2023-06-288-53/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To run a command and get its return value, instead of typing something as long as "self.mds_cluster.mon_manager.raw_cluster_cmd_result" add a hepler method in CephFSTestCase and use it. This makes this task very simple - "self.get_ceph_cmd_result()". Also, remove method CephFSTestCase.run_cluster_cmd_result() in favour of this new method. Signed-off-by: Rishabh Dave <ridave@redhat.com>
| * | | | | | | qa/cephfs: create admin_remote instance in CephFSTestCaseRishabh Dave2023-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | admin_remote contains lots of methods that can be useful during testing, so let's have an easy access to it too. Signed-off-by: Rishabh Dave <ridave@redhat.com>
| * | | | | | | qa/cephfs: create CephManager instance in CephFSTestCaseRishabh Dave2023-06-241-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To run a Ceph command conveniently, run_cluster_cmd(), raw_cluster_cmd() or raw_cluster_cmd_result() must be called. These methods are available in class CephManager which in turn is available only if an instance of Filesystem, MDSCluster, CephCluster or MgrCluster is initialized. Having an instance of CephManager in CephFSTestCase will provide easy access to these methods. For example, in CephFS tests writing "self.mon_manager.raw_cluser_cmd()" instead of writing "self.mds_cluster.mon_manager.raw_cluster()" will suffice. This commit provides a basis for upcoming commits in this patch series. With next patches, running Ceph command will be further simplified. Just writing self.run_ceph_cmd() will suffice for running a CephFS command. Signed-off-by: Rishabh Dave <ridave@redhat.com>
| * | | | | | | qa/cephfs: don't import entire module needlesslyRishabh Dave2023-06-241-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Importing entire module ceph_manager.py is pointless since only ceph_manager.CephManager is required in qa/tasks/cephfs/filesystem.py. Signed-off-by: Rishabh Dave <ridave@redhat.com>
* | | | | | | | Merge PR #51959 into mainVenky Shankar2023-07-131-0/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/51959/head: qa: test for session ls with filters mds: session ls command appears twice in command listing Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Dhairya Parmar <dparmar@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com>
| * | | | | | | | qa: test for session ls with filtersneeraj pratap singh2023-06-261-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/61444 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
* | | | | | | | | Merge PR #51278 into mainVenky Shankar2023-07-131-0/+39
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/51278/head: mgr/snap_schedule: rephrase log message when pruning doc: add note about snap-schedule snapshot retention qa: test user defined number of snaps retention spec mgr/snap_schedule: adapt test to new argument list doc/cephfs: Add note how mds_max_snaps_per_dir affects snapshot retention mgr/snap_schedule: Use mds_max_snaps_per_dir as snapshot count limit Reviewed-by: Dhairya Parmar <dparmar@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com>
| * | | | | | | | | qa: test user defined number of snaps retention specMilind Changire2023-06-201-0/+39
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Milind Changire <mchangir@redhat.com>
* | | | | | | | | Merge pull request #51909 from ↵Yuri Weinstein2023-07-121-6/+21
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NitzanMordhai/wip-nitzan-divergent-priors-test-3-pick-osd qa/standalone/osd/divergent-prior.sh: Divergent test 3 with pg_autoscale_mode on pick divergent osd Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
| * | | | | | | | | test: Divergent test 3 with pg_autoscale_mode on pick divergent osdNitzan Mordechai2023-06-061-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating new pool, the current code pick the divergent osd by the first pg out of pg dump pgs, that can be in "unknown" status which means the up_primary = -1 and that will fail the test. We need to wait unitl the first pg is active+clean Fixes: https://tracker.ceph.com/issues/56034 Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
* | | | | | | | | | Merge pull request #52342 from ljflores/wip-whitelist-apiNizamudeen A2023-07-121-1/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qa/tasks: set defer_client_eviction_on_laggy_osds=false in api tests Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Dhairya Parmar <dparmar@redhat.com> Reviewed-by: Nizamudeen A <nia@redhat.com>
| * | | | | | | | | | qa/tasks: set defer_client_eviction_on_laggy_osds=false in api testsLaura Flores2023-07-111-1/+5
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We expect laggy OSDs in this testing environment, so it makes sense to disable this warning. Fixes: https://tracker.ceph.com/issues/61907 Signed-off-by: Laura Flores <lflores@redhat.com>
* | | | | | | | | | Merge pull request #52345 from ljflores/wip-tracker-59057Laura Flores2023-07-125-25/+0
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | qa/suites/rados/singleton/all: remove test_envlibrados_for_rocksdb
| * | | | | | | | | qa/suites/rados/singleton/all: remove test_envlibrados_for_rocksdbLaura Flores2023-07-065-25/+0
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In rocksdb 7.0, all envlibrados files were moved to a separate repository (ref: https://github.com/facebook/rocksdb/pull/9206). The new repo is temporary and serves as an example before it is finalized where and who to host RADOS support. Since this new repo is outside of the rocksdb repo and in an unceratin state, we should remove support for it in main and Reef test suites. Quincy and below still use rocksdb 6.0, so the same does not apply. Fixes: https://tracker.ceph.com/issues/59057 Signed-off-by: Laura Flores <lflores@redhat.com>
* | | | | | | | | Merge pull request #51275 from mchangir/mon-block-osd-pool-mksnap-for-fs-poolsYuri Weinstein2023-07-071-0/+10
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mon: block osd pool mksnap for fs pools Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
| * | | | | | | | | qa: add test to verify blocking of osd pool mksnap for fs poolsMilind Changire2023-05-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Milind Changire <mchangir@redhat.com>
* | | | | | | | | | Merge pull request #52301 from adk3798/cephadm-fix-rgw-migrationAdam King2023-07-071-0/+2
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/cephadm: fix rgw spec migration with simple specs Reviewed-by: John Mulligan <jmulligan@redhat.com> Reviewed-by: Redouane Kachach <rkachach@redhat.com>
| * | | | | | | | | mgr/cephadm: fix rgw spec migration with simple specsAdam King2023-07-051-0/+2
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rgw spec migration code, intended to formalize the rgw_frontend_type spec option, doesn't work with simple specs i.e. service_type: rgw service_id: rgw.1 service_name: rgw.rgw.1 placement: label: rgw because the migration code assumes there will always be a "spec" section inside the spec. This is the case for more involved rgw specs such as service_type: rgw service_id: foo placement: label: rgw count_per_host: 2 spec: rgw_realm: myrealm rgw_zone: myzone rgw_frontend_type: "beast" rgw_frontend_port: 5000 which is what the migration is actually concerned about (verification of the rgw_frontend_type in these specs). In the case where the spec is more simple, we should just leave the spec alone and move on. Unfortunately the current code assumes the field will always be there and hits an unhandled KeyError when trying to migrate the more simple specs. This causes the cephadm module to crash shortly after starting an upgrade to a version that includes this migration and it's very difficult to find the root cause. This can be worked around by adding fields to the rgw spec before upgrade so the "spec" field exists in the spec and the migration works as intended. This commit fixes the migration in the simple case as well as adding testing for that case to both the unit tests and orch/cephadm teuthology upgrade tests Fixes: https://tracker.ceph.com/issues/61889 Signed-off-by: Adam King <adking@redhat.com>
* | | | | | | | | Merge pull request #52216 from cbodley/wip-61838Casey Bodley2023-07-067-38/+22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qa/s3tests: filter on 'sts_tests' and 'webidentity_tests' Reviewed-by: Ali Maredia <amaredia@redhat.com>
| * | | | | | | | | qa/rgw/sts: rename tasks, don't duplicate s3testsCasey Bodley2023-06-273-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | | | qa/rgw/sts: move overrides into overrides.yamlCasey Bodley2023-06-274-21/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | | | qa/s3tests: filter on 'sts_tests' and 'webidentity_tests'Casey Bodley2023-06-273-3/+6
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qa/tasks/s3tests.py was adding `not test_of_sts` and `not webidentity_test` by default, and the rgw/sts suites were adding those attrs back in `extra_attrs` when `extra_attrs` was changed to be additive, this started causing InvocationError failures instead of using `extra_attrs` to control these filters, qa/tasks/s3tests.py now uses the `sts_tests` and `webidentity_tests` flags from the sts yaml files to control whether or not the `not test_of_sts`/`not webidentity_test` attrs are added to the pytest command line Fixes: https://tracker.ceph.com/issues/61838 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | | | | | | | | qa/tasks/cbt.py: Install collectl manuallyMatan Breizman2023-07-041-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See: d4a04809fd7fd8aaf447005f76a1090db99d75c5 Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* | | | | | | | | qa/suites/crimson-rados: Introduce performance testingMatan Breizman2023-07-0429-0/+442
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* | | | | | | | Merge pull request #50667 from ivancich/wip-add-reupload-testingJ. Eric Ivancich2023-06-303-0/+236
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qa/rgw: test that multipart re-upload does not leave any orphans Reviewed-by: Cory Snyder <csnyder@iland.com>
| * | | | | | | | qa/rgw: test that multipart re-upload does not leave any orphansJ. Eric Ivancich2023-06-023-0/+236
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Runs a boto script that reuploads one part multiple times before completing and then we check for any orphans. Original boto script contributed by Matt Benjamin <mbenjami@redhat.com> on top of which modifications were made. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
* | | | | | | | Merge PR #49971 into mainVenky Shankar2023-06-282-0/+111
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/49971/head: doc/cephfs: document MDS_CLIENTS_LAGGY health warning qa: ignore warnings qa: add test cases to check client eviction if an OSD is laggy mds,messages: enable beacon to report clients lagginess mds: do not evict client on laggy osds common: add new config option to defer client eviction osd: add method to check for laggy osds Reviewed-by: Venky Shankar <vshankar@redhat.com>
| * | | | | | | qa: ignore warningsDhairya Parmar2023-05-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
| * | | | | | | qa: add test cases to check client eviction if an OSD is laggyDhairya Parmar2023-05-171-0/+108
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
* | | | | | | qa: assign file system affinity for replaced MDSVenky Shankar2023-06-271-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, the MDS that just got replaced can transition to a rank for another file system and the test cannot deterministically infer which MDS needs to checked. Fixes: http://tracker.ceph.com/issues/61764 Signed-off-by: Venky Shankar <vshankar@redhat.com>
* | | | | | | Merge pull request #52156 from cbodley/wip-qa-rgw-s3tests-extra-attrsAli Maredia2023-06-222-7/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | qa/rgw/s3tests: make extra_attrs additive
| * | | | | | | qa/s3tests: remove stale comment about rfc2616Casey Bodley2023-06-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this comment was about the old fails_strict_rfc2616 attr that was removed in 6238eaaf0bcbcaac3c8628f68c088481f96c199a Signed-off-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | qa/s3tests: clean up extra_attrs and extra_args logicCasey Bodley2023-06-221-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | qa/s3tests: make extra_attrs additiveCasey Bodley2023-06-222-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the s3tests.py task is filtering out several attrs by default. but when dbstore uses `extra_attrs` to add 'not fails_on_dbstore', it overwrites those other filters Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | | | | | | | Merge pull request #52085 from alimaredia/wip-rgw-tempest-keystone-fixCasey Bodley2023-06-223-62/+83
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tempest tests Keystone Fix Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | | qa: rgw/tempest suite only runs on ubuntu latestAli Maredia2023-06-222-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ali Maredia <amaredia@redhat.com>
| * | | | | | | | qa: update rgw openstack versionsTobias Urdin2023-06-225-63/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ali Maredia <amaredia@redhat.com>
* | | | | | | | | Merge pull request #51738 from phlogistonjohn/jjm-cephadm-new-deployAdam King2023-06-221-35/+58
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | cephadm: create a new version of the deploy command Reviewed-by: Adam King <adking@redhat.com>
| * | | | | | | | qa/workunits/cephadm: update script use use cephadm _orch deployJohn Mulligan2023-06-211-35/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cephadm _orch deploy will eventually be the only deploy method so we need to update the test script. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | | | | | | | | Merge pull request #52072 from ↵Yuri Weinstein2023-06-211-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NitzanMordhai/wip-nitzan-add-ec-clay-teuthology-tests qa: adding clay test to thrash erasure code big Reviewed-by: Neha Ojha <nojha@redhat.com>
| * | | | | | | | | qa: adding clay test to thrash erasure code bigNitzanMordhai2023-06-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we don't have any clay test in the erasure code big tests adding also clay tests. Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
* | | | | | | | | | Merge pull request #51450 from batrick/i59716Yuri Weinstein2023-06-211-4/+10
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pybind/rados: keep byte representation if decode fails Reviewed-by: Samuel Just <sjust@redhat.com> Reviewed-by: John Mulligan <jmulligan@redhat.com> Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
| * | | | | | | | | qa: test first-damage.py with binary file namePatrick Donnelly2023-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, one which cannot be decoded as utf8. Fixes: https://tracker.ceph.com/issues/59716 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
| * | | | | | | | | qa: add option to set python executablePatrick Donnelly2023-06-071-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support systems like mine with multiple python installs. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
* | | | | | | | | | Merge pull request #52109 from idryomov/wip-61616Ilya Dryomov2023-06-213-48/+120
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | librbd: avoid object map corruption in snapshots taken under I/O Reviewed-by: Mykola Golub <mgolub@suse.com>
| * | | | | | | | | | qa/workunits/rbd: make continuous export-diff test actually workIlya Dryomov2023-06-203-48/+120
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current version is pretty useless: - "rbd bench" writes the same byte (0xff) over and over again, so almost all checksumming is in vain - snapshots are taken in a steady state (i.e. not under I/O), so no race conditions can get exposed - even with these caveats, it's not wired up into the suite Redo this workunit to be a reliable reproducer for the issue fixed in the previous commit and wire it up for both krbd and rbd-nbd. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
* | | | | | | | | | Merge pull request #48209 from kamoltat/wip-ksirivad-fix-tracker-57570Yuri Weinstein2023-06-193-1/+168
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | osd/OSDMap: Check for uneven weights & != 2 buckets post stretch mode Reviewed-by: Greg Farnum <gfarnum@redhat.com>
| * | | | | | | | | qa/standalone/mon-stretch/mon-stretch-uneven-crush-weights.sh: initKamoltat2023-05-243-1/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize standalone test for stretched clusters, testing uneven weight warnings and != 2 buckets warnings. Added `wait_for_health_gone()` function in ceph-helpers.sh this function allows us to wait for health condition to disappear when doing standalone tests. Signed-off-by: Kamoltat <ksirivad@redhat.com>
* | | | | | | | | | Merge pull request #51132 from lxbsz/wip-59349Rishabh Dave2023-06-161-3/+5
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qa: wait for 100 seconds to make sure the quota to be enforced Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Rishabh Dave <ridave@redhat.com>
| * | | | | | | | | qa: wait for 100 seconds to make sure the quota to be enforcedXiubo Li2023-04-181-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The worst case in kclient the dirty caps will be held for 60 seconds, and also the MDS may defer updating the directory rstat for 5 seconds, which is per tick, maybe longer if needs to wait for mdlog to flush. Fixes: https://tracker.ceph.com/issues/59349 Signed-off-by: Xiubo Li <xiubli@redhat.com>