Bug 677998 - fence_ilo power_wait option not recognized by ccs_config_validate
Summary: fence_ilo power_wait option not recognized by ccs_config_validate
Keywords:
Status: CLOSED DUPLICATE of bug 618705
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cluster
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Fabio Massimo Di Nitto
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-16 13:17 UTC by Gianluca Cecchi
Modified: 2011-02-16 14:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-16 14:13:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Gianluca Cecchi 2011-02-16 13:17:02 UTC
Description of problem:
trying to put power_wait option in my cluster.conf


Version-Release number of selected component (if applicable):
cman-3.0.12-23.el6_0.4.x86_64

How reproducible:
always

Steps to Reproduce:
1. this line
<fencedevice agent="fence_ilo" ipaddr="10.4.192.212" login="fenceuser" name="ilonode01" passwd_script="/usr/local/bin/pwd_ilonode01.sh"/>

[root@rhev1 cluster]# ccs_config_validate
Configuration validates


2. change into
<fencedevice agent="fence_ilo" ipaddr="10.4.192.212" login="fenceuser" name="ilonode01" passwd_script="/usr/local/bin/pwd_ilonode01.sh" power_wait="5"/>



3. run 
[root@rhev1 cluster]# ccs_config_validate
  
Actual results:

Relax-NG validity error : Extra element fencedevices in interleave
tempfile:20: element fencedevices: Relax-NG validity error : Element cluster failed to validate content
tempfile:15: element device: validity error : IDREF attribute name references an unknown ID "ilonode02"
Configuration fails to validate

Expected results:

Configuration validates

Additional info:

It seems power_wait should be ok in /usr/sbin/fence_ilo.....
I have
fence-agents-3.0.12-8.el6_0.2.x86_64
and there is inside it:
def main():
        device_opt = [  "help", "version", "agent", "quiet", "verbose", "debug",
                        "action", "ipaddr", "login", "passwd", "passwd_script",
                        "ssl", "ribcl", "inet4_only", "inet6_only", "ipport",
                        "power_timeout", "shell_timeout", "login_timeout", "power_wait" ]

Comment 2 Fabio Massimo Di Nitto 2011-02-16 14:13:58 UTC
This issue has already been addressed. Thanks for your report.

*** This bug has been marked as a duplicate of bug 618705 ***


Note You need to log in before you can comment on or make changes to this bug.