Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-1413

Split prerun into distinct backup/restore and version management

XMLWordPrintable

    • Strategic Product Work
    • False
    • Hide

      None

      Show
      None
    • False
    • OCPSTRAT-310 - MicroShift updateability for GA

      Due to changes in how we'll run storage migration, we need to change the handling of contents of version file.

      This will result in making a more logical separation between backup/restore and version managements procedures.

      $DATA/version will be used to block the start up in case of version skew problems. Only exception is taking a backup of 4.13 MicroShift because it's triggered by missing version file.

      Backup/restore part will happen at the very start of microshift run, just as it is right now, it end up simplified due to this change. General logic might look like:

      • backup if "healthy" in health.json
      • restore if "unhealthy" in health.json
      • restore if system rolled back

       

      This is a PR that introduces new way of running migration: https://github.com/openshift/microshift/pull/2019

              pmatusza@redhat.com Patryk Matuszak
              pmatusza@redhat.com Patryk Matuszak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: