[Gluster-users] gluster geo-replications fails to sync with IPV6 hostnames

Satheesaran Sundaramoorthi sasundar at redhat.com
Sun Jul 12 02:44:03 UTC 2020


Hello All,

While testing with glusterfs -6.0-37, I found that the geo-rep session is
getting created with IPv6 hostnames,
but the sync is not happening. I see traceback with gsyncd.log.

<snip>
[2020-07-11 09:29:20.735708] I [gsyncd(config-get):318:main] <top>:
Using session config
file	path=/var/lib/glusterd/geo-replication/testvol_slave.lab.eng.blr.redhat.com_svol/gsyncd.conf
[2020-07-11 09:29:21.346986] I [gsyncd(config-get):318:main] <top>:
Using session config
file	path=/var/lib/glusterd/geo-replication/testvol_slave.lab.eng.blr.redhat.com_svol/gsyncd.conf
[2020-07-11 09:29:21.515802] I [gsyncd(monitor):318:main] <top>: Using
session config file	path=/var/lib/glusterd/geo-replication/testvol_slave.lab.eng.blr.redhat.com_svol/gsyncd.conf
[2020-07-11 09:29:21.953314] E
[syncdutils(monitor):339:log_raise_exception] <top>: FAIL:
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 332, in main
    func(args)
  File "/usr/libexec/glusterfs/python/syncdaemon/subcmds.py", line 60,
in subcmd_monitor
    return monitor.monitor(local, remote)
  File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line
431, in monitor
    return Monitor().multiplex(*distribute(local, remote))
  File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line
392, in distribute
    sbricks = svol.bricks
  File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 515, in ff
    rv = f(self, *a, **kw)
  File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line
916, in bricks
    return [bparse(b) for b in self.get('brick')]
  File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line
916, in <listcomp>
    return [bparse(b) for b in self.get('brick')]
  File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line
914, in bparse
    host, dirp = b.find("name").text.split(':', 2)
ValueError: too many values to unpack (expected 2)
</snip>

I have raised the github issue[1] for the same. Any help wrt to this
issue will help a lot.

[1] - https://github.com/gluster/glusterfs/issues/1366

Thanks,

Satheesaran S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200712/6e5fb574/attachment.html>


More information about the Gluster-users mailing list