Root cause is that librados get_fsid returning bytes in python3.
root@openstack-controller:~# ipython3
import radosPython 3.5.3 (default, Sep 27 2018, 17:25:39)
Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import rados
In [2]: from rados import Rados
In [3]: client = Rados(rados_id='admin', clustername='ceph', conffile='/etc/ceph/ceph.conf')
In [4]: client.connect()
In [5]: client.get_fsid()
Out[5]: b'868c2b5d-12f1-4f3f-aa2a-5701a3bb1041'
Root cause is that librados get_fsid returning bytes in python3.
root@openstack- controller: ~# ipython3
import radosPython 3.5.3 (default, Sep 27 2018, 17:25:39)
Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import rados
In [2]: from rados import Rados
In [3]: client = Rados(rados_ id='admin' , clustername='ceph', conffile= '/etc/ceph/ ceph.conf' )
In [4]: client.connect()
In [5]: client.get_fsid() 12f1-4f3f- aa2a-5701a3bb10 41'
Out[5]: b'868c2b5d-