Bug 2231775

Summary: Cannot control host from BMC interface. Got the error: Failure: ERF12-2269 [ProxyAPI::ProxyException]: Unable to perform lan BMC operation ([RestClient::BadRequest]: 400 Bad Request) for Capsule https://stellite.example.com:9090/bmc
Product: Red Hat Satellite Reporter: Satyajit Das <sadas>
Component: Power & BMCAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: ahumbe, lstejska, rlavi
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: UnusedFlags: lstejska: needinfo? (sadas)
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: 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:

Description Satyajit Das 2023-08-14 04:13:33 UTC
Description of problem:

Cannot control host from BMC interface. Got the error: Failure: ERF12-2269 [ProxyAPI::ProxyException]: Unable to perform lan BMC operation ([RestClient::BadRequest]: 400 Bad Request) for Capsule https://stellite.example.com:9090/bmc

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

6.12

How reproducible:

100%

Steps to Reproduce:
1. Refer the steps from the doc link to enable BMC
~~~~~~~~~~~~~~~
4.8. Enabling Power Management on Managed Hosts
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html-single/installing_satellite_server_in_a_connected_network_environment/index#enabling-power-management-on-managed-hosts_satellite
~~~~~~~~~~~~~~~
2. Configure the BMC Interface for the physical host

3. Checking the power status via the BMC Interface raises the below exception

Actual results:

Failure: ERF12-2269 [ProxyAPI::ProxyException]: Unable to perform lan BMC operation ([RestClient::BadRequest]: 400 Bad Request) for Capsule https://stellite.example.com:9090/bmc

Expected results:

It should show the power status without raising any exceptions.


Additional info:


The same settings are working in satellite 6.11. Moreover, the customer can trigger a reboot via the  BMC Interface however checking the power status fails with an error.