From: Patrick Donnelly Date: Tue, 24 Oct 2017 18:36:06 +0000 (-0700) Subject: qa: fix mdsmap lookup X-Git-Tag: v12.2.13~234^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=48c00ba658f84f262ade0ebcc0cf86515ed5dfcd;p=ceph.git 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) --- 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): """