As a disk_name I had "4adc2422-b59d-4e84-b6fd-7f2e2f66d40a_disk", but when I tried to log type(disk_name) I've received <type 'unicode'>
It seems, that provided fix is for rbd library for python 3, while python 2.7 is used. So I don't have cstr() function in my rbd.py at all. Most likely, that the point is on version of rbd package and I should somehow upgrade it (and report the problem to OSA project, as it was installed by it):
~# pip show rbd
Name: rbd
Version: 2.0.0
Summary: Python bindings for the RBD library
Home-page: https://github.com/ceph/ceph/tree/master/src/pybind/rbd
Author: UNKNOWN
Author-email: UNKNOWN
License: LGPLv2+
Location: /usr/lib/python2.7/dist-packages
Requires:
~#
As a disk_name I had "4adc2422- b59d-4e84- b6fd-7f2e2f66d4 0a_disk" , but when I tried to log type(disk_name) I've received <type 'unicode'>
It seems, that provided fix is for rbd library for python 3, while python 2.7 is used. So I don't have cstr() function in my rbd.py at all. Most likely, that the point is on version of rbd package and I should somehow upgrade it (and report the problem to OSA project, as it was installed by it): /github. com/ceph/ ceph/tree/ master/ src/pybind/ rbd python2. 7/dist- packages
~# pip show rbd
Name: rbd
Version: 2.0.0
Summary: Python bindings for the RBD library
Home-page: https:/
Author: UNKNOWN
Author-email: UNKNOWN
License: LGPLv2+
Location: /usr/lib/
Requires:
~#