[Bugs] [Bug 1529992] New: glusterfind session creation/deletion is inconsistent

bugzilla at redhat.com bugzilla at redhat.com
Sun Dec 31 17:24:48 UTC 2017


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

            Bug ID: 1529992
           Summary: glusterfind session creation/deletion is inconsistent
           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:

GlusterFS 3.12.3

glusterfind sessions are inconsistent.

If you create a session with `glusterfind create`, it exists in `glusterfind
list` only on the same machine, not on the other machines in the volume.

But if you `glusterfind delete` a session, it deletes any session with that
name across _all_ machines!

That's inconsistent.

If you `glusterfind delete` a session that doesn't exist on any machine, it
exits nicely with `Invalid session sessionname`.

But i fyou `glusterfind delete` a session that only exists on a remote machine,
then you get the following ugly/nonsensical error message about SSH private
keys not existing:

    [root at 10-0-0-2:~]# glusterfind delete mysession myvol

    10.0.0.1 - delete failed; stdout (including remote stderr):
    Warning: Identity file
/var/lib/glusterd/glusterfind/mysession/myvol/mysession_myvol_secret.pem not
accessible: No such file or directory.
    Permission denied (publickey,password,keyboard-interactive).

    stderr:

    Command delete failed in 10.0.0.1:/data/glusterfs/myvol/brick1/brick
    10.0.0.3 - delete failed; stdout (including remote stderr):
    Warning: Identity file
/var/lib/glusterd/glusterfind/mysession/myvol/mysession_myvol_secret.pem not
accessible: No such file or directory.
    Permission denied (publickey,password,keyboard-interactive).

    stderr:


How reproducible: Always


Steps to Reproduce:
1. `glusterfind create mysession myvol` on one machine in the cluster
2. `glusterfind delete mysession myvol` on another machine in the cluster

Actual results:

Strange error message

Expected results:

Either both glusterfind create and delete should have sessions be local to only
one machine, or bew global across all machines.

-- 
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