Project

General

Profile

Actions

Feature #17230

closed

ceph_volume_client: py3 compatible

Added by Ramana Raja over 7 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

100%

Source:
Development
Tags:
Backport:
mimic,luminous
Reviewed:
Affected Versions:
Component(FS):
VolumeClient
Labels (FS):
Manila
Pull request ID:

Description

Manila drivers and their CIs are encouraged to be py3 compatible. Manila's cephfs_native driver uses ceph_volume_client library. It would be useful to make the library py3 compatible especially since there's been active work going on in making Ceph py3 compatible [1]. The tests and testing framework of ceph_volume_client are also being made py3 compatible [2]3. So it might be easy to test the py3 compatibility of the volume client.

[1] http://www.spinics.net/lists/ceph-devel/msg32349.html
[2] https://github.com/ceph/teuthology/pull/931
[3] https://github.com/ceph/ceph-qa-suite/pull/1129

On quick glance, it seems like ceph_volume_client needs to ensure that the buffer or the xattr value it writes or sets respectively using cython cephfs bindings needs to be byte type. There could be other changes needed.


Subtasks 1 (0 open1 closed)

Bug #24870: ceph-debug-docker: python3 libraries not installed in docker imageResolvedPatrick Donnelly07/11/2018

Actions

Related issues 3 (0 open3 closed)

Related to devops - Bug #24920: teuthology is not installing python3-cephfs/python3-rados/etc. (Ubuntu) or python34-cephfs (CentOS) or (what else?)Resolved07/13/2018

Actions
Copied to CephFS - Backport #26850: mimic: ceph_volume_client: py3 compatibleResolvedNathan CutlerActions
Copied to CephFS - Backport #26851: luminous: ceph_volume_client: py3 compatibleResolvedPatrick DonnellyActions
Actions

Also available in: Atom PDF