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

You can't eject CD from iDRAC if there is no CD mapped you got error that failed the deployment

XMLWordPrintable

    • Low
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • 12/21: agreed that Severity for Telco is Low, not gating a release

      Description of problem:

      level=debug msg=ironic_node_v1.openshift-master-host[2]: Still creating... [4m50s elapsed]
      level=error
      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://10.46.98.49:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.EjectMedia returned code 500. Base.1.8.GeneralError: Unable to disconnect Virtual Media devices. Extended information: [{'Message': 'Unable to disconnect Virtual Media devices.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'IDRAC.2.6.VRM0010', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'No response action is required.', 'Severity': 'Critical'}, {'Message': 'The request failed due to an internal service error.  The service is still operational.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'Base.1.8.InternalError', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'Resubmit the request.  If the problem persists, consider resetting the service.', 'Severity': 'Critical'}]'
      level=error
      level=error msg=  with ironic_node_v1.openshift-master-host[0],
      level=error msg=  on main.tf line 13, in resource "ironic_node_v1" "openshift-master-host":
      level=error msg=  13: resource "ironic_node_v1" "openshift-master-host" {
      level=error
      level=error
      
      
      
      In this case there is CD mapped
      [root@ocp-edge111# ~]$ curl -u root:calvin -k https://10.46.98.49:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.EjectMedia  -d  '{}' -X POST -H 'Content-Type: application/json' | jq 
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100     2    0     0  100     2      0      1  0:00:02  0:00:01  0:00:01     1
      
      Immediately after I disconnect the CD with the first command I ran this command again and got error
      [root@ocp-edge111# ~]$ curl -u root:calvin -k https://10.46.98.49:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.EjectMedia  -d  '{}' -X POST -H 'Content-Type: application/json' | jq 
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100   775  100   773  100     2   2393      6 --:--:-- --:--:-- --:--:--  2391
      {
        "error": {
          "@Message.ExtendedInfo": [
            {
              "Message": "No Virtual Media devices are currently connected.",
              "MessageArgs": [],
              "MessageArgs@odata.count": 0,
              "MessageId": "IDRAC.2.6.VRM0009",
              "RelatedProperties": [],
              "RelatedProperties@odata.count": 0,
              "Resolution": "No response action is required.",
              "Severity": "Critical"
            },
            {
              "Message": "The request failed due to an internal service error.  The service is still operational.",
              "MessageArgs": [],
              "MessageArgs@odata.count": 0,
              "MessageId": "Base.1.8.InternalError",
              "RelatedProperties": [],
              "RelatedProperties@odata.count": 0,
              "Resolution": "Resubmit the request.  If the problem persists, consider resetting the service.",
              "Severity": "Critical"
            }
          ],
          "code": "Base.1.8.GeneralError",
          "message": "A general error has occurred. See ExtendedInfo for more information"
        }
      }

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

      "Dell": {
            "@odata.type": "#DellOem.v1_2_0.DellOemResources",
            "DelliDRACCard": {
              "@odata.context": "/redfish/v1/$metadata#DelliDRACCard.DelliDRACCard",
              "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/Oem/Dell/DelliDRACCard/iDRAC.Embedded.1-1_0x23_IDRACinfo",
              "@odata.type": "#DelliDRACCard.v1_1_0.DelliDRACCard",
              "Description": "An instance of DelliDRACCard will have data specific to the Integrated Dell Remote Access Controller (iDRAC) in the managed system.",
              "IPMIVersion": "2.0",
              "Id": "iDRAC.Embedded.1-1_0x23_IDRACinfo",
              "LastSystemInventoryTime": "2022-12-13T20:00:15+00:00",
              "LastUpdateTime": "2022-12-13T20:34:36+00:00",
              "Name": "DelliDRACCard",
              "URLString": "https://:443"
      "FirmwareVersion": "5.10.50.00",

       

      How reproducible:

      Try to deploy the install-config.yaml on the Dell iDRAC (PowerEdge R650xs)

      Steps to Reproduce:

      1.Try to deploy the install-config.yaml on the Dell iDRAC (PowerEdge R650xs) 2.
      3.
      

      Actual results:

      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://10.46.98.49:443/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.EjectMedia returned code 500. Base.1.8.GeneralError: Unable to disconnect Virtual Media devices. Extended information: [{'Message': 'Unable to disconnect Virtual Media devices.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'IDRAC.2.6.VRM0010', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'No response action is required.', 'Severity': 'Critical'}, {'Message': 'The request failed due to an internal service error.  The service is still operational.', 'MessageArgs': [], 'MessageArgs@odata.count': 0, 'MessageId': 'Base.1.8.InternalError', 'RelatedProperties': [], 'RelatedProperties@odata.count': 0, 'Resolution': 'Resubmit the request.  If the problem persists, consider resetting the service.', 'Severity': 'Critical'}]'

      Expected results:

      Disk eject

      Additional info:

       

              janders@redhat.com Jacob Anders
              rhalle@redhat.com Rei Halle (Inactive)
              Jad Haj Yahya Jad Haj Yahya
              Rei Halle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: