[Gluster-users] Failed to Establish Geo-replication Session Please check gsync config file. Unable to get statefile's name
Gilberto Ferreira
gilberto.nunes32 at gmail.com
Mon Nov 10 17:21:00 UTC 2025
And yes. With gluster 11.2 from github repo, the very some error:
gluster vol geo VMS gluster3::VMS-REP create push-pem
Please check gsync config file. Unable to get statefile's name
geo-replication command failed
pve01:~# gluster --version
glusterfs 11.2
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
pve01:~#
---
Em seg., 10 de nov. de 2025 às 13:49, Gilberto Ferreira <
gilberto.nunes32 at gmail.com> escreveu:
> Hi Strahil
>
> In fact I try it with both: debian source and github. But I will try it
> again, for the sake of double checking.
>
> Now I am trying with complied github repo which I cloned here and the
> geo-rep session is created but I got the faulty error message.
> On the gsyncd.log I got this:
>
> [2025-11-10 16:47:32.148617] E [syncdutils(worker
> /mnt/pve/data1/vms):845:errlog] Popen: command returned error [{cmd=rsync
> -aR0 --inplace --files-from=- --super --stats --numeric-ids
> --no-implied-dirs --existing --xattrs --acls --ignore-missing-args . -e ssh
> -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i
> /var/lib/glusterd/geo-replication/secret.pem -p 22 -oControlMaster=auto -S
> /tmp/gsyncd-aux-ssh-ego23mdy/dc97de7ffea2b18802fbdbd0b783902c.sock
> -caes128-ctr gluster4:/proc/69072/cwd}, {error=12}]
>
> The VM file, vm-100-disk-0.qcow2, is indeed created in the other size, but
> with 0 size. I wonder why?
>
> Thank you for your reply...
>
> Best regards
>
>
>
>
>
>
> Em seg., 10 de nov. de 2025 às 13:41, Strahil Nikolov <
> hunter86_bg at yahoo.com> escreveu:
>
>> Hi Gilberto,
>>
>> Isn't gluster v11 come with it's own version of the script ?
>>
>> Best Regards,
>> Strahil Nikolov
>>
>>
>> В сряда, 29 октомври 2025 г. в 22:35:08 ч. Гринуич+2, Gilberto Ferreira <
>> gilberto.nunes32 at gmail.com> написа:
>>
>>
>> Hi there
>>
>> I am trying to use this python script here:
>> https://github.com/aravindavk/gluster-georep-tools
>>
>>
>> I already used this tools to create geo-rep with Gluster10 but now with
>> Gluster11 I am got this error:
>>
>> [NOT OK] Failed to Establish Geo-replication Session
>> Please check gsync config file. Unable to get statefile's name
>>
>> gluster-georep-setup VMS gluster3::VMS-REP --secondary-user root --force
>> Geo-replication session will be established between VMS and
>> gluster3::VMS-REP
>> root at gluster3 password is required to complete the setup. NOTE: Password
>> will not be stored.
>>
>> root at gluster3's password:
>> [ OK] gluster3 is Reachable(Port 22)
>> [ OK] SSH Connection established root at gluster3
>> [ OK] Primary Volume and Secondary Volume are compatible (Version: 11.1)
>> [ WARN] gluster3::VMS-REP is not empty.
>> [ OK] Common secret pub file present at
>> /var/lib/glusterd/geo-replication/common_secret.pem.pub
>> [ OK] common_secret.pem.pub file copied to gluster3
>> [ OK] Primary SSH Keys copied to all Up Secondary nodes
>> [ OK] Updated Primary SSH Keys to all Up Secondary nodes authorized_keys
>> file
>> [NOT OK] Failed to Establish Geo-replication Session
>> Please check gsync config file. Unable to get statefile's name
>>
>> I try
>> gluster volume geo-replication VMS root at gluster3::VMS-REP create push-pem
>> Please check gsync config file. Unable to get statefile's name
>> geo-replication command failed
>>
>> But get some error.
>>
>> Do I missing something?
>>
>> Any clue?
>>
>> Thanks
>> ---
>>
>> Gilberto Nunes Ferreira
>>
>>
>>
>>
>> ________
>>
>>
>>
>> Community Meeting Calendar:
>>
>> Schedule -
>> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
>> Bridge: https://meet.google.com/cpu-eiue-hvk
>> 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/20251110/ba5ed203/attachment.html>
More information about the Gluster-users
mailing list