ceph/qa/tasks/mgr
Kefu Chai 7210d7f951 qa/tasks/mgr: set mgr module option with --force
if mgr is not active, monitor will refuse to set any option consumed by
mgr modules.

the reason the tests pass somtimes is that, we have a racing here:

1. stop all mgr daemons
2. MgrMonitor gets updated and updates its mgr_module_options
accordingly.
3. in TestDashboard.setUp(), we reset the port number for dashboard
using "ceph config set mgr mgr/dashboard/y/ssl_server_port 7789"
4. restart all mgr daemons

but the 2nd step and 3rd step could race with each other, if the 2nd
step happens after 3rd step, the test passes. otherwise it fails.

in this change, "--force" is passed to the "ceph config set" command,
so ConfigMonitor can bypass the sanity test for the option, and just
set this option.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-10 13:28:34 +08:00
..
dashboard Merge pull request #32575 from tchaikov/wip-43227 2020-01-09 23:23:15 +08:00
__init__.py
mgr_test_case.py qa/tasks/mgr: set mgr module option with --force 2020-01-10 13:28:34 +08:00
test_cephadm_orchestrator.py qa: Enable flake8 tox and fix failures 2019-12-12 10:21:01 +01:00
test_crash.py
test_dashboard.py mgr/dashboard: Standby Dashboards don't handle all requests properly 2019-09-19 16:30:15 +02:00
test_failover.py
test_insights.py
test_module_selftest.py
test_orchestrator_cli.py Merge pull request #32518 from tchaikov/wip-orchestrator-service-action-tests 2020-01-07 17:44:10 +08:00
test_progress.py qa/mgr/progress: fix timeout error when waiting for osd in event 2019-09-03 11:44:05 +01:00
test_prometheus.py