Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-70326

Inspection failure due to unreachable image shows another confusing error message

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      While inspecting a Dell machine (PowerEdge R640, iDRAC9) from a dev-scripts based BMO setup, inspection fails with this error message: 

      2026-01-02 14:24:24.256 1 ERROR ironic.conductor.task_manager [None req-1b5a3a1b-c989-4e24-9462-3a3f531eba68 - - - - - -] Node b26bc87d-cc12-46db-85b4-98d24b16de03 moved to provision state "inspect failed" from state "inspecting"; target provision state is "manageable": ironic.common.exception.HardwareInspectionFailure: Failed to inspect hardware. Reason: unable to start inspection: HTTP POST https://IP:443/redfish/v1/Systems/System.Embedded.1/VirtualMedia/1/Actions/VirtualMedia.InsertMedia returned code 500. Base.1.12.GeneralError: A general error has occurred. See ExtendedInfo for more information Extended information: [{'Message': 'Virtual Media is detached or Virtual Media devices are already in use.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'IDRAC.2.8.VRM0021', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'Change the Virtual Media Attach Mode to Attach or Auto-Attach.Stop existing Virtual Media sessions and retry the operation.', 'Severity': 'Informational'}]             

      There are no virtual media devices attached. the HTTP POST request to insert virtual media is as follows:

      2026-01-02 14:24:21.939 1 DEBUG sushy.connector [None req-1b5a3a1b-c989-4e24-9462-3a3f531eba68 - - - - - -] HTTP request: POST https://<IP>:443/redfish/v1/Systems/System.Embedded.1/VirtualMedia/1/Actions/VirtualMedia.InsertMedia; headers: {'Content-Type': 'application/json', 'OData-Version': '4.0', 'Accept-Encoding': 'identity'}; body: {'Image': 'https://192.168.111.22:6183/redfish/boot-b26bc87d-cc12-46db-85b4 98d24b16de03.iso'}; blocking: False; timeout: 60; session arguments: {}; _op /usr/lib/python3.12/site-packages/sushy/connector.py:167  

      The image URL in the request body needs to be fixed, and the error message from ironic is misleading.

      iDRAC firmware version was upgraded from 6.10.80.00 to 7.00.00.183, and the BIOS version was upgraded from 2.18.1 to 2.25.0, and the same issue was observed with both versions of both.

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

          4.20

      How reproducible:

          Always

      Steps to Reproduce:

          1. Inspect a (Dell?) BMH using a dev-scripts-based BMO and ironic
          2.
          3.

      Actual results:

          Misleading error message

      Expected results:

          Better error message about image being unreachable

      Additional info:

          

              mabulgu Aykut Bulgu
              rh-ee-masghar Mahnoor Asghar
              None
              None
              Jad Haj Yahya Jad Haj Yahya
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: