[Bugs] [Bug 1426156] New: [Ganesha CLI] : Negative Test - Ganesha enable is successful even when ganesha conf files are missing.

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 23 10:23:59 UTC 2017


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

            Bug ID: 1426156
           Summary: [Ganesha CLI] : Negative Test - Ganesha enable is
                    successful even when ganesha conf files are missing.
           Product: GlusterFS
           Version: 3.10
         Component: glusterd
          Keywords: Triaged
          Assignee: jthottan at redhat.com
          Reporter: jthottan at redhat.com
                CC: asoman at redhat.com, bturner at redhat.com,
                    bugs at gluster.org, jthottan at redhat.com,
                    kkeithle at redhat.com, rhinduja at redhat.com,
                    rhs-bugs at redhat.com, skoduri at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1398186



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

Description of problem:
-----------------------

4 node cluster.
Do not create ganesha.conf and ganesha-ha.conf inside shared storage.
Run  gluster nfs-ganesha enable.
The command shows "success".
It would be good to have some sort of a validation check to check presence of
these files.ATM,the success message on the CLI is misleading.


[root at gqas013 ~]# gluster nfs-ganesha enable --mode=script
This will take a few minutes to complete. Please wait ..
nfs-ganesha : success 
[root at gqas013 ~]# 


[root at gqas013 ~]# ll /var/run/gluster/shared_storage/nfs-ganesha
total 0
[root at gqas013 ~]# 
[root at gqas013 ~]# pcs status
Error: cluster is not currently running on this node
[root at gqas013 ~]# 


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

nfs-ganesha-gluster-2.4.1-1.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-4.el7rhgs.x86_64

How reproducible:
-----------------

Always.



Steps to Reproduce:
-------------------

Given in description.


Actual results:
--------------

ganesha enable shows "success" on CLI,which isn't really the case.

Expected results:
------------------

Ganesha enable should throw some sort of a meaningful message on CLI,post
validation.

Additional info:
----------------

-


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1398186
[Bug 1398186] [Ganesha CLI] : Negative Test - Ganesha enable is successful
even when ganesha conf files are missing.
-- 
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=tBVuxLUCvb&a=cc_unsubscribe


More information about the Bugs mailing list