From 48c00ba658f84f262ade0ebcc0cf86515ed5dfcd Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 24 Oct 2017 11:36:06 -0700 Subject: [PATCH] qa: fix mdsmap lookup We were returning the file system structure and not the mdsmap. Signed-off-by: Patrick Donnelly (cherry picked from commit 0e4027efdc4fd84ae3cf7eef0e2374b3429f111d) --- src/pybind/ceph_volume_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/ceph_volume_client.py b/src/pybind/ceph_volume_client.py index 33d9516d5ae..06380ef417f 100644 --- a/src/pybind/ceph_volume_client.py +++ b/src/pybind/ceph_volume_client.py @@ -380,7 +380,7 @@ class CephFSVolumeClient(object): def get_mds_map(self): fs_map = self._rados_command("fs dump", {}) - return fs_map['filesystems'][0] + return fs_map['filesystems'][0]['mdsmap'] def evict(self, auth_id, timeout=30, volume_path=None): """ -- 2.47.3