]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mgr/dashboard/test_health: Add 'max_xattr_size' to the mdsmap schema
authorLuís Henriques <lhenriques@suse.de>
Thu, 29 Sep 2022 10:51:32 +0000 (11:51 +0100)
committerMykola Golub <mgolub@suse.com>
Fri, 3 Nov 2023 16:33:25 +0000 (18:33 +0200)
Let the mdsmap schema know about the new field 'max_xattr_size'.  This prevents
the following error:

tasks.mgr.dashboard.helper._ValError: \
  In `input['fs_map']['filesystems'][0]['mdsmap']`: unknown keys: {'max_xattr_size'}

URL: https://tracker.ceph.com/issues/55725
Signed-off-by: Luís Henriques <lhenriques@suse.de>
(cherry picked from commit bf7ddd8e45d58dab578d8f01efb3341a93f57bc8)

qa/tasks/mgr/dashboard/test_health.py

index b6ffade4c9641070721656b13c61620429147792..c3fdc497b4a7c6f9fd68322e46c6fd18c2df9723 100644 (file)
@@ -29,6 +29,7 @@ class HealthTest(DashboardTestCase):
         'in': JList(int),
         'last_failure': int,
         'max_file_size': int,
+        'max_xattr_size': int,
         'explicitly_allowed_features': int,
         'damaged': JList(int),
         'tableserver': int,