summaryrefslogtreecommitdiffstats
path: root/qa/tasks/thrashosds.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* thrashers: standardize stop and join method namesNitzan Mordechai2024-08-061-1/+1
| | | | | | | | | | | | | Thrashers that do not inherit from ThrasherGreenlet previously used a method called do_join, which combined stop and join functionality. To ensure consistency and clarity, we want all thrashers to use separate stop, join, and stop_and_join methods. This commit renames methods and implements missing stop and stop_and_join methods in thrashers that did not inherit from ThrasherGreenlet. Fixes: https://tracker.ceph.com/issues/66698 Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
* qa/tasks/ceph_manager.py: init test_min_size_durationKamoltat2023-10-191-0/+3
| | | | | | | | | Added comment about test_min_size_duration in qa/tasks/thrashosds. But also use the variable in ceph_manager.py Signed-off-by: Kamoltat <ksirivad@redhat.com>
* qa/tasks: logger.warn() -> logger.warning()Michael Fritch2020-05-141-1/+1
| | | | | | logger.warn() is the same as logger.warning(), but was removed in py3.3 Signed-off-by: Michael Fritch <mfritch@suse.com>
* qa/tasks/thrashosds: fix imports for py3Kyr Shatskyy2020-03-041-1/+1
| | | | Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
* qa/tasks: drop/update name from ThrasherJos Collin2019-11-271-0/+1
| | | | | | | * Dropped name setter and property from Thrasher base class * Updated each Thrasher class with a name attribute Signed-off-by: Jos Collin <jcollin@redhat.com>
* qa/tasks: introduce Thrasher base classJos Collin2019-08-211-1/+1
| | | | | | | | | | | | * Introduced a Thrasher base class. * Updated thrashers to inherit from Thrasher. * Replaced the magic variable e with Thrasher.exception as per the discussion. Now the exception variable sets by default as the thrashers are inheriting from the Thrasher class. Fixes: https://github.com/ceph/ceph/pull/28378#discussion_r309337928 Fixes: https://tracker.ceph.com/issues/41133 Signed-off-by: Jos Collin <jcollin@redhat.com>
* qa/tasks: manage thrashersJos Collin2019-08-061-0/+1
| | | | | | | | * Added daemons to thrashers * Join the mds thrasher, as the other thrashers did Fixes: http://tracker.ceph.com/issues/10369 Signed-off-by: Jos Collin <jcollin@redhat.com>
* mgr/DaemonServer: add option to bypass careful throttling for thrasherSage Weil2018-10-201-0/+13
| | | | Signed-off-by: Sage Weil <sage@redhat.com>
* qa/tasks/thrashosds: support merging pgs tooSage Weil2018-09-071-0/+2
| | | | Signed-off-by: Sage Weil <sage@redhat.com>
* qa/tasks/thrashosds: set min_in default to 4Sage Weil2017-11-011-1/+1
| | | | | | | We have EC tests with k=2,m=2, so we need a min of 4. Fixes: http://tracker.ceph.com/issues/21997 Signed-off-by: Sage Weil <sage@redhat.com>
* qa/tasks/ceph_manager: wait_for_all_up -> wait_for_all_osds_upSage Weil2017-07-271-1/+1
| | | | Signed-off-by: Sage Weil <sage@redhat.com>
* test: Add two new singleton test yamls radom-eio and thrash-eioDavid Zafman2017-06-231-0/+2
| | | | | | | | New option "random_eio" to Thrasher, sets 1 osd random read percentage New option "objectsize" to radosbench task (-o bench option) New option "type" to radosbench specify write, seq or rand Signed-off-by: David Zafman <dzafman@redhat.com>
* qa/tasks/thrashosds: wait before wait_for_recoverySage Weil2017-06-151-0/+2
| | | | | | | Make sure OSDs are up *and* they have flushed their PG stats before waiting for recovery to ensure that we do not see a stale 'clean' state. Signed-off-by: Sage Weil <sage@redhat.com>
* osd: pg-remap -> pg-upmapSage Weil2017-04-181-2/+2
| | | | | | | | | | | 'remap' is to non-specific a name. In particular, it sounds like it is related to the 'remapped' PG state but in reality it is not related. 'upmap' or 'pg-upmap' is more specific: it maps a pgid to the 'up' set value (or item) Signed-off-by: Sage Weil <sage@redhat.com>
* qa/tasks/thrashosds,ceph_manager: thrash pg_remap[_items]Sage Weil2017-03-281-0/+3
| | | | Signed-off-by: Sage Weil <sage@redhat.com>
* qa/tasks/thrashosds: chance_thrash_cluster_fullSage Weil2017-03-071-0/+2
| | | | | | Induce a momentarily full cluster. Signed-off-by: Sage Weil <sage@redhat.com>
* move ceph-qa-suite dirs into qa/Sage Weil2016-12-141-0/+195