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

Live firmware update with multiple images can trigger no-delta update

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • None
    • Rejected
    • Metal Platform 270, Metal Platform 271, Metal Platform 272
    • 3
    • Done
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      I upgraded the BIOS to 2.22.2 first with a patch to the HostFirmwareComponents CR that added the bios url:
          '"spec": {
              "updates": [
                  {
                      "component": "bios",
                      "url": "http://hv14.telco5gran.eng.rdu2.redhat.com:8888/firmware/r740/BIOS_F8GPH_WN64_2.22.2.EXE"
                  }
              ]
          }'
      
      After that completed, I added a bmc url to the spec.updates list:
          '"spec": {
              "updates": [
                  {
                      "component": "bios",
                      "url": "http://hv14.telco5gran.eng.rdu2.redhat.com:8888/firmware/r740/BIOS_F8GPH_WN64_2.22.2.EXE"
                  },
                  {
                      "component": "bmc",
                      "url": "http://hv14.telco5gran.eng.rdu2.redhat.com:8888/firmware/r740/iDRAC-with-Lifecycle-Controller_Firmware_RVDDR_WN64_7.00.00.181_A00.EXE"
                  }
              ]
          }'
      
      Because the spec.updates list is taken as a whole, the addition of the bmc url triggered an upgrade of both. In the case of the bios image, it ends up performing an upgrade unnecessarily.
      
          

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

      OCP: 4.18.5
      MCE: 2.7.2
          

      How reproducible:

      
          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      The bios firmware undergoes a no-delta upgrade, re-applying the previously applied image.
          

      Expected results:

      Since the bios entry in the status.updates list has the same url value as the spec.updates list entry, a possible optimization would be to skip the bios firmware upgrade and just do the bmc upgrade.
          

      Additional info:

      
          

              imelofer Iury Gregory Melo Ferreira
              dpenney1@redhat.com Don Penney
              None
              None
              Jad Haj Yahya Jad Haj Yahya
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: