RHOCP 4.x installation on bare metal fails with an error `Failed to inspect hardware. Reason: unable to start inspection`

Solution Verified - Updated -

Issue

  • Errors during RHOCP installation:

    time="<DATE>T11:22:35+02:00" level=error msg="Error: could not inspect: could not inspect node, node is currently 'inspect failed' , last error was 'Failed to inspect hardware. Reason: unable to start inspection: HTTP POST https://<IP>:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.InsertMedia returned code 400. Base.1.8.GeneralError: The remote file location is not accessible or reachable. Extended information: [{'Message': 'The remote file location is not accessible or reachable.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'IDRAC.2.5.RAC0904', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'Confirm that the path and credentials to remote file are correct, and check that the iDRAC can connect to the network address.', 'Severity': 'Warning'}]'"`
    
  • Errors seen in the logs on bootstrap vm machine in ironic-conductor container:

    <DATE> 09:22:27.755 1 ERROR ironic.conductor.manager [... bootstrap-user - - - -] Failed to inspect node <node>: Failed to inspect hardware. Reason: unable to start inspection: HTTP POST https://<IP>:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.InsertMedia returned code 400. Base.1.8.GeneralError: The remote file location is not accessible or reachable. Extended information: [{'Message': 'The remote file location is not accessible or reachable.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'IDRAC.2.5.RAC0904', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'Confirm that the path and credentials to remote file are correct, and check that the iDRAC can connect to the network address.', 'Severity': 'Warning'}]: ironic.common.exception.HardwareInspectionFailure: Failed to inspect hardware. Reason: unable to start inspection: HTTP POST https://<IP>:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.InsertMedia returned code 400. Base.1.8.GeneralError: The remote file location is not accessible or reachable. Extended information: [{'Message': 'The remote file location is not accessible or reachable.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'IDRAC.2.5.RAC0904', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'Confirm that the path and credentials to remote file are correct, and check that the iDRAC can connect to the network address.', 'Severity': 'Warning'}]`
    
  • Ironic is trying to attach iso which points to bootstrap machine on port 80 instead of 6180.

    <DATE> 09:22:05.338 1 DEBUG sushy.connector [req-xxx bootstrap-user - - - -] HTTP request: POST https://<IP>:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.InsertMedia; headers: {'Content-Type': 'application/json', 'OData-Version': '4.0'}; body: {'Image': 'http://<IP>:80/redfish/boot-<node>.iso'}; blocking: False; timeout: 60; session arguments: {}; _op /usr/lib/python3.6/site-packages/sushy/connector.py:111`
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.10.3
  • Bare metal installation
  • Disconnected environment
  • IPI installation with NMState operator
  • Static IP config for a bond network interface
  • Only the port 6180 is opened as stated in the documentation. Port 80 is closed.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content