glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

Geo-replication failing during history crawl during first sync ENOENT

Open ghost opened this issue 7 years ago • 4 comments

Hi,

Geo-replication is loop failing across all the bricks relationships with the following error during history crawl:

[2019-03-21 14:57:36.731884] I [resource(slave glusterfs-1001/var/lib/heketi/mounts/vg_88b2d3aa4bf59b7896f742934a37b573/brick_61054cb3b1365eaef1fb18c623122232/brick):603:entry_ops] <top>: Special case: rename on mkdir gfid=11a61892-deaf-42f4-a614-219c5b18d607       entry='.gfid/d9db1cab-9ae8-4476-93bb-813b77f78e15/.dotfiles'
[2019-03-21 14:57:36.739291] E [repce(slave glusterfs-1001/var/lib/heketi/mounts/vg_88b2d3aa4bf59b7896f742934a37b573/brick_61054cb3b1365eaef1fb18c623122232/brick):105:worker] <top>: call failed:                                                       
Traceback (most recent call last):
  File "/usr/libexec/glusterfs/python/syncdaemon/repce.py", line 101, in worker
    res = getattr(self.obj, rmeth)(*in_data[2:])
  File "/usr/libexec/glusterfs/python/syncdaemon/resource.py", line 604, in entry_ops
    src_entry = get_slv_dir_path(slv_host, slv_volume, gfid)
  File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 667, in get_slv_dir_path
    slv_info = Volinfo(slv_volume, slv_host)
  File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 856, in __init__
    stdout=PIPE, stderr=PIPE)
  File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 792, in __init__
    os.strerror(ex.errno)))
GsyncdError: execution of "gluster" failed with ENOENT (No such file or directory)

i am nit sure the "Special case" message reported before the exception is related but the gfid is not always the same however refers to a folder structure which is the same across all gfids: gfid-XXXXXXXX/.dotfiles So the error is always on the dotfiles folder of different gfids which are user's folders. The dotfiles folder is pushed by config management tool from a gitrepo. Seems during hsitory crawl geo replication is capable of handling folder structure changes?

ghost avatar Mar 21 '19 15:03 ghost

Changelog bug - fixed in 4.1.8

asender avatar Apr 29 '19 00:04 asender

@labazza Could you please share the reproducer and the gluster version, volume type?

kotreshhr avatar May 22 '19 10:05 kotreshhr

It looks like the gluster binary could not be found when it's ran with Popen. Is it still happening ?

kotreshhr avatar May 22 '19 10:05 kotreshhr

I am closing this issue.

sunnyku avatar Jan 08 '20 17:01 sunnyku