Bug 149878

Summary: Fence Properties display does not update when fence properties are changed
Product: [Retired] Red Hat Cluster Suite Reporter: Paul Kennedy <pkennedy>
Component: redhat-config-clusterAssignee: Jim Parsons <jparsons>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: adstrong, cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-01 18:19:44 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 Paul Kennedy 2005-02-28 16:03:56 UTC
Description of problem:

After  changing  values in the Fence Properties dialog box, the
updated values are not displayed in the âPropertiesâ display. Updated
properties are displayed when clicking the fence device. Also, after
updating "Node Properties", clicking either "Edit Node Properties",
"Manage Fencing For This Node" or "Delete Node" causes traceback errors. 

Version-Release number of selected component (if applicable):
system-config-cluster-0.9.5-1.0

Steps to Reproduce:
1.  Navigate: Cluster -> Cluster Nodes -> foo -> Manage Fencing
    For This Node
2.  At the Fence Configuration dialog box, click "foo", then click
    "Add a New Fence Level" 
3.  At the Fence Configuration dialog box, click "Fence-Level-1",
    then "Add a New Fence to this Level".
4.  At the Fence Properties dialog box, enter information. For
    example, for a power switch, enter "Port" and "Switch"
    parameters. Click "OK".
5.  At the Fence Configuration dialog box, click "Close".
6.  Observe at the "Properties" box at the upper right; "Fence
    Status" has not changed. 
7.  Click "Edit Node Properties" and click "OK".
8.  Observe under Cluster Nodes, "foo" is no longer highlighted.
9.  Click either "Edit Node Properties", "Manage Fencing For This
    Node" or "Delete Node". 
10. Observe traceback error.

-------------------------
Traceback error messages
-------------------------

For "Edit Node Properties":
-----------------------------
Traceback (most recent call last):
  File "/usr/share/system-config-cluster/ConfigTabController.py", line
708, in on_clusternode_edit_b
    self.prep_clusternode_edit_dialog(NODE_EXISTING)
  File "/usr/share/system-config-cluster/ConfigTabController.py", line
731, in prep_clusternode_edit_dialog
    nd = model.get_value(iter, OBJ_COL)
TypeError: iter must be a GtkTreeIter


For "Manage Fencing For This Node":
------------------------------------
Traceback (most recent call last):
  File "/usr/share/system-config-cluster/ConfigTabController.py", line
338, in on_clusternode_fence_b
    treetype = model.get_value(iter, TYPE_COL)
TypeError: iter must be a GtkTreeIter


For "Delete Node": 
-------------------
Traceback (most recent call last):
  File "/usr/share/system-config-cluster/ConfigTabController.py", line
714, in on_clusternode_delete_b
    nd = model.get_value(iter,OBJ_COL)
TypeError: iter must be a GtkTreeIter


Actual results:
For step 6, "Properties" does not change.
For step 10, the node "foo" became deselected (not highlighted), not
allowing further configuration of that node through the "Edit Node
Properties", "Manage Fencing For This Node" or "Delete Node" buttons.

Expected results:
For step 6, "Properties" display should change to reflect changes made. 
For step 10, the node "foo" should have stayed highlighted, allowing
clicking of "Edit Node Properties", "Manage Fencing For This Node" or
"Delete Node" without traceback errors.

Additional info:

May be related to problem in 149674.

Comment 1 Jim Parsons 2005-03-01 18:19:44 UTC

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