Hello,
I have two GlusterFS clusters with Centos 9 Stream managed by oVirt 4.5 (standalone
Manager with local databases) and when I want to configure geo-replication I receive this
error message:
Oct 10 15:15:15 myhostname vdsm[222665]: ERROR TypeError raised by dispatched function
Traceback (most recent call last):
File
"/usr/lib/python3.9/site-packages/vdsm/rpc/Bridge.py", line 194, in
_dynamicMethod
result = fn(*methodArgs)
File
"/usr/lib/python3.9/site-packages/vdsm/gluster/apiwrapper.py", line 300, in
geoRepKeysUpdate
return self._gluster.geoRepKeysUpdate(userName,
geoRepPubKeys)
File
"/usr/lib/python3.9/site-packages/vdsm/gluster/api.py", line 95, in wrapper
rv = func(*args, **kwargs)
File
"/usr/lib/python3.9/site-packages/vdsm/gluster/api.py", line 720, in
geoRepKeysUpdate
self.svdsmProxy.glusterUpdateGeoRepKeys(userName, geoRepPubKeys)
File
"/usr/lib/python3.9/site-packages/vdsm/common/supervdsm.py", line 56, in
__call__
return callMethod()
File
"/usr/lib/python3.9/site-packages/vdsm/common/supervdsm.py", line 53, in
<lambda>
getattr(self._supervdsmProxy._svdsm,
self._funcName)(*args,
File "<string>", line 2, in
glusterUpdateGeoRepKeys
File
"/usr/lib64/python3.9/multiprocessing/managers.py", line 825, in _callmethod
raise convert_to_error(kind, result)
TypeError: a bytes-like object is required, not
'str'
Oct 10 15:15:15 myhostname vdsm[222665]: ERROR Internal server error
Traceback (most recent call last):
File
"/usr/lib/python3.9/site-packages/vdsm/rpc/Bridge.py", line 194, in
_dynamicMethod
result = fn(*methodArgs)
File
"/usr/lib/python3.9/site-packages/vdsm/gluster/apiwrapper.py", line 300, in
geoRepKeysUpdate
return self._gluster.geoRepKeysUpdate(userName,
geoRepPubKeys)
File
"/usr/lib/python3.9/site-packages/vdsm/gluster/api.py", line 95, in wrapper
rv = func(*args, **kwargs)
File
"/usr/lib/python3.9/site-packages/vdsm/gluster/api.py", line 720, in
geoRepKeysUpdate
self.svdsmProxy.glusterUpdateGeoRepKeys(userName, geoRepPubKeys)
File
"/usr/lib/python3.9/site-packages/vdsm/common/supervdsm.py", line 56, in
__call__
return callMethod()
File
"/usr/lib/python3.9/site-packages/vdsm/common/supervdsm.py", line 53, in
<lambda>
getattr(self._supervdsmProxy._svdsm,
self._funcName)(*args,
File "<string>", line 2, in
glusterUpdateGeoRepKeys
File
"/usr/lib64/python3.9/multiprocessing/managers.py", line 825, in _callmethod
raise convert_to_error(kind, result)
TypeError: a bytes-like object is required, not
'str'
During handling of the above exception, another
exception occurred:
Traceback (most recent call last):
File
"/usr/lib/python3.9/site-packages/yajsonrpc/__init__.py", line 349, in
_handle_request
res = method(**params)
File
"/usr/lib/python3.9/site-packages/vdsm/rpc/Bridge.py", line 201, in
_dynamicMethod
raise InvalidCall(fn, methodArgs, e)
vdsm.rpc.Bridge.InvalidCall: Attempt to call
function: <bound method GlusterVolume.geoRepKeysUpdate of
<vdsm.gluster.apiwrapper.GlusterVolume object at 0x7efd082d3400>> with arguments:
('geoaccount', ['command="/usr/libexec/glusterfs/gsyncd" ssh-rsa
...']) error: a bytes-like object is required, not 'str'
Can you tell me what is wrong?
Thank you,
Dan