Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1361201

Summary: gluster nfs-ganesha disable doesn't prompt user to select (y/n) option.
Product: [Community] GlusterFS Reporter: Shashank Raj <sraj>
Component: ganesha-nfsAssignee: Jiffin <jthottan>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.8.1CC: amukherj, bugs, jthottan, kkeithle, ndevos, sashinde, skoduri
Target Milestone: ---Keywords: EasyFix, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 06:20:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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