Skip to content

Failed to Establish Geo-replication Session Please check gsync config file. Unable to get statefile's name #4629

@gilbertoferreira

Description

@gilbertoferreira

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@gluster3 password is required to complete the setup. NOTE: Password will not be stored.

root@gluster3's password:
[ OK] gluster3 is Reachable(Port 22)
[ OK] SSH Connection established root@gluster3
[ OK] Primary Volume and Secondary Volume are compatible (Version: 11.2)
[ 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@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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions