[Bugs] [Bug 1373735] New: Event pushed even if Answer is No in the Volume Stop and Delete prompt

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 7 05:48:56 UTC 2016


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

            Bug ID: 1373735
           Summary: Event pushed even if Answer is No in the Volume Stop
                    and Delete prompt
           Product: GlusterFS
           Version: 3.9
         Component: eventsapi
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
                CC: amukherj at redhat.com
        Depends On: 1373072
            Blocks: 1351589



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

Description of problem:
$gluster v stop gv1
Stopping volume will make its data inaccessible. Do you want to continue? (y/n)
n

$gluster v delete gv1
Deleting volume will erase all information about the volume. Do you want to
continue? (y/n) n

Answer is No in both of the above. But event is sent.

--- Additional comment from Worker Ant on 2016-09-05 01:47:23 EDT ---

REVIEW: http://review.gluster.org/15399 (eventsapi: Fix Volume Stop and delete
prompt issue) posted (#1) for review on master by Aravinda VK
(avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-09-05 02:00:15 EDT ---

REVIEW: http://review.gluster.org/15399 (eventsapi: Fix Volume Stop and delete
prompt issue) posted (#2) for review on master by Aravinda VK
(avishwan at redhat.com)

--- Additional comment from Worker Ant on 2016-09-07 01:19:02 EDT ---

COMMIT: http://review.gluster.org/15399 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit f20e41aec392a45f860fa7e80ad5ee9d5607a45c
Author: Aravinda VK <avishwan at redhat.com>
Date:   Mon Sep 5 11:15:10 2016 +0530

    eventsapi: Fix Volume Stop and delete prompt issue

    During Volume Stop and Delete, event is emitted even if
    prompt answer is No.

    Also added "force" details in START and STOP events.

    BUG: 1373072
    Change-Id: I986dcff7154b584f6ed44b533d4eeabe82815235
    Signed-off-by: Aravinda VK <avishwan at redhat.com>
    Reviewed-on: http://review.gluster.org/15399
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1351589
[Bug 1351589] [RFE] Eventing for Gluster
https://bugzilla.redhat.com/show_bug.cgi?id=1373072
[Bug 1373072] Event pushed even if Answer is No in the Volume Stop and
Delete prompt
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list