Bug 1513304

Summary: [RFE] hexadecimal-encoded key authentication should be available in power management
Product: Red Hat Enterprise Virtualization Manager Reporter: Kumar Mashalkar <kmashalk>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED DEFERRED QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.7CC: emesika, gdeolive, lsurette, lsvaty, michal.skrivanek, mperina, sbradley, srevivo
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-15 16:30:53 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: 1449183, 1515344    
Bug Blocks:    

Description Kumar Mashalkar 2017-11-15 07:03:57 UTC
Description of problem:
RFE 1449183 has implemented adding an option to use hexadecimal-encoded key in current fence_agent which is required for Cisco C240 M4SX CIMC.

This also needs to be integrated in RHV.

Additional info:
With ipmitool, it is possible to use it but in fence_agent it was not available.

Working: 
# ipmitool -I lanplus -y $(hexadecimal-encoded Kg key for IPMIv2 authentication) -H 10.0.0.1 -U USERNAME -P PASSWORD -L Administrator chassis power status

Adding below line to /sbin/fence_ipmilan after "cmd = options["--ipmitool-path"] " helped as workaround for now.
~~~
cmd += " -y $(hexadecimal-encoded Kg key for IPMIv2 authentication)".
~~~

I am not sure if we can directly use -y in options and provide the key or any additional thing is required. 

Also RHV-Host needs this feature included.

Comment 9 Martin Perina 2022-03-15 16:30:53 UTC
We don't have capacity nor hardware to finish this in RHV 4.4