Satheesaran Sundaramoorthi
2020-Jul-12 02:44 UTC
[Gluster-users] gluster geo-replications fails to sync with IPV6 hostnames
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>
Aravinda VK
2020-Jul-12 07:28 UTC
[Gluster-users] gluster geo-replications fails to sync with IPV6 hostnames
Hi Satheesaran, Posted a patch to fix the parsing issue. Please check. https://review.gluster.org/c/glusterfs/+/24706 <https://review.gluster.org/c/glusterfs/+/24706> -- Aravinda Vishwanathapura https://kadalu.io <https://kadalu.io/>> On 12-Jul-2020, at 8:14 AM, Satheesaran Sundaramoorthi <sasundar at redhat.com> 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 <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 at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200712/dd9f696a/attachment.html>