Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-586

[RFE] Spike: cvo should distinguish the backend update from upgrade triggered by users for overrides

XMLWordPrintable

    • 5
    • False
    • False

      When setting/unsetting cv.overrides, it will bring a not real upgrade progress. And the output of `oc adm upgrade` indicates that an upgrade is in progress, but actually there should be not any upgrade when upgradeable=false.

       

      # ./oc adm upgrade
      info: An upgrade is in progress. Working towards 4.10.0-rc.5: 397 of 770 done (51% complete)
      
      Upgradeable=False  
      Reason: ClusterVersionOverridesSet
        Message: Disabling ownership via cluster version overrides prevents upgrades. Please remove overrides before continuing.
      
      Upstream is unset, so the cluster will use an appropriate default.
      Channel: stable-4.10
      warning: Cannot display available updates:
        Reason: VersionNotFound
        Message: Unable to retrieve available updates: currently reconciling cluster version 4.10.0-rc.5 not found in the "stable-4.10" channel 

      cvo regards setting overrides as an update, also setting TechPreviewNoUpgrade, which output the upgrade progress in UX. From user's perspective, only oc adm upgrade and web-console click should trigger an upgrade. So it's more like a backend reconcile than an upgrade here. 

      So file the ticket to track the issue further.

       

      Definition of done:

       

            Unassigned Unassigned
            rhn-support-jiajliu Jia Liu
            Jia Liu Jia Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: