Bug 969778 - Power Management failed if no proxy preferences is defined for the host
Summary: Power Management failed if no proxy preferences is defined for the host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.2.0
Assignee: Eli Mesika
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
Depends On:
Blocks: 970623
TreeView+ depends on / blocked
 
Reported: 2013-06-02 10:37 UTC by Eli Mesika
Modified: 2016-02-10 19:16 UTC (History)
13 users (show)

Fixed In Version: sf17.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 15274 0 None None None Never

Description Eli Mesika 2013-06-02 10:37:58 UTC
Description of problem:
Power Management failed if no pm_proxy preferences is defined for the host.
The pm_proxy_preferences is a per-host field in vds_static that defined how to look for a proxy host. (cluster then DC or vice versa)
In case that pm_proxy preference is not defined , it should be taken from the FenceProxyDefaultPreferences configuration value which is defaulted to "cluster,dc"
However, the code that checks for existance of pm_proxy preferences checks for null only and if it is an empty string , it is used 
The error on the log is :

 2013-06-02 13:04:25,013 ERROR [org.ovirt.engine.core.bll.FenceExecutor]    
 Illegal value in PM Proxy Preferences string , skipped

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


How reproducible:
Always

Steps to Reproduce:
1.Configure a Host with PM , so not assign value to the Source field
2.Try to fence this Host
3.

Actual results:
Error 
2013-06-02 13:04:25,013 ERROR [org.ovirt.engine.core.bll.FenceExecutor]    
 Illegal value in PM Proxy Preferences string , skipped


Expected results:
Host should use default "clsuter,dc" value from the config and Host shouyld be fenced 


Additional info:

Comment 7 Itamar Heim 2013-06-11 08:37:57 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 08:37:58 UTC
3.2 has been released

Comment 9 Itamar Heim 2013-06-11 08:37:58 UTC
3.2 has been released

Comment 10 Itamar Heim 2013-06-11 08:45:58 UTC
3.2 has been released


Note You need to log in before you can comment on or make changes to this bug.