Bug 1361201 - gluster nfs-ganesha disable doesn't prompt user to select (y/n) option.
Summary: gluster nfs-ganesha disable doesn't prompt user to select (y/n) option.
Keywords:
Status: CLOSED DUPLICATE of bug 1364382
Alias: None
Product: GlusterFS
Classification: Community
Component: ganesha-nfs
Version: 3.8.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jiffin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-28 13:36 UTC by Shashank Raj
Modified: 2016-11-08 03:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 06:20:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Shashank Raj 2016-07-28 13:36:41 UTC
Description of problem:

gluster nfs-ganesha disable doesn't prompt user to select (y/n) option.

Version-Release number of selected component (if applicable):

[root@dhcp43-133 ~]# rpm -qa|grep glusterfs
glusterfs-ganesha-3.8.1-1.el7.x86_64
glusterfs-libs-3.8.1-1.el7.x86_64
glusterfs-3.8.1-1.el7.x86_64
glusterfs-client-xlators-3.8.1-1.el7.x86_64
glusterfs-api-3.8.1-1.el7.x86_64
glusterfs-fuse-3.8.1-1.el7.x86_64
glusterfs-server-3.8.1-1.el7.x86_64
glusterfs-geo-replication-3.8.1-1.el7.x86_64
glusterfs-cli-3.8.1-1.el7.x86_64

[root@dhcp43-133 ~]# rpm -qa|grep ganesha
glusterfs-ganesha-3.8.1-1.el7.x86_64
nfs-ganesha-gluster-2.4.0-0.14dev26.el7.centos.x86_64
nfs-ganesha-2.4.0-0.14dev26.el7.centos.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Setup nfs-ganesha cluster on some nodes.
2. After that try to disable nfs-ganesha on the cluster.
3. Observe that disabling starts as soon as command is executed without even letting user confirm it, which is not a good scenario.

[root@dhcp43-133 ~]# gluster nfs-ganesha disable
This will take a few minutes to complete. Please wait ..
nfs-ganesha : success 


Actual results:

gluster nfs-ganesha disable doesn't prompt user to select (y/n) option.

Expected results:

nfs-ganesha disable should prompt user with yes/no option whether they need to proceed ahead or not.

Additional info:

Comment 1 Jiffin 2016-07-29 05:35:43 UTC
The patch went in 3.7 didn't backport to 3.8 branch

Comment 2 Jiffin 2016-08-24 06:20:11 UTC

*** This bug has been marked as a duplicate of bug 1364382 ***


Note You need to log in before you can comment on or make changes to this bug.