Bug 1518140
| Summary: | [Ganesha] : Unable to export volumes via Ganesha when selinux is enabled. | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Ambarish <asoman> | |
| Component: | nfs-ganesha | Assignee: | Kaleb KEITHLEY <kkeithle> | |
| Status: | CLOSED WORKSFORME | QA Contact: | Ambarish <asoman> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.4 | CC: | amukherj, bturner, dang, ffilz, jthottan, kkeithle, mbenjamin, rcyriac, rhinduja, rhs-bugs, skoduri, 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: | ||||
| : | 1530950 (view as bug list) | Environment: | ||
| Last Closed: | 2018-02-14 12:19:17 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: | ||||
| Bug Depends On: | 1511489 | |||
| Bug Blocks: | 1530950 | |||
|
Description
Ambarish
2017-11-28 10:14:12 UTC
This is what I see in Ganesha logs : <snip> 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] glusterfs_create_export :FSAL :EVENT :Volume testvol exported at : '/' 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] glusterfs_get_fs :FSAL :CRIT :Unable to set logging. Volume: testvol 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying FSAL GLUSTER 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/testvol) to (/testvol) 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] main :NFS STARTUP :WARN :No export entries found in configuration file !!! 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] config_errs_to_log :CONFIG :CRIT :Config File (/var/run/gluster/shared_storage/nfs-ganesha/exports/export.testvol.conf:7): 1 validation errors in block FSAL 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] config_errs_to_log :CONFIG :CRIT :Config File (/var/run/gluster/shared_storage/nfs-ganesha/exports/export.testvol.conf:7): Errors processing block (FSAL) 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] config_errs_to_log :CONFIG :CRIT :Config File (/var/run/gluster/shared_storage/nfs-ganesha/exports/export.testvol.conf:4): 1 validation errors in block EXPORT 28/11/2017 02:02:38 : epoch d8e50000 : gqas006.sbu.lab.eng.bos.redhat.com : ganesha.nfsd-27477[main] config_errs_to_log :CONFIG :CRIT :Config File (/var/run/gluster/shared_storage/nfs-ganesha/exports/export.testvol.conf:4): Errors processing block (EXPORT) </snip> For soem reason,logging was unsuccessful and add export failed subsequently So, ganesha with selinux enabled is known to be broken on RHEL 7.5. The selinux maintainers have a fix for this, but as far as I know, they haven't rolled out the new packages yet. For now, you'll have to run without enforcing. Dan, Do we have a RHEL bug for this? I don't know, Kaleb has been point on this. Exports are working fine on selinux enforced systems - on RHEL Snapshot 3 that QE is currently testing RHGS 3.4 with . I am closing this bug as WFM. |