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

oc adm upgrade channel not retrying properly when object has been modified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 4.11
    • None
    • No
    • 1
    • OTA 247
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      # oc adm upgrade channel
      warning: Clearing channel "unknown-channel"; cluster will no longer request available update recommendations.
      error: unable to set channel: Operation cannot be fulfilled on clusterversions.config.openshift.io "version": the object has been modified; please apply your changes to the latest version and try again
      

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

      4.11.0-0.nightly-2023-02-01-224239
      

      How reproducible:

      seen in CI
      

      Steps to Reproduce:

      modify CV object at the same moment as applying "oc adm upgrade channel"?
      

      Actual results:

      command failed with aforementioned error. no channel has been set.
      

      Expected results:

      channel modification retries internally
      

              trking W. Trevor King
              evakhoni@redhat.com Evgeni Vakhonin
              Evgeni Vakhonin Evgeni Vakhonin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: