Bug #22524
closedNameError: global name 'get_mds_map' is not defined
0%
Description
- LD_LIBRARY_PATH=`pwd`/lib PYTHONPATH=/home/rraja/git/teuthology/:`pwd`/../qa:`pwd`/../src/pybind:`pwd`/lib/cython_modules/lib.2 python `pwd`/../qa/tasks/vstart_runner.py --interactive tasks.cephfs.test_volume_client.TestVolumeClient.test_lifecycle
The traceback ,
2017-12-21 17:52:51,976.976 INFO:__main__:Running ['python', '-c', '\nfrom ceph_volume_client import CephFSVolumeClient, VolumePath\nimport logging\nlog = logging.getLogger("ceph_volume_client")\nlog.addHandler(logging.StreamHandler())\nlog.setLevel(logging.DEBUG)\nvc = CephFSVolumeClient("manila", "./ceph.conf", "ceph", "/myprefix", "mynsprefix_")\nvc.connect()\n\nvp = VolumePath("grpid", "volid")\nvc.deauthorize(vp, "guest")\nvc.evict("guest")\n\nvc.disconnect()\n ']
Connecting to RADOS with config ./ceph.conf...
Connection to RADOS complete
Connecting to cephfs...
CephFS initializing...
CephFS mounting...
Connection to cephfs complete
Recovering from partial auth updates (if any)...
Recovered from partial auth updates (if any).
evict clients with auth_name=guest
Traceback (most recent call last):
File "<string>", line 12, in <module>
File "/home/rraja/git/ceph/src/pybind/ceph_volume_client.py", line 394, in evict
mds_map = get_mds_map()
NameError: global name 'get_mds_map' is not defined
The bug was introduced by https://github.com/ceph/ceph/commit/cbbdd0da7d40e4e5def5cc0b9a9250348e71019f#diff-8625369b924524f064e083e735bd34beR394