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

[4.19] Poor handling of incomplete Redfish URLs

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Moderate
    • No
    • None
    • None
    • Metal Platform 270, Metal Platform 271
    • 2
    • Done
    • Bug Fix
    • Hide
      * Previously, if you forgot to include a Redfish system ID, such as `redfish://host/redfish/v1/` instead of `redfish://host/redfish/v1/Self`, in a Baseboard Management Console (BMC) URL, a JSON parsing issue existed in Ironic. With this release, BMO can now handle URLs without a Redfish system ID as a valid address without causing a JSON parsing issue. (link:https://issues.redhat.com/browse/OCPBUGS-56026[OCPBUGS-56026])
      Show
      * Previously, if you forgot to include a Redfish system ID, such as ` redfish://host/redfish/v1/ ` instead of ` redfish://host/redfish/v1/Self `, in a Baseboard Management Console (BMC) URL, a JSON parsing issue existed in Ironic. With this release, BMO can now handle URLs without a Redfish system ID as a valid address without causing a JSON parsing issue. (link: https://issues.redhat.com/browse/OCPBUGS-56026 [ OCPBUGS-56026 ])
    • None
    • None
    • None
    • None

      Description of problem:

      It's not rare for customers to forget to add a Redfish system ID (= the identifier of the specific server) to the URL, producing bmc.address values like redfish://host/redfish/v1/

      Doing so right now produces a very confusing JSON parsing error from Ironic. We can and should fix that, but even better, we can handle this situation gracefully. Ironic actually treats the system ID as optional. We need to make it optional in BMO.

      The goal of this bug is for BMO to treat URLs like redfish://host/redfish/v1/ or redfish://host/ as addresses without a system ID.

              rhn-engineering-dtantsur Dmitry Tantsur
              rhn-engineering-dtantsur Dmitry Tantsur
              None
              None
              Steeve Goveas Steeve Goveas
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: