[Bugs] [Bug 1557297] New: Pause/ Resume of geo-replication with wrong user specified returns success

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 16 11:41:35 UTC 2018


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

            Bug ID: 1557297
           Summary: Pause/Resume of geo-replication with wrong user
                    specified returns success
           Product: Red Hat Gluster Storage
           Version: 3.4
         Component: geo-replication
          Severity: high
          Assignee: avishwan at redhat.com
          Reporter: sunkumar at redhat.com
        QA Contact: rhinduja at redhat.com
                CC: bugs at gluster.org, csaba at redhat.com,
                    marcus.pedersen at slu.se, rhs-bugs at redhat.com,
                    storage-qa-internal at redhat.com, sunkumar at redhat.com
        Depends On: 1547446
            Blocks: 1550936



+++ This bug was initially created as a clone of Bug #1547446 +++

Description of problem:
Geo-replication setup with other user then root on slave node,
as described in documentation:
http://docs.gluster.org/en/latest/Administrator%20Guide/Geo%20Replication/
If you run pause or resume on geo-replication with wrong user,
other user then you setup, you will get pause/resume success even
if it does not work.
To make it work again you need to restart glusterd on all nodes.

Version-Release number of selected component (if applicable):
glusterfs 3.12.5 (all packages)

How reproducible:
If geo-replication is setup with user geoaccount, run:
gluster volume geo-replication [volume_name]
anotheruser@[main_slave_node]::[volume_name] pause
Returns:
Pausing geo-replication session between [volume_name] &
anotheruser at main_slave_node]::[volume_name] has been successful
If you create a snapshot you will get the error that you need to stop
geo-replication first.
So geo-replication does not pause

Steps to Reproduce:
1. gluster volume geo-replication [volume_name]
anotheruser@[main_slave_node]::[volume_name] pause
2. gluster snapshot create [snap_name] [volume_name]

Actual results:
Geo-replication returns success with exit code 0 even if wrong user or no user
(root) is specified at pause/resume when geo-replication user is setup.


Expected results:
Return code != 0 and an error message saying that wrong user is specified

Additional info:
Have not tested with root user for geo-replication and specifying another user
at pause/resume

--- Additional comment from Worker Ant on 2018-03-02 04:29:25 EST ---

REVIEW: https://review.gluster.org/19658 (georep : Pause/Resume of
geo-replication with wrong user) posted (#1) for review on master by Sunny
Kumar

--- Additional comment from Worker Ant on 2018-03-02 05:21:56 EST ---

REVISION POSTED: https://review.gluster.org/19658 (georep : Pause/Resume of
geo-replication with wrong user) posted (#2) for review on master by Sunny
Kumar


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1547446
[Bug 1547446] Pause/Resume of geo-replication with wrong user specified
returns success
https://bugzilla.redhat.com/show_bug.cgi?id=1550936
[Bug 1550936] Pause/Resume of geo-replication with wrong user specified
returns success
-- 
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=DgrvQZ2iI8&a=cc_unsubscribe


More information about the Bugs mailing list