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

Support z-stream rollbacks

    XMLWordPrintable

Details

    • Support z-stream rollbacks
    • False
    • False
    • To Do
    • OCPSTRAT-975 - Support z-rollback for OCP in 4.12, 4.14
    • OCPSTRAT-975Support z-rollback for OCP in 4.12, 4.14
    • 56
    • 56% 56%
    • Undefined

    Description

      Epic Goal

      • Validate z-stream rollbacks in CI starting with 4.10 by ensuring that a rollback completes unassisted and e2e testsuite passes
      • Provide internal documentation (private KCS article) that explains when this is the best course of action versus working around a specific issue
      • Provide internal documentation (private KCS article) that explains the expected cluster degradation until the rollback is complete
      • Provide internal documentation (private KCS article) outlining the process and any post rollback validation

      Why is this important?

      • Even if upgrade success is 100% there's some chance that we've introduced a change which is incompatible with a customer's needs and they desire to roll back to the previous z-stream
      • Previously we've relied on backup and restore here, however due to many problems with time travel, that's only appropriate for disaster recovery scenarios where the cluster is either completely shut down already or it's acceptable to do so while also accepting loss of any workload state change (PVs that were attached after the backup was taken, etc)
      • We believe that we can reasonably roll back to a previous z-stream

      Scenarios

      1. Upgrade from 4.10.z to 4.10.z+n
      2. oc adm upgrade rollback-z-stream – which will initially be hidden command, this will look at clusterversion history and rollback to the previous version if and only if that version is a z-stream away
      3. Rollback from 4.10.z+n to exactly 4.10.z, during which the cluster may experience degraded service and/or periods of service unavailability but must eventually complete with no further admin action
      4. Must pass 4.10.z e2e testsuite

      Acceptance Criteria

      • CI - MUST be running successfully with tests automated
      • Release Technical Enablement - Provide necessary release enablement details and documents.
      • Fix all bugs listed here
        project = "OpenShift Bugs" AND affectedVersion in( 4.12, 4.14, 4.15) AND labels = rollback AND status not in (Closed ) ORDER BY status DESC

      Dependencies (internal and external)

      1. ...

      Previous Work (Optional):

      Open questions::

      1. At least today we indend to only surface this process internally and work through it with customers actively engaged with support, where do we put that?

      Done Checklist

      • CI - CI is running, tests are automated and merged.
      • Release Enablement <link to Feature Enablement Presentation>
      • DEV - Upstream code and tests merged: <link to meaningful PR or GitHub Issue>
      • DEV - Upstream documentation merged: <link to meaningful PR or GitHub Issue>
      • DEV - Downstream build attached to advisory: <link to errata>
      • QE - Test plans in Polarion: <link or reference to Polarion>
      • QE - Automated tests merged: <link or reference to automated tests>
      • DOC - Downstream documentation merged: <link to meaningful PR>

      Attachments

        1.
        Docs Tracker Sub-task Closed Undefined Unassigned
        2.
        QE Tracker Sub-task Closed Undefined Unassigned
        3.
        TE Tracker Sub-task Closed Undefined Unassigned

        Activity

          People

            lmohanty@redhat.com Lalatendu Mohanty
            rhn-support-sdodson Scott Dodson
            Yang Yang Yang Yang
            Votes:
            7 Vote for this issue
            Watchers:
            46 Start watching this issue

            Dates

              Created:
              Updated: