ceph/qa/tasks/mgr
Leonid Usov 274849e544 qa/tasks: vstart_runner: introduce --config-mode
The new mode of the vstart_runner allows for passing
paths to yaml configs that will be merged and then
run just as the teuthology would do it.
Building on the standard run method we can even
pass "-" as the config name and provide one on the stdin like

    python3 ../qa/tasks/vstart_runner.py --config-mode "-" << END
    tasks:
      - quiescer:
          quiesce_factor: 0.5
          min_quiesce: 10
          max_quiesce: 10
          initial_delay: 5
          cancelations_cap: 2
          paths:
            - a
            - b
            - c
      - waiter:
          on_exit: 100
    END

This commit does the minimum to allow testing of the quiescer,
but it also lays the groundwork for running arbitrary configs.

The cornerstone of the approach is to inject our local implementations
of the main fs suite classes. To be able to do that, some minor
refactoring was required in the corresponding modules:
the standard classes were renamed to have a *Base suffix, and the
former class name without the suffix is made a module level variable
initialized with the *Base implementation. This refactoring
is meant to be backward compatible.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-04-25 21:15:05 +03:00
..
dashboard qa: update dashboard schema for mon_status 2024-03-19 09:41:35 -04:00
__init__.py
mgr_test_case.py qa/tasks: vstart_runner: introduce --config-mode 2024-04-25 21:15:05 +03:00
test_cache.py
test_cli.py qa: add unit tests for MgrMap down flag 2024-01-10 14:52:37 -05:00
test_crash.py
test_dashboard.py
test_devicehealth.py qa: test devicehealth legacy load of deleted snap obj 2024-01-10 14:52:37 -05:00
test_failover.py qa: add test case for libcephsqlite maybe_reconnect 2023-06-27 14:18:39 -04:00
test_insights.py
test_module_selftest.py
test_orchestrator_cli.py
test_progress.py
test_prometheus.py