[Bugs] [Bug 1651498] [geo-rep]: Failover / Failback shows fault status in a non-root setup
bugzilla at redhat.com
bugzilla at redhat.com
Tue Nov 20 08:47:14 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1651498
--- Comment #2 from Kotresh HR <khiremat at redhat.com> ---
Summary:
geo-rep: Fix permissions with non-root setup
Problem:
In non-root fail-over/fail-back(FO/FB), when slave is
promoted as master, the session goes to 'Faulty'
Cause:
The command 'gluster-mountbroker <mountbroker-root> <group>'
is run as a pre-requisite on slave in non-root setup.
It modifies the permission and group of following required
directories and files recursively
[1] /var/lib/glusterd/geo-replication
[2] /var/log/glusterfs/geo-replication-slaves
In a normal setup, this is executed on slave node and hence
doing it recursively is not an issue on [1]. But when original
master becomes slave in non-root during FO/FB, it contains
ssh public keys and modifying permissions on them causes
geo-rep to fail with incorrect permissions.
Fix:
Don't do permission change recursively. Fix permissions for
required files.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=8ffgFwfRqg&a=cc_unsubscribe
More information about the Bugs
mailing list