From: Jos Collin Date: Fri, 9 Apr 2021 06:38:33 +0000 (+0530) Subject: qa: Update the mdsmap schema in mgr/dashboard/test_health.py X-Git-Tag: v17.1.0~2242^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=90ec86d8ffc835ced699ac81131b906a58d08efe;p=ceph.git qa: Update the mdsmap schema in mgr/dashboard/test_health.py Fixed the error: tasks.mgr.dashboard.helper._ValError: In `input['fs_map']['filesystems'][0]['mdsmap']`: unknown keys: {'flags_state'} Traceback (most recent call last): File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/test_health.py", line 273, in test_full_health self.assertSchema(data, schema) Fixes: https://tracker.ceph.com/issues/48683 Signed-off-by: Jos Collin --- diff --git a/qa/tasks/mgr/dashboard/test_health.py b/qa/tasks/mgr/dashboard/test_health.py index 7efd7b80db40..11ffd790ac20 100644 --- a/qa/tasks/mgr/dashboard/test_health.py +++ b/qa/tasks/mgr/dashboard/test_health.py @@ -51,6 +51,12 @@ class HealthTest(DashboardTestCase): 'modified': str, 'session_timeout': int, 'flags': int, + 'flags_state': JObj({ + 'joinable': bool, + 'allow_snaps': bool, + 'allow_multimds_snaps': bool, + 'allow_standby_replay': bool + }), 'ever_allowed_features': int, 'root': int })