mirror of
https://github.com/ceph/ceph
synced 2025-01-06 19:20:49 +00:00
7210d7f951
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> |
||
---|---|---|
.. | ||
dashboard | ||
__init__.py | ||
mgr_test_case.py | ||
test_cephadm_orchestrator.py | ||
test_crash.py | ||
test_dashboard.py | ||
test_failover.py | ||
test_insights.py | ||
test_module_selftest.py | ||
test_orchestrator_cli.py | ||
test_progress.py | ||
test_prometheus.py |