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

acceptedRisks is lost from history while new desiredUpdate fails on PreconditionChecks

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      whenever a cluster being updated to a version that required accepting potential risks, clusterversion is preserving "acceptedRisks" under history. 
      however an attempt to update the cluster to a version blocked by Precondition checks (ReleaseAccepted=False) is causing a previous acceptedRisks to disappear, losing the information on a previously accepted risks.

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

      4.17 (possibly elsewhere as well)    

      How reproducible:

      always?

      Steps to Reproduce:

          1. create acceptedRisks (such as updating explicitly to non-recommended)
          2. target another version which is expected to fail on Precondition
          3. observe acceptedRisks disappear from .status.history[]      

      Actual results:

          the risk information is lost from history

      Expected results:

      information is preserved. unaccepted release have no effect on acceptedRisks

      Additional info:
      observed while testing https://issues.redhat.com/browse/OTA-861 additional info in that ticket comments

              Unassigned Unassigned
              evakhoni@redhat.com Evgeni Vakhonin
              Evgeni Vakhonin Evgeni Vakhonin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: