Description of problem: system-config-cluster shows erros while adding ilo fence device. Version-Release number of selected component (if applicable): # rpm -qf /usr/sbin/system-config-cluster system-config-cluster-1.0.54-2.0 How reproducible: Reproducible Steps to Reproduce: 1. run system-config-cluster 2. Add Fence Device 3. Select "HP ILO Device" from drop box 4. Fill in the fields and click "OK" Actual results: Traceback (most recent call last): File "/usr/share/system-config-cluster/ConfigTabController.py", line 1232, in on_fd_panel_ok return_list = self.fence_handler.validate_fencedevice(agent_type, None) File "/usr/share/system-config-cluster/FenceHandler.py", line 713, in validate_fencedevice returnlist = apply(self.fd_validate[agent_type], args) File "/usr/share/system-config-cluster/FenceHandler.py", line 932, in val_ilo_fd if self.ilo_ssh.get_active == True: AttributeError: 'NoneType' object has no attribute 'get_active' Expected results: No error Additional info:
Created attachment 317044 [details] workaround for the problem (fail to add fence device) The ilo_ssh here is NULL, so it will cause the 'NoneType' error information. Same problem we can find when add wti, drac fence device. I don't know why add a "secure" field in RHEL4 Update7. However, it fail to take effect here. And make some troubles. Do not let the ilo_ssh here to call the get_active function, We can workaround this problem. Attachment is a patch to workaround the problem.
Created attachment 329013 [details] Patch to fix issue with imports fence device with ssh. Since ssh support is not ready, the scc would not import fence devices with ssh.
Created attachment 329014 [details] FenceHandler.py file with patch applied
Comment on attachment 329014 [details] FenceHandler.py file with patch applied How to install: Backup orginal $ mv /usr/share/system-config-cluster/FenceHandler.py /usr/share/system-config-cluster/FenceHandler.py.orginal Copy in the new file $ cp /root/FenceHandler.py.patchBZ462567 /usr/share/system-config-cluster/FenceHandler.py Make sure perms and everything is set. Then run system-config-cluster. Make sure they verify that cluster.conf is correct and it works as expected.
Comment on attachment 329013 [details] Patch to fix issue with imports fence device with ssh. There was a few missing cases that I added to the patch. This should fix importing and adding fence devices for this issue.
Created attachment 329388 [details] Fixed a control flow issue, this is the latest FenceHandler Tested this FenceHandler.py on RHEL4 scc and it created and opened cluster.conf with fencedevice ilo
Created attachment 329475 [details] Fix another instance of ssh call
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
Pulling the 4.8.z flag as this won't be fixed until 4.9 at the earliest.
*** Bug 467693 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 444597 ***