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

redfish-virtualmedia mount not working

    XMLWordPrintable

Details

    • Moderate
    • 1
    • Metal Platform 233, Metal Platform 234, Metal Platform 235
    • 3
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      When trying to add a Cisco UCS Rackmount server as a `baremetalhost` CR the following error comes up in the metal3 container log in the openshift-machine-api namespace.

      'TransferProtocolType' property which is mandatory to complete the action is missing in the request body

      Full log entry:

      {"level":"info","ts":1677155695.061805,"logger":"provisioner.ironic","msg":"current provision state","host":"ucs-rackmounts~ocp-test-1","lastError":"Deploy step deploy.deploy failed with BadRequestError: HTTP POST https://10.5.4.78/redfish/v1/Managers/CIMC/VirtualMedia/0/Actions/VirtualMedia.InsertMedia returned code 400. Base.1.4.0.GeneralError: 'TransferProtocolType' property which is mandatory to complete the action is missing in the request body. Extended information: [{'@odata.type': 'Message.v1_0_6.Message', 'MessageId': 'Base.1.4.0.GeneralError', 'Message': "'TransferProtocolType' property which is mandatory to complete the action is missing in the request body.", 'MessageArgs': [], 'Severity': 'Critical'}].","current":"deploy failed","target":"active"}

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

          image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:30328143480d6598d0b52d41a6b755bb0f4dfe04c4b7aa7aefd02ea793a2c52b
          imagePullPolicy: IfNotPresent
          name: metal3-ironic

      How reproducible:

      Adding a Cisco UCS Rackmount with Redfish enabled as a baremetalhost to metal3

      Steps to Reproduce:

      1. The address to use: redfish-virtualmedia://10.5.4.78/redfish/v1/Systems/WZP22100SBV
      

      Actual results:

      [baelen@baelen-jumphost mce]$ oc get baremetalhosts.metal3.io  -n ucs-rackmounts  ocp-test-1
      NAME         STATE          CONSUMER   ONLINE   ERROR                AGE
      ocp-test-1   provisioning              true     provisioning error   23h

      Expected results:

      For the provisioning to be successfull.

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              dhiggins@redhat.com Derek Higgins
              boris.aelen Boris Aelen (Inactive)
              Pedro Jose Amoedo Martinez Pedro Jose Amoedo Martinez
              Boris Aelen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: