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

Bug 918444

Summary: [Power Management][Multi Tier fencing] when primary pm fails, the engine doesn't invoke the secondary.
Product: Red Hat Enterprise Virtualization Manager Reporter: Tareq Alayan <talayan>
Component: ovirt-engineAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact: Tareq Alayan <talayan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dyasny, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-06 09:49:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Tareq Alayan 2013-03-06 09:10:43 UTC
Description of problem:
Fencing <start> host fails

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

How reproducible:
always

Steps to Reproduce:
1. Have 2 hosts up and running (A, B)
2. Configure primary PM with wrong IP (to simulate failure) on host (A) 
3. Configure secondary PM correctly on host (A)
4. Put host A into maintenance state.
5. Power Management->Start Host (A)  
  
Actual results:
pop up message: 'Connection to Host via proxy failed. Please verify that power management is available, and that the provided connection parameters are correct.'

Expected results:
Host (A) going Up

Additional info:
2013-03-06 10:56:49,151 INFO  [org.ovirt.engine.core.bll.FenceExecutor] (ajp-/127.0.0.1:8702-6) Using Host aqua6 from CLUSTER as proxy to execute Status command on Host aqua7
2013-03-06 10:56:49,152 INFO  [org.ovirt.engine.core.bll.FenceExecutor] (ajp-/127.0.0.1:8702-6) Executing <Status> Power Management command, Proxy Host:aqua6, Agent:apc_snmp, Target Host:aqua7, Management IP:10.35.23.39, User:talayan, Options:slot=4,secure=true
2013-03-06 10:56:49,154 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (ajp-/127.0.0.1:8702-6) START, FenceVdsVDSCommand(HostName = aqua6, HostId = a1646f3e-4bfd-43c5-be6f-470095502c48, targetVdsId = 4cf8df17-0d3b-4149-b870-967cec9235f0, action = Status, ip = 10.35.23.39, port = , type = apc_snmp, user = talayan, password = ******, options = 'slot=4,secure=true'), log id: 79bbe21b
2013-03-06 10:56:53,234 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (ajp-/127.0.0.1:8702-10) Error in finding LDAP servers for domain dc.eng.lab.tlv.redhat.com
2013-03-06 10:56:53,318 INFO  [org.ovirt.engine.core.bll.LoginUserCommand] (ajp-/127.0.0.1:8702-10) Running command: LoginUserCommand internal: false.
2013-03-06 10:56:53,332 WARN  [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp-/127.0.0.1:8702-10) calling GetConfigurationValueQuery (ApplicationMode) with null version, using default general for version
2013-03-06 10:56:53,333 WARN  [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp-/127.0.0.1:8702-10) calling GetConfigurationValueQuery (VdcVersion) with null version, using default general for version
2013-03-06 10:57:01,589 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (ajp-/127.0.0.1:8702-6) FINISH, FenceVdsVDSCommand, return: Test Failed, Parse error: Ignoring unknown option 'secure=yes'
Returned 1: Timeout: No Response from 10.35.23.39:161

Please use '-h' for usage
, log id: 79bbe21b
2013-03-06 10:57:01,590 ERROR [org.ovirt.engine.core.bll.StartVdsCommand] (ajp-/127.0.0.1:8702-6) Failed to run StartVdsCommand on vds :aqua7
2013-03-06 10:57:01,590 WARN  [org.ovirt.engine.core.bll.StartVdsCommand] (ajp-/127.0.0.1:8702-6) CanDoAction of action StartVds failed. Reasons:VDS_FAILED_FENCE_VIA_PROXY_CONNECTION
2013-03-06 10:57:17,076 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (ajp-/127.0.0.1:8702-6) Error in finding LDAP servers for domain dc.eng.lab.tlv.redhat.com

Comment 1 Tareq Alayan 2013-03-06 09:11:47 UTC
Created attachment 705819 [details]
engine.log

Comment 2 Tareq Alayan 2013-03-06 09:13:30 UTC
Note: Concurrent check box doesn't change the behaviour described in the bug description.

Comment 3 Tareq Alayan 2013-03-06 09:49:59 UTC

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