Bug 1369006
Summary: | Gluster Volume is not getting exported after enabling ganesha on the volume | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shashank Raj <sraj> |
Component: | ganesha-nfs | Assignee: | bugs <bugs> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.8.2 | CC: | bugs, jthottan, kkeithle, lvrabec, mgrepl, mmalik, ndevos, plautrba, pvrabec, rcyriac, sashinde, skoduri, sraj, ssekidde, storage-qa-internal |
Target Milestone: | --- | ||
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-09-06 06:53:38 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-08-22 10:25:03 UTC
Moving to RHEL-7 + selinux-policy. Gluster or Ganesha can not fix this by itself. Hi Lukas, this bug is filed wrt 7.2 and even for 7.2 i think its fixed with selinux-policy-3.13.1-60.el7_2.7. Can you just confirm that? We suspect this has to do something with how nfs-ganesha is being brought up in the system. selinux context on the machine where we see this issue: [root@dhcp43-116 ~]# ps -eafZ | grep ganesha system_u:system_r:initrc_t:s0 root 9169 1 13 19:37 ? 00:18:20 /usr/bin/ganesha.nfsd -L /var/log/ganesha.log -f /etc/ganesha/ganesha.conf -N NIV_EVENT selinux context on the machine where this is fixed: [root@dhcp43-208 ~]# ps -eafZ | grep ganesha system_u:system_r:glusterd_t:s0 root 10202 1 25 Jul25 ? 7-02:53:34 /usr/bin/ganesha.nfsd -L /var/log/ganesha.log -f /etc/ganesha/ganesha.conf -N NIV_EVENT -E 6311201610069442560 Once you confirm, that it is fixed with 7.2 as well, i will move it back to the appropriate component. Thanks Lukas. Based on comment 3,4 and 5, moving the fields back to original. Tried the same with nfs-ganesha 2.3 packages and no selinux issue related to exporting volume is seen. [root@dhcp43-116 exports]# rpm -qa|grep ganesha nfs-ganesha-2.3.3-1.el7.x86_64 glusterfs-ganesha-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64 nfs-ganesha-gluster-2.3.3-1.el7.x86_64 This issue is not seen in testing with the latest gluster and ganesha builds. Below packages have been used and tested: glusterfs-geo-replication-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-api-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-fuse-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-server-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-libs-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-client-xlators-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-ganesha-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-cli-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-debuginfo-3.8.3-0.6.git7956718.el7.centos.x86_64 glusterfs-3.8.3-0.6.git7956718.el7.centos.x86_64 [root@dhcp43-116 ~]# rpm -qa|grep ganesha nfs-ganesha-gluster-next.20160827.7641daf-1.el7.centos.x86_64 glusterfs-ganesha-3.8.3-0.6.git7956718.el7.centos.x86_64 nfs-ganesha-debuginfo-next.20160827.7641daf-1.el7.centos.x86_64 nfs-ganesha-next.20160827.7641daf-1.el7.centos.x86_64 Can u please close this bug? Based on comment 8 since this issue is not seen with latest gluster and ganesha builds, closing this bug. |