Bug 719645

Summary: fence-virt metadata needs 'domain' for compatibility
Product: Red Hat Enterprise Linux 6 Reporter: Lon Hohberger <lhh>
Component: fence-virtAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: cluster-maint, djansa, fdinitto, jkortus, mgrac
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-virt-0.2.3-1.el6 Doc Type: Bug Fix
Doc Text:
Cause: The 'domain' parameter was removed in favor of 'port'. Consequence: Existing configurations utilizing 'domain' instead of 'port' cease to function correctly when fencing using the existing package. Fix: Add 'domain' for compatibility. Result: Existing configurations work with this new package.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 11:38:02 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:
Bug Depends On:    
Bug Blocks: 680930, 917782    
Attachments:
Description Flags
Test case.
none
Updated test case none

Description Lon Hohberger 2011-07-07 15:03:59 UTC
Created attachment 511728 [details]
Test case.

Description of problem:

fence_virt -o metadata should have a "domain" parameter for upgrade compatibility for users of RHEL5 fence_xvm.  Currently, this is not provided.

When using the automatic schema generation in RHEL 6.2 which enables third-party fence- and resource-agents, this will introduce a configuration regression for users.

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

How reproducible: 100%

Steps to Reproduce:
1. fence_xvm -o metadata | grep "parameter.*\"domain\"
  
Actual results:

  No output

Expected results:

  <parameter name="domain">

Additional info:

Test case attached.  This has been resolved upstream already.

Comment 5 Lon Hohberger 2011-07-07 15:45:24 UTC
Created attachment 511747 [details]
Updated test case

The previous one's timeouts were invalid.

Comment 6 Lon Hohberger 2011-07-07 15:50:15 UTC
Current version:

[root@snap ~]# rpm -q fence-virt
fence-virt-0.2.1-8.el6.x86_64
[root@snap ~]# rpm -qV fence-virt
[root@snap ~]# ./fence-virt-domain-check.sh 
Missing domain in metadata


Scratch build:
[root@snap ~]# rpm -Uvh fence-virt-0.2.3-1.el6.x86_64.rpm 
Preparing...                                                            ########################################### [100%]
   1:fence-virt                                                         ########################################### [100%]
[root@snap ~]# rpm -qV fence-virt
[root@snap ~]# ./fence-virt-domain-check.sh 
success
[root@snap ~]# md5sum fence-virt-domain-check.sh 
fbb206b9a46566dcdb6f572aa4bc8f34  fence-virt-domain-check.sh

Comment 12 Lon Hohberger 2011-10-26 22:15:30 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: The 'domain' parameter was removed in favor of 'port'.

Consequence: Existing configurations utilizing 'domain' instead of 'port' cease to function correctly when fencing using the existing package.

Fix: Add 'domain' for compatibility.

Result: Existing configurations work with this new package.

Comment 13 errata-xmlrpc 2011-12-06 11:38:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1566.html