Bug 1397750 - [GDEPLOY+GANESHA] Provide support to remove client permission block from export file with gdeploy
Summary: [GDEPLOY+GANESHA] Provide support to remove client permission block from expo...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gdeploy
Version: rhgs-3.2
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: Devyani Kota
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 10:11 UTC by Manisha Saini
Modified: 2018-11-08 06:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-08 06:31:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Manisha Saini 2016-11-23 10:11:30 UTC
Description of problem:
With gdeploy,Adding permission to 1 client works currently.
If the user wants to remove permissions from that particular client,Gdeploy should provide the support to take back the permissions from that client.
Client block should be deleted from export file

Version-Release number of selected component (if applicable):
gdeploy-2.0.1-5.el7rhgs.noarch
glusterfs-3.8.4-5.el7rhgs.x86_64

How reproducible:

Steps to Reproduce:
1.Create 4 node ganesha setup using gdeploy
2.Create a volume with nfs enable on that client
3.Mount the volume to client
4.With gdeploy give permissions to 1 client.Run refresh-config
5.Remove permission for that client in export block

EXPORT{
      Export_Id= 5 ;
      Path = "/ganeshaval";
      FSAL {
           name = GLUSTER;
           hostname="localhost";
          volume="ganeshaval";
           }
      Access_type = RW;
      Disable_ACL = true;
      Squash="No_root_squash";
      Pseudo="/ganeshaval";
      Protocols = "3", "4" ;
      Transports = "UDP","TCP";
      SecType = "sys";
client {
clients = 10.70.46.44;
allow_root_access = true;
access_type = "RO";
Protocols = "4";
anonymous_uid = 1440;
anonymous_gid = 72;
}

}

Client block should be deleted from export file
Actual results:


Expected results:


Additional info:

Comment 6 Sachidananda Urs 2018-10-22 05:37:26 UTC
Since this functionality will be moved to gluster-ansible in future, this bug is flagged for closure. If there is a requirement to fix in 3.x please update the bug.


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