glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

[RFE] Making non-root Geo-replication as an only supported way to configure Geo-replication

Open aravindavk opened this issue 7 years ago • 7 comments

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.

aravindavk avatar Aug 21 '19 05:08 aravindavk

@amarts @sunnyku @kotreshhr @Shwetha-Acharya ^^

aravindavk avatar Aug 21 '19 06:08 aravindavk

Can this be proposed for release-8? Will add the milestone. Maintainers, please see if you can pull it off.

amarts avatar Dec 03 '19 06:12 amarts

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?

aravindavk avatar Jan 16 '20 07:01 aravindavk

Nope, looks good to me.

kotreshhr avatar Jan 17 '20 09:01 kotreshhr

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 Aug 14 '20 12:08 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 Aug 29 '20 13:08 stale[bot]

@aravindavk quick question, Does root user based geo-replication work's on glusterfs 8.2 version ? or is it deprecated.

thisismsreddy avatar Nov 25 '20 06:11 thisismsreddy