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

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
      * Before this update, by using 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 registration error about an invalid JSON was reported. This issue was caused by a bug in the Bare Metal Operator (BMO). With this release, BMO now handles URLs without a Redfish system ID as a valid address without causing a JSON parsing issue. This fix improves the software handling of a missing Redfish system ID in BMC URLs. (link:https://issues.redhat.com/browse/OCPBUGS-55717[OCPBUGS-55717])
      Show
      * Before this update, by using 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 registration error about an invalid JSON was reported. This issue was caused by a bug in the Bare Metal Operator (BMO). With this release, BMO now handles URLs without a Redfish system ID as a valid address without causing a JSON parsing issue. This fix improves the software handling of a missing Redfish system ID in BMC URLs. (link: https://issues.redhat.com/browse/OCPBUGS-55717 [ OCPBUGS-55717 ])
    • 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: