Re: gluster geo-replications fails to sync with IPV6 hostnames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Aravinda,

Thanks for that patch. I will check that out.

-- Satheesaran S

On Sun, Jul 12, 2020 at 12:58 PM Aravinda VK <aravinda@xxxxxxxxx> wrote:
Hi Satheesaran,

Posted a patch to fix the parsing issue. Please check.

https://review.gluster.org/c/glusterfs/+/24706

--
Aravinda Vishwanathapura

On 12-Jul-2020, at 8:14 AM, Satheesaran Sundaramoorthi <sasundar@xxxxxxxxxx> wrote:

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
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users





________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux