Bug 444210

Summary: Adding multiple fence devices at the same time causes duplicate entries
Product: Red Hat Enterprise Linux 5 Reporter: Vinny Valdez <vvaldez>
Component: congaAssignee: Ryan McCabe <rmccabe>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1CC: bbrock, cluster-maint, robert_hentosh
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:56:13 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 Vinny Valdez 2008-04-25 19:40:26 UTC
Description of problem:
When adding fencing to a node, if I select "add a fence device to this level"
under either "Main" or "Backup" fencing methods more than once at a time, when
saving it with "update fence properties", the entries are duplicated in both
"Main" and "Backup".  If I add one device, save it, then add another, it works
as expected.  I also tried this using 5.2 beta, and it still occurs (it seems to
duplicate it twice in each section as well).


Version-Release number of selected component (if applicable):
luci-0.10.0-6.el5.x86_64
luci-0.12.0-5.el5.x86_64

How reproducible:
Everytime


Steps to Reproduce:
1. Setup a new cluster
2. Select any node to configure fencing
3. Add more than one fencing device at the same time to the same Fencing
Method and save it with the "update fence properties" button.
  
Actual results:
The fencing devices are duplicated in both main and backup.  The
cluster.conf also lists the duplicate entries.  However, if I add only one
fencing device and save it, I can add another one at the same level with
out issue.


Expected results:
The entries should only appear in the section that the fencing devices were
added to.


Additional info:
I also had issues when trying to remove previous duplicates.  I have to
remove and save individual fencing devices.  If I remove all of them and
save, it does not remove them properly.  It appears to be the same type of
behavior as adding them.

Comment 1 Vinny Valdez 2008-04-25 19:48:09 UTC
I meant to add that the scenario that requires this type of configuration is
when the nodes are connected to two network power switches, and require both
devices as their main fencing method.  In my lab I have one apc and one wti that
each node is connected to.  However, I can reproduce this by adding any fence
devices to the same method at once.

Comment 5 Brian Brock 2008-12-16 23:32:02 UTC
verified, one entry seen per fence

Comment 7 errata-xmlrpc 2009-01-20 21:56:13 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0196.html