Bug 733903

Summary: Can not access iLO3 PM from vdsClient
Product: Red Hat Enterprise Linux 6 Reporter: Eli Mesika <emesika>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: abaron, bazulay, iheim, srevivo, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-29 22:46:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 642635    

Description Eli Mesika 2011-08-28 13:17:41 UTC
Description of problem:

Running the following command directly against fence_ipmilan succeeded :
/usr/sbin/fence_ipmilan -a modi04-mgmt.eng.lab.tlv.redhat.com -l XXX  -p YYY -o status -T 4 -P
Getting status of IPMI:modi04-mgmt.eng.lab.tlv.redhat.com...Chassis power = On
Done

But running the same command from vdsClient fails:

vdsClient 0  fenceNode modi04-mgmt.eng.lab.tlv.redhat.com "" ipmilan XXX YYY status "false" "P\nT=4"

unknown


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


How reproducible:


Steps to Reproduce:
1.Run status directly against an iLO3 machine using /usr/sbin/fence_ipmilan
2.Run status with the same parameters via vdsClient
3.
  
Actual results:
Running command directly succeeded while running with vdsClient fails

Expected results:
vdsClient should succeed to run the command

Additional info:
Please note that XXX is masked user login and YYY is masked password.
Please contact me to get the actual connection info for that machine if you want to use it.


vdsm log on command :
---------------------

Thread-22077::DEBUG::2011-08-28 17:10:19,275::clientIF::1180::vds::(fenceNode) fenceNode(addr=modi04-mgmt.eng.lab.tlv.redhat.com,port=,agent=ipmilan,user=root,passwd=XXXX,action=status,secure=false,options=P\nT=4)
Thread-22077::DEBUG::2011-08-28 17:10:20,329::clientIF::1206::vds::(fenceNode) rc 1 in agent=fence_ipmilan
ipaddr=modi04-mgmt.eng.lab.tlv.redhat.com
login=root
option=status
passwd=XXXX
P\nT=4 out Getting status of IPMI:modi04-mgmt.eng.lab.tlv.redhat.com...Chassis power = Unknown
Failed
 err

Comment 2 Dan Kenigsberg 2011-08-29 22:46:54 UTC
you must use the full-length names for options when you pass them (via vdsm) to fence_*'s stdin.

-P => lanplus
-T 4 => timeout=4