From: Patrick Donnelly Date: Tue, 24 Oct 2017 18:36:06 +0000 (-0700) Subject: qa: fix mdsmap lookup X-Git-Tag: v13.0.1~433^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0e4027efdc4fd84ae3cf7eef0e2374b3429f111d;p=ceph.git qa: fix mdsmap lookup We were returning the file system structure and not the mdsmap. Signed-off-by: Patrick Donnelly --- diff --git a/src/pybind/ceph_volume_client.py b/src/pybind/ceph_volume_client.py index a83a3988926e..1d313a1ebbe0 100644 --- a/src/pybind/ceph_volume_client.py +++ b/src/pybind/ceph_volume_client.py @@ -372,7 +372,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): """