Gilberto Ferreira
2025-Nov-10 17:21 UTC
[Gluster-users] Failed to Establish Geo-replication Session Please check gsync config file. Unable to get statefile's name
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>
Karl Kleinpaste
2025-Nov-10 17:30 UTC
[Gluster-users] Failed to Establish Geo-replication Session Please check gsync config file. Unable to get statefile's name
On 11/10/25 12:21 PM, Gilberto Ferreira wrote:> 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 failedI had this problem a year ago, Aug 2024 <https://lists.gluster.org/pipermail/gluster-users/2024-August/040625.html>. I went rounds and rounds with Strahil for a week, trying to find why I couldn't cross the finish line of successful georep. It always ends in: Please check gsync config file. Unable to get statefile's name geo-replication command failed The volumes were set up properly, the commands for georep were done correctly, per guidelines, but georep was left forever in a state of Created, never Active. Finally I just gave up. I can't use gluster if it won't work with me. I found that gluster would not give enough adequate diagnostics to provide a (/useful/!) explanation of what is actually wrong. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20251110/34d64535/attachment.html>