[Bugs] [Bug 1218596] New: BitRot :- scrub pause/resume should give proper error message if scrubber is already paused/resumed and Admin tries to perform same operation

bugzilla at redhat.com bugzilla at redhat.com
Tue May 5 11:24:07 UTC 2015


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

            Bug ID: 1218596
           Summary: BitRot :- scrub pause/resume should give proper error
                    message if scrubber is already paused/resumed and
                    Admin tries to perform same operation
           Product: GlusterFS
           Version: 3.7.0
         Component: bitrot
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: sasundar at redhat.com
                CC: bugs at gluster.org, ggarg at redhat.com,
                    racpatel at redhat.com
        Depends On: 1210684
      Docs Contact: bugs at gluster.org



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

Description of problem:
=======================
If Scrubber is already pasued then pause command should give proper error
message rather than saying 'success'. Same is expected for resume
functionality.


Version-Release number of selected component (if applicable):
=============================================================
3.7dev-0.952.gita7f1d08.el6.x86_64

How reproducible:
=================
always

Steps to Reproduce:
===================
1. create and mount volume.
2. enable bitrot
3. pause scrub process and check volume info.
4. try to pause scrub process.
5. Resume scrub process and check Volume info.
6. try to resume scrub process again


Actual Result:-
===============
On resuming/pausing it again it says 'volume bitrot: success' 

Expect Result:-
===============
On resuming/pausing it should say it is already paused/resumed

--- Additional comment from Anand Avati on 2015-04-13 03:11:05 EDT ---

REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub
pause/resume should give proper error) posted (#1) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)

--- Additional comment from John Skeoch on 2015-04-19 20:24:57 EDT ---

User racpatel at redhat.com's account has been closed

--- Additional comment from Anand Avati on 2015-04-29 10:53:37 EDT ---

REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub
pause/resume should give proper error) posted (#2) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)

--- Additional comment from Anand Avati on 2015-05-04 03:04:17 EDT ---

REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub
pause/resume should give proper error) posted (#3) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)

--- Additional comment from Anand Avati on 2015-05-04 05:37:53 EDT ---

REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub
pause/resume should give proper error) posted (#4) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)

--- Additional comment from Anand Avati on 2015-05-05 02:32:10 EDT ---

REVIEW: http://review.gluster.org/10209 (bitrot/glusterd: Bitrot scrub
pause/resume should give proper error) posted (#5) for review on master by
Gaurav Kumar Garg (ggarg at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1210684
[Bug 1210684] BitRot :- scrub pause/resume should give proper error message
if scrubber is already paused/resumed and Admin tries to perform same
operation
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the Docs Contact for the bug.


More information about the Bugs mailing list