]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/stats: check if cmdtag is a valid key in client_metadata 42608/head
authorJos Collin <jcollin@redhat.com>
Tue, 3 Aug 2021 13:07:00 +0000 (18:37 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 5 Aug 2021 10:30:28 +0000 (16:00 +0530)
commit461ea95fda007b41d0ba77195e2de4fa3dea590c
treee87493c47aa9a59c2a94edc3c9ebb138eba6e7b0
parent5b766a86a6cd66aa29b459f29765849d8292f57b
pybind/mgr/stats: check if cmdtag is a valid key in client_metadata

Invalid cmdtag values ('', foo) are found in random testing and in the
qa runs. So check if cmdtag is a valid key in client_metadata.

Fixes: https://tracker.ceph.com/issues/51975
Signed-off-by: Jos Collin <jcollin@redhat.com>
src/pybind/mgr/stats/fs/perf_stats.py