[Bugs] [Bug 1304383] New: pcs cluster setup fails for nfs-ganesha

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 3 13:07:59 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1304383

            Bug ID: 1304383
           Summary: pcs cluster setup fails for nfs-ganesha
           Product: GlusterFS
           Version: mainline
         Component: ganesha-nfs
          Severity: medium
          Priority: medium
          Assignee: kkeithle at redhat.com
          Reporter: jthottan at redhat.com
                CC: bugs at gluster.org, kkeithle at redhat.com,
                    ndevos at redhat.com, skoduri at redhat.com



Description of problem:
The pcs cluster set up fails due to a python exception error while running
"gluster nfs-ganesha enable" on a fedora22 machine. Both seslinux and firewalld
were disabled.

Version-Release number of selected component (if applicable):
pcs-0.9.139-7.fc22.x86_64
glusterfs 3.7.7
nfs-ganesha V2.4-dev-6

How reproducible:
always

Steps to Reproduce:
1. start required service for HA cluster
2. write ha config file
3. gluster nfs-ganesha enable 


Actual results:
gluster nfs-ganesha enable fails

Expected results:
gluster nfs-ganesha enable should succeed 

Additional info:
tail from /var/log messages
---------------------------- 
Feb  3 18:24:37 localhost root: setting up ganesha-ha-360
Feb  3 18:24:37 localhost root: setting up cluster ganesha-ha-360 with the
following dhcp9 dhcp81
Feb  3 18:24:38 localhost python: detected unhandled Python exception in
'/usr/sbin/pcs'
Feb  3 18:24:38 localhost dbus[633]: [system] Activating service
name='org.freedesktop.problems' (using servicehelper)
Feb  3 18:24:38 localhost dbus[633]: [system] Successfully activated service
'org.freedesktop.problems'
Feb  3 18:24:38 localhost root: pcs cluster setup  ganesha-ha-360 dhcp9 dhcp81
failed

bt of the core
---------------
cluster.py:191:auth_nodes:EOFError: EOF when reading a line

Traceback (most recent call last):
  File "/usr/sbin/pcs", line 155, in <module>
    main(sys.argv[1:])
  File "/usr/sbin/pcs", line 137, in main
    cluster.cluster_cmd(argv)
  File "/usr/lib/python2.7/site-packages/pcs/cluster.py", line 53, in
cluster_cmd
    cluster_auth(argv)
  File "/usr/lib/python2.7/site-packages/pcs/cluster.py", line 144, in
cluster_auth
    auth_nodes(argv)
  File "/usr/lib/python2.7/site-packages/pcs/cluster.py", line 191, in
auth_nodes
    username = raw_input("")
EOFError: EOF when reading a line

Local variables in innermost frame:
need_auth: False
status: (0,
'{"success":true,"node_list":["dhcp43-81","dhcp43-9","dhcp43-9.lab.eng.blr.redhat.com","dhcp81","dhcp9"]}')
failed_count: 0
node: 'dhcp9'
mutually_authorized: False
username: None
nodes: ['dhcp9', 'dhcp81']
password: None
auth_status: {u'node_list': [u'dhcp43-81', u'dhcp43-9',
u'dhcp43-9.lab.eng.blr.redhat.com', u'dhcp81', u'dhcp9'], u'success': True}
set_nodes: set(['dhcp81', 'dhcp9'])

ha conf file
-------------
HA_NAME="ganesha-ha-360"
#
# The gluster server from which to mount the shared data volume.
HA_VOL_SERVER="dhcp81"
#
# N.B. you may use short names or long names; you may not use IP addrs.
# Once you select one, stay with it as it will be mildly unpleasant to
# clean up if you switch later on. Ensure that all names - short and/or
# long - are in DNS or /etc/hosts on all machines in the cluster.
#
# The subset of nodes of the Gluster Trusted Pool that form the ganesha
# HA cluster. Hostname is specified.
HA_CLUSTER_NODES="dhcp9,dhcp81"
#HA_CLUSTER_NODES="server1.lab.redhat.com,server2.lab.redhat.com,..."
#
# Virtual IPs for each of the nodes specified above.
VIP_dhcp9="10.70.40.183"
VIP_dhcp81="10.70.40.184"


tail from /var/log/pcsd/pcsd.log
----------------------------------
Feb  3 18:24:37 localhost root: setting up ganesha-ha-360
Feb  3 18:24:37 localhost root: setting up cluster ganesha-ha-360 with the
following dhcp9 dhcp81
Feb  3 18:24:38 localhost python: detected unhandled Python exception in
'/usr/sbin/pcs'
Feb  3 18:24:38 localhost dbus[633]: [system] Activating service
name='org.freedesktop.problems' (using servicehelper)
Feb  3 18:24:38 localhost dbus[633]: [system] Successfully activated service
'org.freedesktop.problems'
Feb  3 18:24:38 localhost root: pcs cluster setup  ganesha-ha-360 dhcp9 dhcp81
failed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Mmf1csG9A8&a=cc_unsubscribe


More information about the Bugs mailing list