]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/volumes: fix incorrect snapshot path creation
authorRamana Raja <rraja@redhat.com>
Mon, 30 Sep 2019 13:51:29 +0000 (19:21 +0530)
committerRamana Raja <rraja@redhat.com>
Tue, 1 Oct 2019 12:36:21 +0000 (18:06 +0530)
commit8f24f42d46d6b32838e8f6ac5c92eb5a32a99824
tree7fbe223390042d304f0cebd17082dea019cfe096
parent97065f5c9a1f95569e190aad0ee7bf339cab8249
mgr/volumes: fix incorrect snapshot path creation

When constructing the snapshot path, the components are a mix of
byte and string type objects. The 'os.path.join()' method needs
the components to be of the same type. Hence convert all components
to byte type objects.

Introduced-by: 3d63cd947f55a8508f972ee249ea6a04836429ae
Fixes: https://tracker.ceph.com/issues/42096
Signed-off-by: Ramana Raja <rraja@redhat.com>
src/pybind/mgr/volumes/fs/subvolspec.py