Description of problem: Presently add-node works only if the "/etc/ganesha/exports" is available, otherwise it fails to bring the nfs-ganesha process up. Version-Release number of selected component (if applicable): glusterfs-3.7.1-8.el6rhs.x86_64 nfs-ganesha-2.2.0-4.el6rhs.x86_64 How reproducible: always Steps to Reproduce: 1. configure nfs-ganesha on 4 nodes. 2. gluster peer probe a 5th node, 3. make sure that "/etc/ganesha/exports" directory is not available 4. use the gluster command to add a node Actual results: step 4, pcs will be able to add-node, but actually nfs-ganesha process does not up on the new node, Clone Set: nfs-mon-clone [nfs-mon] Started: [ nfs11 nfs12 nfs13 nfs14 nfs15 nfs16 ] Clone Set: nfs-grace-clone [nfs-grace] Started: [ nfs11 nfs12 nfs13 nfs14 nfs15 nfs16 ] nfs16-dead_ip-1 (ocf::heartbeat:Dummy): Started nfs16 nfs11-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs11 nfs11-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs11 nfs12-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs12 nfs12-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs12 nfs13-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs13 nfs13-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs13 nfs14-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs14 nfs14-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs14 nfs15-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs15 nfs15-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs15 nfs16-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs15 nfs16-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs15 Expected results: /etc/ganesha/exports should be created and data copied in the directory as similar to other nodes. Additional info:
I verified the things on VMs and based on the logs below moving this BZ to verified, [root@nfs11 ~]# time bash /usr/libexec/ganesha/ganesha-ha.sh --add /etc/ganesha nfs16 10.70.44.97 root@nfs11's password: root@nfs11's password: ganesha.conf 100% 1219 1.2KB/s 00:00 Connection to nfs11 closed. tmp.cCW9SXsWpV 100% 1219 1.2KB/s 00:00 root@nfs11's password: root@nfs11's password: export.vol5.conf 100% 550 0.5KB/s 00:00 Connection to nfs11 closed. export.vol5.conf 100% 550 0.5KB/s 00:00 Starting ganesha.nfsd: [ OK ] nfs11: Corosync updated nfs12: Corosync updated nfs13: Corosync updated nfs14: Corosync updated nfs15: Corosync updated nfs16: Updated cluster.conf... Adding nfs_start-nfs16 nfs-mon-clone (kind: Mandatory) (Options: first-action=start then-action=start) CIB updated nfs16: Starting Cluster... Removing Constraint - location-nfs_start-nfs16-nfs16-INFINITY Removing Constraint - order-nfs_start-nfs16-nfs-mon-clone-mandatory Attempting to stop: nfs_start-nfs16...Stopped Deleting Resource - nfs_start-nfs16 Removing Constraint - colocation-nfs11-cluster_ip-1-nfs11-trigger_ip-1-INFINITY Removing Constraint - location-nfs11-cluster_ip-1 Removing Constraint - location-nfs11-cluster_ip-1-nfs12-1000 Removing Constraint - location-nfs11-cluster_ip-1-nfs13-2000 Removing Constraint - location-nfs11-cluster_ip-1-nfs14-3000 Removing Constraint - location-nfs11-cluster_ip-1-nfs15-4000 Removing Constraint - location-nfs11-cluster_ip-1-nfs11-5000 Removing Constraint - order-nfs-grace-clone-nfs11-cluster_ip-1-mandatory Deleting Resource - nfs11-cluster_ip-1 Removing Constraint - order-nfs11-trigger_ip-1-nfs-grace-clone-mandatory Deleting Resource - nfs11-trigger_ip-1 Removing Constraint - colocation-nfs12-cluster_ip-1-nfs12-trigger_ip-1-INFINITY Removing Constraint - location-nfs12-cluster_ip-1 Removing Constraint - location-nfs12-cluster_ip-1-nfs13-1000 Removing Constraint - location-nfs12-cluster_ip-1-nfs14-2000 Removing Constraint - location-nfs12-cluster_ip-1-nfs15-3000 Removing Constraint - location-nfs12-cluster_ip-1-nfs11-4000 Removing Constraint - location-nfs12-cluster_ip-1-nfs12-5000 Removing Constraint - order-nfs-grace-clone-nfs12-cluster_ip-1-mandatory Deleting Resource - nfs12-cluster_ip-1 Removing Constraint - order-nfs12-trigger_ip-1-nfs-grace-clone-mandatory Deleting Resource - nfs12-trigger_ip-1 Removing Constraint - colocation-nfs13-cluster_ip-1-nfs13-trigger_ip-1-INFINITY Removing Constraint - location-nfs13-cluster_ip-1 Removing Constraint - location-nfs13-cluster_ip-1-nfs14-1000 Removing Constraint - location-nfs13-cluster_ip-1-nfs15-2000 Removing Constraint - location-nfs13-cluster_ip-1-nfs11-3000 Removing Constraint - location-nfs13-cluster_ip-1-nfs12-4000 Removing Constraint - location-nfs13-cluster_ip-1-nfs13-5000 Removing Constraint - order-nfs-grace-clone-nfs13-cluster_ip-1-mandatory Deleting Resource - nfs13-cluster_ip-1 Removing Constraint - order-nfs13-trigger_ip-1-nfs-grace-clone-mandatory Deleting Resource - nfs13-trigger_ip-1 Removing Constraint - colocation-nfs14-cluster_ip-1-nfs14-trigger_ip-1-INFINITY Removing Constraint - location-nfs14-cluster_ip-1 Removing Constraint - location-nfs14-cluster_ip-1-nfs15-1000 Removing Constraint - location-nfs14-cluster_ip-1-nfs11-2000 Removing Constraint - location-nfs14-cluster_ip-1-nfs12-3000 Removing Constraint - location-nfs14-cluster_ip-1-nfs13-4000 Removing Constraint - location-nfs14-cluster_ip-1-nfs14-5000 Removing Constraint - order-nfs-grace-clone-nfs14-cluster_ip-1-mandatory Deleting Resource - nfs14-cluster_ip-1 Removing Constraint - order-nfs14-trigger_ip-1-nfs-grace-clone-mandatory Deleting Resource - nfs14-trigger_ip-1 Removing Constraint - colocation-nfs15-cluster_ip-1-nfs15-trigger_ip-1-INFINITY Removing Constraint - location-nfs15-cluster_ip-1 Removing Constraint - location-nfs15-cluster_ip-1-nfs11-1000 Removing Constraint - location-nfs15-cluster_ip-1-nfs12-2000 Removing Constraint - location-nfs15-cluster_ip-1-nfs13-3000 Removing Constraint - location-nfs15-cluster_ip-1-nfs14-4000 Removing Constraint - location-nfs15-cluster_ip-1-nfs15-5000 Removing Constraint - order-nfs-grace-clone-nfs15-cluster_ip-1-mandatory Deleting Resource - nfs15-cluster_ip-1 Removing Constraint - order-nfs15-trigger_ip-1-nfs-grace-clone-mandatory Deleting Resource - nfs15-trigger_ip-1 Adding nfs11-trigger_ip-1 nfs-grace-clone (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs-grace-clone nfs11-cluster_ip-1 (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs12-trigger_ip-1 nfs-grace-clone (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs-grace-clone nfs12-cluster_ip-1 (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs13-trigger_ip-1 nfs-grace-clone (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs-grace-clone nfs13-cluster_ip-1 (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs14-trigger_ip-1 nfs-grace-clone (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs-grace-clone nfs14-cluster_ip-1 (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs15-trigger_ip-1 nfs-grace-clone (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs-grace-clone nfs15-cluster_ip-1 (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs16-trigger_ip-1 nfs-grace-clone (kind: Mandatory) (Options: first-action=start then-action=start) Adding nfs-grace-clone nfs16-cluster_ip-1 (kind: Mandatory) (Options: first-action=start then-action=start) CIB updated ganesha-ha.conf 100% 958 0.9KB/s 00:00 ganesha-ha.conf 100% 958 0.9KB/s 00:00 ganesha-ha.conf 100% 958 0.9KB/s 00:00 ganesha-ha.conf 100% 958 0.9KB/s 00:00 ganesha-ha.conf 100% 958 0.9KB/s 00:00 ganesha-ha.conf 100% 958 0.9KB/s 00:00 real 1m19.579s user 0m26.028s sys 0m7.365s [root@nfs11 ~]# pcs status Cluster name: nozomer Last updated: Thu Jul 16 20:22:52 2015 Last change: Thu Jul 16 20:22:33 2015 Stack: cman Current DC: nfs11 - partition with quorum Version: 1.1.11-97629de 6 Nodes configured 24 Resources configured Online: [ nfs11 nfs12 nfs13 nfs14 nfs15 nfs16 ] Full list of resources: Clone Set: nfs-mon-clone [nfs-mon] Started: [ nfs11 nfs12 nfs13 nfs14 nfs15 nfs16 ] Clone Set: nfs-grace-clone [nfs-grace] Started: [ nfs11 nfs12 nfs13 nfs14 nfs15 nfs16 ] nfs11-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs11 nfs11-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs11 nfs12-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs12 nfs12-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs12 nfs13-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs13 nfs13-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs13 nfs14-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs14 nfs14-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs14 nfs15-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs15 nfs15-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs15 nfs16-cluster_ip-1 (ocf::heartbeat:IPaddr): Started nfs16 nfs16-trigger_ip-1 (ocf::heartbeat:Dummy): Started nfs16
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1495.html