]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: convert string to bytes object 28380/head
authorRishabh Dave <ridave@redhat.com>
Tue, 4 Jun 2019 12:26:11 +0000 (17:56 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 4 Jun 2019 14:35:00 +0000 (20:05 +0530)
commita203e577098d82a6d0dea86757c9e83dccdba78d
tree1cbb349dde8c7bc380c6287724b5c4baa54579d3
parentbdfc3bb92df64c2d6b5a5e9da09c8b7aaa00008b
mgr/volumes: convert string to bytes object

mount method in libcephfs's cython modules expects filesystem_name to
be a bytes object. Therefore, convert string to bytes object
beforehand.

Fixes: http://tracker.ceph.com/issues/39750
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/subvolume.py