]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: convert string to bytes object
authorRishabh Dave <ridave@redhat.com>
Tue, 4 Jun 2019 12:26:11 +0000 (17:56 +0530)
committerRamana Raja <rraja@redhat.com>
Thu, 6 Jun 2019 15:32:43 +0000 (21:02 +0530)
commitb12d30af6cfabaaca9e4c23237d339b1177f5cd3
tree940fab5ff02d2a88912e7104006aa0c59145c028
parent41aae82ead4e5340c4c831964b9577df7aede035
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>
(cherry picked from commit a203e577098d82a6d0dea86757c9e83dccdba78d)
src/pybind/mgr/volumes/fs/subvolume.py