[Bugs] [Bug 1529916] New: glusterfind doesn't terminate when it fails

bugzilla at redhat.com bugzilla at redhat.com
Sun Dec 31 01:41:26 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1529916

            Bug ID: 1529916
           Summary: glusterfind doesn't terminate when it fails
           Product: GlusterFS
           Version: mainline
         Component: glusterfind
          Assignee: bugs at gluster.org
          Reporter: nh2-redhatbugzilla at deditus.de
        QA Contact: bugs at gluster.org
                CC: avishwan at redhat.com, bugs at gluster.org,
                    khiremat at redhat.com



Description of problem:

Gluster 3.12.3.

When a `glusterfind pre` invocation fails due to unrecoverable errors,
`glusterfind` doesn't terminate, it just prints some more weird errors and then
hangs:

    [root at node-1:~]# glusterfind pre --no-encode --regenerate-outfile
cdn-rsync-myvol myvol /tmp/cdn-rsync-myvol.outfile
    10.0.0.2 - pre failed; stdout (including remote stderr):
    Connection to 10.0.0.2 closed.

    stderr:
    Fail to create dir
/var/var/lib/misc/glusterfsd/glusterfind/cdn-rsync-myvol/myvol/20171231-013544-927166-Nl7zE1/eef7fa430d9ab60e74ec72b66629f783f9fb37fa:
[Errno 28] No space left on device:
'/var/var/lib/misc/glusterfsd/glusterfind/cdn-rsync-myvol/myvol/20171231-013544-927166-Nl7zE1'


    10.0.0.3 - pre failed; stdout (including remote stderr):
    Connection to 10.0.0.3 closed.

    stderr:
    /data/glusterfs/myvol/brick1/brick Error during Changelog Crawl: [Errno 22]
Invalid argument


In this case, there is "No space left on device" on the remote side, and
another very unhelpful error ("Invalid argument" without further info);
nevertheless `glusterfind` does not terminate right then; it continues a bit
more until the next error:

    10.0.0.1 - pre failed; stdout (including remote stderr):
    /data/glusterfs/myvol-production/brick1/brick Error during Changelog Crawl:
[Errno 22] Invalid argument

    stderr:

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list