Bug 134604

Summary: ccs_test connect fails after cluster.conf file has been updated on different node
Product: [Retired] Red Hat Cluster Suite Reporter: Corey Marthaler <cmarthal>
Component: ccsAssignee: Jonathan Earl Brassow <jbrassow>
Status: CLOSED CURRENTRELEASE QA Contact: GFS Bugs <gfs-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-20 19:59:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2004-10-04 21:41:53 UTC
Description of problem:
1. Get a quorate cluster up
2. attempt a ccs_connect and it will return a vaild cd
3. update the cluster.conf file on another node and send a HUP
4. wait
5. a ccs_connect attempt will fail
6. a second ccs_conncet attempt will return a vaild cd

[root@morph-05 root]# cat /proc/cluster/nodes
Node  Votes Exp Sts  Name
   1    1    5   M   morph-05
   2    1    5   M   morph-02
   3    1    5   M   morph-04
   4    1    5   M   morph-03
   5    1    5   M   morph-01
[root@morph-05 root]# ccs_test connect
Connect successful.
 Connection descriptor = 0
[root@morph-05 root]# ccs_test connect
Connect successful.
 Connection descriptor = 1

### Updated file on another node
### the new file appears:

[root@morph-05 root]# head /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster name="morph-cluster" config_version="5">

<cman>
</cman>

<dlm>
</dlm>

<nodes>
[root@morph-05 root]# ccs_test connect
ccs_connect failed: Operation not permitted
[root@morph-05 root]# ccs_test connect
Connect successful.
 Connection descriptor = 2


SYSLOG:

Oct  4 16:36:24 morph-05 ccsd[2138]: cluster.conf on-disk version is
<= to in-memory version.
Oct  4 16:36:24 morph-05 ccsd[2138]:  On-disk version   : 5
Oct  4 16:36:24 morph-05 ccsd[2138]:  In-memory version : 5
Oct  4 16:36:24 morph-05 ccsd[2138]: Failed to update config file,
required by cluster.
Oct  4 16:36:24 morph-05 ccsd[2138]: Error while processing connect:
Operation not permitted

How reproducible:
Always

Comment 1 Kiersten (Kerri) Anderson 2004-11-04 15:07:12 UTC
Updates with the proper version and component name.

Comment 2 Kiersten (Kerri) Anderson 2004-11-04 15:15:05 UTC
Updates with the proper version and component name.

Comment 3 Kiersten (Kerri) Anderson 2004-11-04 15:20:23 UTC
Updates with the proper version and component name. Again, just love out tools.

Comment 4 Jonathan Earl Brassow 2004-12-17 17:53:34 UTC
- fix bug 143165, 134604, and 133254 - update related issues
  These all seem to be related to the same issue, that is, remote
  nodes were erroneously processing an update as though they were
  the originator - taking on some tasks that didn't belong to them.

  This was causing connect failures, version rollbacks, etc.


Comment 5 Corey Marthaler 2004-12-20 19:59:22 UTC
fix verified.