oVirt / vdsm

The Virtual Desktop Server Manager
GNU General Public License v2.0
160 stars 201 forks source link

geo replications for volume failing #419

Open trs91km opened 8 months ago

trs91km commented 8 months ago

I am trying to do geo replications for volume in ovirt engine(Version 4.5.4-1.el9), replication between different host within a cluster throwing below error

"Error while executing action Created geo-replication session: Unexpected exception" logs as follow 2023-12-15 03:39:19,099-08 ERROR [org.ovirt.engine.core.bll.gluster.UpdateGlusterHostPubKeyToSlaveInternalCommand] (EE-ManagedThreadFactory-engine-Thread-51) [7e0bed6d] Command 'org.ovirt.engine.core.bll.gluster.UpdateGlusterHostPubKeyToSlaveInternalCommand' failed: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to UpdateGlusterGeoRepKeysVDS, error = Internal JSON-RPC error: {'reason': 'Attempt to call function: <bound method GlusterVolume.geoRepKeysUpdate of <vdsm.gluster.apiwrapper.GlusterVolume object at 0x7f0efc32d3a0>> with arguments: (\'root\', [\'command="/usr/libexec/glusterfs/gsyncd" ssh-rsa **keys root@host.com\n\', \'command="tar ${SSH_ORIGINAL_COMMAND# }" ssh-rsa ****keys*** root@host.com\n\']) error: a bytes-like object is required, not \'str\''}, code = -32603 (Failed with error unexpected and code 16)