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

2020-07-12 Thread Satheesaran Sundaramoorthi
Hello Aravinda,

Thanks for that patch. I will check that out.

-- Satheesaran S

On Sun, Jul 12, 2020 at 12:58 PM Aravinda VK  wrote:

> Hi Satheesaran,
>
> Posted a patch to fix the parsing issue. Please check.
>
> https://review.gluster.org/c/glusterfs/+/24706
>
> --
> Aravinda Vishwanathapura
> https://kadalu.io
>
> On 12-Jul-2020, at 8:14 AM, Satheesaran Sundaramoorthi <
> sasun...@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.
>
> 
> [2020-07-11 09:29:20.735708] I [gsyncd(config-get):318:main] : 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] : 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] : 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] 
> : 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 
> 
> 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)
> 
>
> 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@gluster.org
> 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@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


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

2020-07-12 Thread Aravinda VK
Hi Satheesaran,

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

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


--
Aravinda Vishwanathapura
https://kadalu.io 

> On 12-Jul-2020, at 8:14 AM, Satheesaran Sundaramoorthi  
> 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.
> 
> [2020-07-11 09:29:20.735708] I [gsyncd(config-get):318:main] : 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] : 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] : 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] 
> : 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 
> 
> 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)
> 
> 
> 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@gluster.org
> 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@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users