[RFE] Making non-root Geo-replication as an only supported way to configure Geo-replication
Root login based Geo-replication expects root ssh login to be enabled in Remote(Slave) nodes from Master. Many admins don't prefer to allow root access to managed nodes.
Gluster Geo-replication also supports non-root login based Geo-replication. Unprivileged non-root user can sync files to remote Gluster volumes using the Glusterd's Mount broker feature.
Advantages of deprecating root login based Geo-replication are,
- Documentation can be simplified. Currently, documentation talks about both the approaches and users are confused to choose one.
- Better security to remote(slave) nodes since root ssh login need not be enabled.
- Geo-replication setup can be less confusing to users.
Existing sessions can continue without any changes but a new session with root-login can be disabled.
Changes required are:
- Code changes to error when Geo-rep create command is issued with remote login user name as root.
- Documentation changes to the only talk about non-root based setup.
@amarts @sunnyku @kotreshhr @Shwetha-Acharya ^^
Can this be proposed for release-8? Will add the milestone. Maintainers, please see if you can pull it off.
I think this one is good to have for Release 8. Only documentation changes required. Update steps only related to non-root users.
I will send a patch to fix the documentation only to use this. @kotreshhr @sunnyku Do you guys see any issues here?
Nope, looks good to me.
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.
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.
@aravindavk quick question, Does root user based geo-replication work's on glusterfs 8.2 version ? or is it deprecated.