Bug 1166755

Summary: [RFE] Add default-options to iDrac7 Fencing agent in RHEVM
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Tessun <mtessun>
Component: RFEsAssignee: Eli Mesika <emesika>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.4CC: adahms, bazulay, iheim, jentrena, lpeer, lsurette, mtessun, oourfali, pstehlik, rbalakri, sherold, yeylon, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: FutureFeature, ZStream
Target Release: 3.6.0Flags: sherold: Triaged+
Hardware: All   
OS: Linux   
Fixed In Version: ovirt-engine-backend-3.6.0-0.0.master.20150412172306.git55ba764 Doc Type: Enhancement
Doc Text:
With this update, default options have now been added for the Drac7 fencing agent, allowing it to function without the need for prior manual configuration.
Story Points: ---
Clone Of:
: 1187985 (view as bug list) Environment:
Last Closed: 2016-03-09 20:51:29 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:
Bug Depends On:    
Bug Blocks: 1187985    

Description Martin Tessun 2014-11-21 16:11:30 UTC
What is the nature and description of the request?  
  Add the needed default options to the iDrac7 fencing agent (lanplus at least)

Why does the customer need this? (List the business requirements here)  
  As there is a new fencing opeiotn iDrac7, which does use ipmilan, it simply makes sense to have this work out of the box. Otherwise the ipmilan can be used as well. Currently it looks like both options really do the same.

How would the customer like to achieve this? (List the functional requirements here)  
  Add lanplus to the default options for the iDrac7 fencing agent.

For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.  
  If iDrac7 is chosen as fencing device, no more options should be necessary for the agent to work (especially lanplus)

Is there already an existing RFE upstream or in Red Hat Bugzilla?  
  Not that I am aware of.

Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?  
  RHEV 3.5 would be fine.

Is the sales team involved in this request and do they have any additional input?  

List any affected packages or components.  
  ovirt-engine / database

Comment 3 Martin Tessun 2014-11-28 10:02:19 UTC
The following settings should be added ideally:

privlvl=OPERATOR, lanplus=yes, delay=10

As privlvl Operator is enough and Adminstrator would oppose additional risk.
The delay=10 is needed as a RHEVM system reset might result in just powering off the system instead of power cycling it.

Comment 4 Eli Mesika 2014-12-17 14:01:21 UTC
Please specify if those defaults should apply only for x86 hosts or also for PPC hosts

Comment 5 Julio Entrena Perez 2014-12-17 14:11:16 UTC
Dell probably does not manufacture PPC hosts, so that'd be x86 only.

Comment 9 Pavol Brilla 2016-01-07 14:14:30 UTC
verified:  on rhevm-setup-3.6.2-0.1.el6.noarch

After adding PM iDrac7 console, engine logged:

2015-12-10 13:07:30,028 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (DefaultQuartzScheduler_Worker-76) [6c9e2a5e] START, FenceVdsVDSCommand(HostName = slot6c, FenceVdsVDSCommandParameters:{runAsync='true', hostId='7c2955c9-b6ef-47f1-a675-59df1e8e454e', targetVdsId=
'6787a481-919d-4b09-8f90-8462678b9ff4', action='STATUS', agent='FenceAgent:{id='9a0fc840-d81e-43b7-90d0-24ab5061e9ba', hostId='6787a481-919d-4b09-8f90-8462678b9ff4', order='1', type='ipmilan', ip='', port='null', user='root', password='***', encryptOptions='false', options='priv
lanplus=1'}', policy='null'}), log id: 68419a7a

Comment 11 errata-xmlrpc 2016-03-09 20:51:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.