geo-rep sessions ending up faulty due to the following errors:
ssh%3A%2F%2Froot%40188.8.131.52%3Agluster%3A%2F%2F127.0.0.1%3Aamm-remote.log:OSError: [Errno 95] Operation not supported: '.gfid/1d1cad0c-095b-4150-ac7e-734054cd12af'
ssh%3A%2F%2Froot%40184.108.40.206%3Agluster%3A%2F%2F127.0.0.1%3Aamm-remote.log:OSError: [Errno 95] Operation not supported: '.gfid/0218b459-0a04-4466-9afb-8f6eba78f442'
The gfid corresponds to symlink file and is pointing to current directory
symlink --> "."
REVIEW: https://review.gluster.org/19872 (geo-rep: Fix syncing of symlink) posted (#1) for review on master by Kotresh HR
COMMIT: https://review.gluster.org/19872 committed in master by "Kotresh HR" <email@example.com> with a commit message- geo-rep: Fix syncing of symlink
If symlink is created on master pointing
to current directory (e.g symlink -> ".") with
non root uid or gid, geo-rep worker crashes
Geo-rep creates the symlink on slave and
fixes the uid and gid using chown cmd.
os.chown dereferences the symlink which is
pointing to ".gfid" which is not supported.
Note that geo-rep operates on aux-gfid-mount
The uid or gid change is acutally on symlink
file. So use os.lchown, i.e, don't deference.
Signed-off-by: Kotresh HR <firstname.lastname@example.org>
REVIEW: https://review.gluster.org/20017 (geo-rep: Fix syncing of symlink) posted (#1) for review on release-3.12 by Kotresh HR
REVISION POSTED: https://review.gluster.org/20017 (geo-rep: Fix syncing of symlink) posted (#3) for review on release-3.12 by Kotresh HR
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-v4.1.0, please open a new bug report.
glusterfs-v4.1.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.