glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

the version11.0 geo-replication is faild

Open Songdantes opened this issue 3 years ago • 3 comments

Description of problem: System: Rocky Linux release 9.2 Version: 11.0 Type: Distributed-Replicate

We tested the geo replication function based on version 11.0 and found that there was a mutual trust issue with the secret key. However, after being downgraded to 10.4, the problem was resolved. Is there a bug in version 11 regarding the geo replication function

The exact command to reproduce the issue:

The version 11.0 and version 10.4 all operations are the same, refer to the documentation https://docs.gluster.org/en/latest/Administrator-Guide/Geo-Replication/#status

The full output of the command that failed:

[2023-06-30 06:33:42.456916] I [gsyncdstatus(monitor):247:set_worker_status] GeorepStatus: Worker Status Change [{status=Initializing...}] [2023-06-30 06:33:42.457206] I [monitor(monitor):158:monitor] Monitor: starting gsyncd worker [{brick=/data_brick1}, {secondary_node=gluster5}] [2023-06-30 06:33:42.719412] I [resource(worker /data_brick1):1388:connect_remote] SSH: Initializing SSH connection between primary and secondary... [2023-06-30 06:33:42.944086] E [syncdutils(worker /data_brick1):325:log_raise_exception] : connection to peer is broken [2023-06-30 06:33:42.945736] E [syncdutils(worker /data_brick1):329:log_raise_exception] : getting "No such file or directory"errors is most likely due to MISCONFIGURATION, please remove all the public keys added by geo-replication from authorized_keys file in secondary nodes and run Geo-replication create command again. [2023-06-30 06:33:42.945977] E [syncdutils(worker /data_brick1):336:log_raise_exception] : If gsec_create container was used, then run gluster volume geo-replication <PRIMARYVOL> [<SECONDARYUSER>@]<SECONDARYHOST>::<SECONDARYVOL> config remote-gsyncd <GSYNCD_PATH> (Example GSYNCD_PATH: /usr/libexec/glusterfs/gsyncd`) [2023-06-30 06:33:42.946432] E [syncdutils(worker /data_brick1):845:errlog] Popen: command returned error [{cmd=ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/geo-replication/secret.pem -p 22 -oControlMaster=auto -S /tmp/gsyncd-aux-ssh-nej4ts8a/193325558577075360ae7683659dce64.sock geoaccount@gluster5 /nonexistent/gsyncd secondary test-volume geoaccount@gluster5::test-volume2 --primary-node gluster1 --primary-node-id bbd5f8a1-4ddf-4399-997d-a267ff593c69 --primary-brick /data_brick1 --local-node gluster5 --local-node-id 75d9c1a8-3cc1-4577-b84f-94389cd5218b --secondary-timeout 120 --secondary-log-level INFO --secondary-gluster-log-level INFO --secondary-gluster-command-dir /usr/sbin --primary-dist-count 2}, {error=127}] [2023-06-30 06:33:42.950225] I [monitor(monitor):218:monitor] Monitor: worker died before establishing connection [{brick=/data_brick1}] [2023-06-30 06:33:42.953453] I [gsyncdstatus(monitor):247:set_worker_status] GeorepStatus: Worker Status Change [{status=Faulty}]

Expected results:

Mandatory info: - The output of the gluster volume info command:

- The output of the gluster volume status command:

- The output of the gluster volume heal command:

**- Provide logs present on following locations of client and server nodes - /var/log/glusterfs/

**- Is there any crash ? Provide the backtrace and coredump

Additional info:

- The operating system / glusterfs version:

Note: Please hide any confidential data which you don't want to share in public like IP address, file name, hostname or any other configuration

Songdantes avatar Jul 03 '23 02:07 Songdantes

Thank you for your contributions. Noticed that this issue is not having any activity in last ~6 months! We are marking this issue as stale because it has not had recent activity. It will be closed in 2 weeks if no one responds with a comment here.

stale[bot] avatar Apr 26 '25 04:04 stale[bot]

Closing this issue as there was no update since my last update on issue. If this is an issue which is still valid, feel free to open it.

stale[bot] avatar Jun 27 '25 03:06 stale[bot]

HI... I am also facing this issue. See here: https://github.com/gluster/glusterfs/issues/4632

gilbertoferreira avatar Nov 07 '25 03:11 gilbertoferreira