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

Add CVO precondition requiring a recent CEO backup

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • None
    • OTA 205, OTA 206

      Copied the content of https://issues.redhat.com/browse/ETCD-225 (sub-task) to this card as we wanted to have the card in OTA board but linked to the original epic.

      4.8 CVO needs to add a new precondition, similar to its existing Upgradeable precondition, here, that looks at the etcd ClusterOperator's RecentBackup condition when considering a desiredUpdate bump:

      • If it is unset, the check should fail, and that failure will be reported in ClusterVersion's Failing=True.  The message must contain the substring RecentBackup. We should ensure the CVO polls any failing checks, and maybe some successful checks, so users don't have to kick us to get us to notice things like RecentBackup being set.
      • If it is != True, the check should fail, and that failure will be reported in ClusterVersion's Failing=True.  The message must contain the substring RecentBackup.  We'll pass through the etcd operator's reason/message, so hopefully the pending case gets a nice message like "Waiting for an etcd RecentBackup, should be ready in a few minutes." that keeps them from feeling worried.
      • If it is True, the check should pass, and assuming the other checks pass, the CVO accepts the update and starts in on the new version.

            jottofar Jack Ottofaro (Inactive)
            lmohanty@redhat.com Lalatendu Mohanty
            Yang Yang Yang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: