Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1090043

Summary: Host PM throws not nice error to user when 'Secure' is checked
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Stehlik <pstehlik>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED NOTABUG QA Contact: Tareq Alayan <talayan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, bazulay, gklein, iheim, lpeer, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-22 12:22:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
pm-host01.jpeg none

Description Pavel Stehlik 2014-04-22 12:50:09 UTC
Created attachment 888475 [details]
pm-host01.jpeg

Description of problem:
Traceback when setting PM of host - see att scrnsht.
 

Test Failed, Traceback (most recent call last): File "/usr/sbin/fence_drac5", line 154, in <module> main() File "/usr/sbin/fence_drac5", line 137, in main result = fence_action(conn, options, set_power_status, get_power_status, get_list_devices) File "/usr/share/fence/fencing.py", line 796, in fence_action status = get_power_fn(tn, options) File "/usr/sbin/fence_drac5", line 38, in get_power_status status = re.compile("(^|: )(ON|OFF|Powering ON|Powering OFF)\s*$", re.IGNORECASE | re.MULTILINE).search(conn.before).group(2) AttributeError: 'NoneType' object has no attribute 'group'


Version-Release number of selected component (if applicable):
rhevm-3.4.0-0.13.beta3.el6ev.noarch (av6.1)

How reproducible:


Steps to Reproduce:
1. select drac5 & check secure (see scrnsht)
2. 
3.

Actual results:


Expected results:
No traceback in UI dialogue. 

Additional info:

Comment 1 Eli Mesika 2014-05-22 12:22:35 UTC
the slot value was wrong
after changing to the correct slot , it worked OK