]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: return string type to ceph-manager 29926/head
authorVenky Shankar <vshankar@redhat.com>
Tue, 17 Sep 2019 19:01:59 +0000 (15:01 -0400)
committerRamana Raja <rraja@redhat.com>
Fri, 20 Sep 2019 09:36:24 +0000 (15:06 +0530)
commit700c59925f07e8ed2e36bbd6bec45b59efea0ed9
tree5a740bf599fc5256a0fcb16e2b5dc62421b97516
parent82f4633f72bceaf1f9ed1b00106083703f4e6ecd
mgr/volumes: return string type to ceph-manager

The 'volumes' ceph-mgr module returns a byte type instead of a string
type as the stdout result of commands, `fs subvolume getpath` and
`fs subvolumegroup getpath` to the ceph-mgr. This causes the commands
to hang and the ceph-mgr to utilize 100% CPU. Fix the 'volumes'
ceph-mgr module to return string type to ceph-mgr as the stdout
result of the commands.

Introduced-by: 3d63cd947f55a8508f972ee249ea6a04836429ae
Fixes: https://tracker.ceph.com/issues/41903
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 88aa0576a63c5b2e8d4478951b4f594fb5047b52)
src/pybind/mgr/volumes/fs/volume.py