Bug 445324

Summary: fence device with passwd_script fails to validate
Product: [Fedora] Fedora Reporter: David Juran <djuran>
Component: system-config-clusterAssignee: Jim Parsons <jparsons>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-27 13:15: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:
Description Flags
cluster.conf none

Description David Juran 2008-05-06 08:25:15 UTC
Description of problem:
If you have a fence device with the passwd_script instead of the passwd
parameter defined, system-config-cluster (and xmllint) will complain about
malformed XML.

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

How reproducible:
Every time

Steps to reproduce:
1. xmllint --relaxng /usr/share/system-config-cluster/misc/cluster.ng

cluster.conf attached
Actual results:
/tmp/cluster.conf:6: element fencedevices: Relax-NG validity error : Element
cluster failed to validate content
/tmp/cluster.conf fails to validate

Expected results:
/tmp/cluster_passwd.conf validates

Additional info:
Similar problem exists on RHEL4 with system-config-cluster-1.0.51-2.0.el4_6.1
xmllint actually validates the configuration but if one opens it with
system-config-cluster, selects the fence device and click "edit fence device
properties" s-c-c throws the following traceback:

Traceback (most recent call last):
  File "/usr/share/system-config-cluster/ConfigTabController.py", line 1129, in
    self.fence_handler.populate_fd_form(agent_type, attrs)
  File "/usr/share/system-config-cluster/FenceHandler.py", line 274, in
    apply(self.fd_populate[agent_type], attrs)
  File "/usr/share/system-config-cluster/FenceHandler.py", line 482, in pop_ilo_fd
KeyError: 'passwd'

Comment 1 David Juran 2008-05-06 08:25:15 UTC
Created attachment 304607 [details]

Comment 2 Bug Zapper 2008-11-26 10:39:14 UTC
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 3 David Juran 2008-11-27 13:15:22 UTC
Fixed in system-config-cluster-1.0.53-2 in Fedora 10