Bug 620342

Summary: Nodes added to cluster with no cluster.conf
Product: Red Hat Enterprise Linux 6 Reporter: Andrew Beekhof <abeekhof>
Component: luciAssignee: Ryan McCabe <rmccabe>
Status: CLOSED WORKSFORME QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: cluster-maint, syeghiay
Target Milestone: rcKeywords: RHELNAK
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-29 17:50:05 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 Andrew Beekhof 2010-08-02 09:10:38 UTC
Description of problem:

Adding a node to a cluster is only partially succeeding.
I found the relevant batch file, it has as much info as I can find.


<?xml version="1.0"?>
<batch batch_id="1820464634" status="4">
        <module name="rpm" status="0">
                <response API_version="1.0" sequence="">
                        <function_response function_name="install">
                                <var mutable="false" name="success" type="boolean" value="true"/>
                        </function_response>
                </response>
        </module>
        <module name="service" status="0">
                <response API_version="1.0" sequence="">
                        <function_response function_name="disable">
                                <var mutable="false" name="success" type="boolean" value="true"/>
                        </function_response>
                </response>
        </module>
        <module name="rpm" status="0">
                <response API_version="1.0" sequence="">
                        <function_response function_name="install">
                                <var mutable="false" name="success" type="boolean" value="true"/>
                        </function_response>
                </response>
        </module>
        <module name="cluster" status="3">
                <request API_version="1.0">
                        <function_call name="set_cluster.conf">
                                <var mutable="false" name="propagate" type="boolean" value="false"/>
                                <var mutable="false" name="cluster.conf" type="xml">
                                        <cluster config_version="2" name="beekhof">
                                                <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
                                                <clusternodes>
                                                        <clusternode name="pcmk-2" nodeid="1" votes="1">
                                                                <fence/>
                                                        </clusternode>
                                                        <clusternode name="pcmk-3" nodeid="2" votes="1">
                                                                <fence/>
                                                        </clusternode>
                                                        <clusternode name="pcmk-4" nodeid="3" votes="1">
                                                                <fence/>
                                                        </clusternode>
                                                </clusternodes>
                                                <cman/>
                                                <fencedevices/>
                                                <rm>
                                                        <failoverdomains/>
                                                        <resources/>
                                                </rm>
                                        </cluster>
                                </var>
                        </function_call>
                </request>
        </module>
        <module name="rpm" status="5">
                <request API_version="1.0">
                        <function_call name="install"/>
                </request>
        </module>
        <module name="cluster" status="5">
                <request API_version="1.0">
                        <function_call name="start_node">
                                <var mutable="false" name="enable_services" type="boolean" value="true"/>
                        </function_call>
                </request>
        </module>
</batch>


Version-Release number of selected component (if applicable):

luci-0.22.2-1.auto1279839662

Comment 2 Andrew Beekhof 2010-08-02 09:13:54 UTC
Sorry, forgot to mention that removing and re-adding the node allows the node to be successfully added.

ricci-0.16.2-13.el6.x86_64
luci-0.22.3-1.auto1280502062.x86_64

Comment 3 RHEL Program Management 2010-08-02 09:27:39 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 5 Lon Hohberger 2010-08-04 20:16:09 UTC
Andrew, were there any AVC denials on the target machine?

Comment 6 Andrew Beekhof 2010-08-05 07:12:28 UTC
(In reply to comment #5)
> Andrew, were there any AVC denials on the target machine?    

Unlikely since the second attempt worked (ie. removing the node and re-adding it).
Also I'm pretty sure selinux was disabled.