Bug 982266

Summary: Fence via power management type apc_snmp not working
Product: Red Hat Enterprise Virtualization Manager Reporter: Artyom <alukiano>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, alukiano, bazulay, bdagan, eedri, emesika, iheim, jkt, lpeer, pstehlik, Rhev-m-bugs, yeylon, yzaslavs
Target Milestone: ---Keywords: Regression, Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: is21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:16:33 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:
Bug Depends On: 1014513    
Bug Blocks: 964967, 977689, 1032811    
Attachments:
Description Flags
engine.log
none
screenshoot
none
vdsm_logs
none
How to fill parameters for apc_snmp agent none

Description Artyom 2013-07-08 14:06:26 UTC
Created attachment 770513 [details]
engine.log

Description of problem:
Fence via power management type apc_snmp not working

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

rhevm - is4
host -vdsm-4.10.2-17.0.el6ev 

How reproducible:
Add data center, add cluster, add two hosts, one with power management of type acp_snmp,  configure correct power management to host, click test button to check if power management work ok.

Steps to Reproduce:
1. See above
2.
3.

Actual results:
Test Failed, Parse error: Ignoring unknown option '=4' Failed: You have to enter plug number Please use '-h' for usage

Expected results:
Test Succeeded, on

Additional info:
Under sf18 power management work fine

Comment 1 Artyom 2013-07-08 14:08:11 UTC
Power management type ipmilan work fine.

Comment 2 Artyom 2013-07-08 14:29:42 UTC
Via power management type bladecenter fence also work

Comment 3 Itamar Heim 2013-07-08 15:22:31 UTC
this was verified in 3.2 in https://bugzilla.redhat.com/show_bug.cgi?id=916570#c3

Comment 6 Eli Mesika 2013-07-24 16:34:25 UTC
Please add a screenshot of the UI screen with all parameters where you pushed the TEST button

Comment 7 Artyom 2013-07-25 05:51:16 UTC
Created attachment 778064 [details]
screenshoot

Comment 8 Barak 2013-08-06 09:18:37 UTC
from the log above:

2013-07-08 15:20:13,797 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (ajp-/127.0.0.1:8702-8) [17fd6c8c] FINISH, FenceVdsVDSCommand, return: Test Failed, Parse error: Ignoring unknown option '=no'
Failed: You have to enter plug number
Please use '-h' for usage
, log id: 298d342b

It looks like the error was returend from the fence agent itself:

Artyom,

Can you please provide versions of vdsm & fence-agents on the proxy host.
+ what cluster level were the hosts in ?

Comment 9 Artyom 2013-08-06 09:48:16 UTC
Hosts on the same cluster
Host with power management - vdsm-4.12.0-rc3.12.git139ec2f.el6ev
Proxy Host - vdsm-4.12.0-rc3.12.git139ec2f.el6ev.x86_64
             fence-agents-3.1.5-25.el6_4.2.x86_64

Comment 10 Barak 2013-08-06 12:52:22 UTC
(In reply to Artyom from comment #9)
> Hosts on the same cluster
> Host with power management - vdsm-4.12.0-rc3.12.git139ec2f.el6ev
> Proxy Host - vdsm-4.12.0-rc3.12.git139ec2f.el6ev.x86_64
>              fence-agents-3.1.5-25.el6_4.2.x86_64

So cluster level was 3.3 ?

Can we also get the vdsm logs as well ?

Comment 11 Artyom 2013-08-07 07:08:21 UTC
Created attachment 783698 [details]
vdsm_logs

Vdsm.log proxy host, and pm host

Comment 12 Artyom 2013-08-07 07:18:00 UTC
Cluster level 3.3

Comment 13 Eli Mesika 2013-09-11 10:09:38 UTC
*** Bug 993110 has been marked as a duplicate of this bug. ***

Comment 14 Eli Mesika 2013-10-10 16:31:15 UTC
Was indirectly solved by resolving BZ 1014513
For apc_snmp you should provide the port in the SSH Port field
(see attachment)

Comment 15 Eli Mesika 2013-10-10 16:33:14 UTC
Created attachment 810642 [details]
How to fill parameters for apc_snmp agent

Comment 18 sefi litmanovich 2013-11-11 11:56:23 UTC
Verified on RHEVM 3.3, IS22

Comment 19 Itamar Heim 2014-01-21 22:16:33 UTC
Closing - RHEV 3.3 Released

Comment 20 Itamar Heim 2014-01-21 22:23:21 UTC
Closing - RHEV 3.3 Released