Bug 1478897
| Summary: | [Ganesha] : Unable to bring up a Ganesha HA cluster on SELinux disabled machines on latest gluster bits. | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Ambarish <asoman> | |
| Component: | common-ha | Assignee: | Kaleb KEITHLEY <kkeithle> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Manisha Saini <msaini> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.3 | CC: | amukherj, bturner, dang, ffilz, jthottan, jupittma, kkeithle, mbenjamin, msaini, rhinduja, rhs-bugs, sheggodu, skoduri, storage-qa-internal | |
| Target Milestone: | --- | |||
| Target Release: | RHGS 3.4.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.12.2-2 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1490909 (view as bug list) | Environment: | ||
| Last Closed: | 2018-09-06 04:18:16 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: | 1490909 | |||
| Bug Blocks: | 1503134 | |||
|
Description
Ambarish
2017-08-07 13:02:18 UTC
Patch posted upstream for review https://review.gluster.org/#/c/18264/ I tested with SELinux set to permissive, not disabled, but got the same error message on gluster v3.8 and a workaround. Workaround: moved the conf files out from under /var/run/gluster/shared_storage (the Install doc for Ganesha on Gluster says to "copy" these conf files from /etc/ganesha to /var/run/gluster/shared_storage, so they exist in both locations). Is this a valid workaround? [jp@host3 ~]$ sudo gluster --version glusterfs 3.8.4 built on Jan 4 2018 03:26:44 [jp@host3 ~]$ sudo gluster nfs-ganesha enable Enabling NFS-Ganesha requires Gluster-NFS to be disabled across the trusted pool. Do you still want to continue? (y/n) y This will take a few minutes to complete. Please wait .. nfs-ganesha: failed: creation of symlink ganesha.conf in /etc/ganesha failed [jp@host3 ~]$ sudo setenforce permissive [jp@host3 ~]$ sudo mv /var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf /etc/ganesha/ganesha.conf [jp@host3 ~]$ sudo mv /var/run/gluster/shared_storage/nfs-ganesha/ganesha-ha.conf /etc/ganesha/ganesha-ha.conf [jp@host3 ~]$ sudo gluster nfs-ganesha enable Enabling NFS-Ganesha requires Gluster-NFS to be disabled across the trusted pool. Do you still want to continue? (y/n) y This will take a few minutes to complete. Please wait .. nfs-ganesha : success Verified this with-
# rpm -qa | grep ganesha
glusterfs-ganesha-3.12.2-7.el7rhgs.x86_64
nfs-ganesha-2.5.5-5.el7rhgs.x86_64
nfs-ganesha-debuginfo-2.5.5-5.el7rhgs.x86_64
nfs-ganesha-gluster-2.5.5-5.el7rhgs.x86_64
[root@dhcp37-121 ganesha]# getenforce
Disabled
-----------------------
# pcs status
Cluster name: ganesha-ha-360
Stack: corosync
Current DC: dhcp37-136.lab.eng.blr.redhat.com (version 1.1.18-11.el7-2b07d5c5a9) - partition with quorum
Last updated: Sat Apr 21 06:21:40 2018
Last change: Sat Apr 21 16:48:07 2018 by root via cibadmin on dhcp37-121.lab.eng.blr.redhat.com
4 nodes configured
24 resources configured
Online: [ dhcp37-103.lab.eng.blr.redhat.com dhcp37-121.lab.eng.blr.redhat.com dhcp37-136.lab.eng.blr.redhat.com dhcp37-218.lab.eng.blr.redhat.com ]
Full list of resources:
Clone Set: nfs_setup-clone [nfs_setup]
Started: [ dhcp37-103.lab.eng.blr.redhat.com dhcp37-121.lab.eng.blr.redhat.com dhcp37-136.lab.eng.blr.redhat.com dhcp37-218.lab.eng.blr.redhat.com ]
Clone Set: nfs-mon-clone [nfs-mon]
Started: [ dhcp37-103.lab.eng.blr.redhat.com dhcp37-121.lab.eng.blr.redhat.com dhcp37-136.lab.eng.blr.redhat.com dhcp37-218.lab.eng.blr.redhat.com ]
Clone Set: nfs-grace-clone [nfs-grace]
Started: [ dhcp37-103.lab.eng.blr.redhat.com dhcp37-121.lab.eng.blr.redhat.com dhcp37-136.lab.eng.blr.redhat.com dhcp37-218.lab.eng.blr.redhat.com ]
Resource Group: dhcp37-121.lab.eng.blr.redhat.com-group
dhcp37-121.lab.eng.blr.redhat.com-nfs_block (ocf::heartbeat:portblock): Started dhcp37-121.lab.eng.blr.redhat.com
dhcp37-121.lab.eng.blr.redhat.com-cluster_ip-1 (ocf::heartbeat:IPaddr): Started dhcp37-121.lab.eng.blr.redhat.com
dhcp37-121.lab.eng.blr.redhat.com-nfs_unblock (ocf::heartbeat:portblock): Started dhcp37-121.lab.eng.blr.redhat.com
Resource Group: dhcp37-103.lab.eng.blr.redhat.com-group
dhcp37-103.lab.eng.blr.redhat.com-nfs_block (ocf::heartbeat:portblock): Started dhcp37-103.lab.eng.blr.redhat.com
dhcp37-103.lab.eng.blr.redhat.com-cluster_ip-1 (ocf::heartbeat:IPaddr): Started dhcp37-103.lab.eng.blr.redhat.com
dhcp37-103.lab.eng.blr.redhat.com-nfs_unblock (ocf::heartbeat:portblock): Started dhcp37-103.lab.eng.blr.redhat.com
Resource Group: dhcp37-218.lab.eng.blr.redhat.com-group
dhcp37-218.lab.eng.blr.redhat.com-nfs_block (ocf::heartbeat:portblock): Started dhcp37-218.lab.eng.blr.redhat.com
dhcp37-218.lab.eng.blr.redhat.com-cluster_ip-1 (ocf::heartbeat:IPaddr): Started dhcp37-218.lab.eng.blr.redhat.com
dhcp37-218.lab.eng.blr.redhat.com-nfs_unblock (ocf::heartbeat:portblock): Started dhcp37-218.lab.eng.blr.redhat.com
Resource Group: dhcp37-136.lab.eng.blr.redhat.com-group
dhcp37-136.lab.eng.blr.redhat.com-nfs_block (ocf::heartbeat:portblock): Started dhcp37-136.lab.eng.blr.redhat.com
dhcp37-136.lab.eng.blr.redhat.com-cluster_ip-1 (ocf::heartbeat:IPaddr): Started dhcp37-136.lab.eng.blr.redhat.com
dhcp37-136.lab.eng.blr.redhat.com-nfs_unblock (ocf::heartbeat:portblock): Started dhcp37-136.lab.eng.blr.redhat.com
Daemon Status:
corosync: active/disabled
pacemaker: active/disabled
pcsd: active/enabled
-----------------------
Gdeploy output--
----------------------
TASK [Enable nfs-ganesha] *****************************************************************************************************************************************************************************************
changed: [dhcp37-121.lab.eng.blr.redhat.com]
TASK [Pause for 30 seconds (takes a while to enable NFS Ganesha)] *************************************************************************************************************************************************
Pausing for 30 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [dhcp37-121.lab.eng.blr.redhat.com]
TASK [Check NFS Ganesha status] ***********************************************************************************************************************************************************************************
changed: [dhcp37-121.lab.eng.blr.redhat.com]
TASK [Report NFS Ganesha status] **********************************************************************************************************************************************************************************
ok: [dhcp37-121.lab.eng.blr.redhat.com] => {
"msg": "Cluster HA Status: HEALTHY"
}
TASK [Report NFS Ganesha status (If any errors)] ******************************************************************************************************************************************************************
skipping: [dhcp37-121.lab.eng.blr.redhat.com]
PLAY RECAP ********************************************************************************************************************************************************************************************************
dhcp37-121.lab.eng.blr.redhat.com : ok=4 changed=2 unreachable=0 failed=0
------------------------
Moving this BZ to verified state.
|