Project

General

Profile

Actions

coordination #152771

open

[epic] Add migrations in maintenance

Added by JERiveraMoya 4 months ago. Updated 3 days ago.

Status:
Workable
Priority:
Normal
Assignee:
Target version:
-
Start date:
2022-07-15
Due date:
% Done:

71%

Estimated time:
(Total: 0.00 h)

Description

Motivation

Follow-up of #113644

Due to we don't have technically the possibility to add both unreleased maintenance updates from both the origin product to migrate and the target product at the same time we can choose whatever fits better for us, one or the other. Based on this reasoning we should reuse the installations that we have for each product where we are already adding those unreleased maintenance updates to be tested in a way that we save patching time or troubles creating images to patch. We would just need to publish an image in existing test suites so the new migration test suite to be created will consume it. It is legit to create a dependency between installation and migration in maintenance updates testing due to priority of the migrations is secondary. Obviously using the unreleased maintenance updates for each job group representing each origin product will leave untested the latest product in maintenance (at the moment SLES 15 SP5) and migration which target it with unreleased maintenance updates. So only in this case we can do the migration in target, so we will pass the unreleased maintenance updates to the method o migration.

We should use an origin system provided by an autoYaST test suite in maintenance. We have some interactive installation and auto-installation, we should check that in our auto-installation we are maximizing the number of product modules installed, so the migration would be more effective. Do not link migration with interactive installation, create first the AutoYaST one if there is not there or edit the existing one. As we will not have initially more than one test suite to migration from one product to another we can discuss further what is the method of migration to be use, same for all might be ok to start, the most stable one (for example an auto-upgrade with AutoYaST) if it is one that offer us that guarantee, or the less complex one from the code maintenance point of view. Additionally we should not introduce extra features like rollback, etc.

There is some hacks with the flavors that we will need to improve, as we will work with the mediums that we have in maintenance updates, we will not create new flavors, so some of those existing hacks in product validation need to be addressed.

Scope

In respective job group indicated by "From".

  • Before SLE 15 SP6 will be in maintenance and SLE 15 SP1 reaches EOL:
    • From SLES 12 SP5 To SLES 15 SP{1-4}.
    • From SLES 15 SP1 To SLES 15 SP{2-4}.
    • From SLES 15 SP2 To SLES 15 SP{3-4}.
    • From SLES 15 SP3 To SLES 15 SP4.
  • After:
    • From SLES 12 SP5 To SLES 15 SP{2-5}.
    • From SLES 15 SP2 To SLES 15 SP{3-5}.
    • From SLES 15 SP3 To SLES 15 SP{4-5}.
    • From SLES 15 SP4 To SLES 15 SP5.

In respective job group indicated by "To".

  • Before SLE 15 SP6 will be in maintenance:
    • From SLES 12 SP5 To SLES 15 SP5.
    • From SLES 15 SP2 To SLES 15 SP5.
    • From SLES 15 SP3 To SLES 15 SP5.
    • From SLES 15 SP4 To SLES 15 SP5.
  • After:
    • From SLES 12 SP5 To SLES 15 SP6.
    • From SLES 15 SP3 To SLES 15 SP6.
    • From SLES 15 SP4 To SLES 15 SP6.
    • From SLES 15 SP5 To SLES 15 SP6.

In total 14 new test suites will be created distributed in SLES maintenance job group for Yam squad.
Only x86_64 for now.

Acceptance criteria

AC1: Single test suites for migration is provided between the products above.
AC2: Unreleased maintenance updates are provided inside the image created by installation previously and published to be consumed (via START_AFTER_TEST) by the migration test suite for all maintenance product except SLES 15 SP5.
AC3: For SLE 15 SP5 we will add the unreleased maintenance updates during the migration procress itself, so the origin booted system only will be patched with released maintenance updates.
AC4: Favor stability using refactored test modules and existing libyui-rest-api test modules to enable this migration.

Additional information

Analysis by Heiko about the different possibilities:
https://confluence.suse.com/display/~hrommel1/Blue-Print+of+Online+Migration+Tests+Between+Two+Service+Packs+in+Maintenance
Names of migration test suites should start by migr_*.


Subtasks 7 (2 open5 closed)

action #154948: Provide migration from SLES 12 SP5 to SLES 15 SP4 in aggregated updatesResolvedhjluo2022-07-15

Actions
action #154951: Provide migration from SLES 12 SP5 to SLES 15 SP5 in aggregated updatesIn Progresszoecao2022-07-15

Actions
action #155827: Provide migration from SLES 12 SP5 to SLES 15 SP3 in aggregated updatesResolvedsyrianidou_sofia2022-07-15

Actions
action #159198: Simplify variables for VERSION and test modules for migrations in maintenanceNew2024-04-18

Actions
action #159204: Provide migration from SLES 12 SP5 to SLES 15 SP2 in aggregated updatesResolvedhjluo2022-07-15

Actions
action #159219: Provide migration from From SLES 15 SP2 To SLES 15 SP3 in aggregated updatesResolvedleli2022-07-15

Actions
action #159222: Provide migration from From SLES 15 SP2 To SLES 15 SP4 in aggregated updatesResolvedhjluo2024-04-18

Actions
Actions #1

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #2

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #3

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #4

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #5

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #6

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #7

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #8

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #9

Updated by JERiveraMoya 3 months ago

  • Subtask #154948 added
Actions #10

Updated by JERiveraMoya 3 months ago

  • Subtask #154951 added
Actions #11

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #12

Updated by JERiveraMoya 2 months ago

  • Subtask #155827 added
Actions #13

Updated by JERiveraMoya 14 days ago

  • Subtask #159198 added
Actions #14

Updated by JERiveraMoya 14 days ago

  • Description updated (diff)
Actions #15

Updated by JERiveraMoya 14 days ago

  • Description updated (diff)
Actions #16

Updated by JERiveraMoya 14 days ago

  • Description updated (diff)
Actions #17

Updated by JERiveraMoya 14 days ago

  • Subtask #159204 added
Actions #18

Updated by JERiveraMoya 14 days ago

  • Subtask #159219 added
Actions #19

Updated by JERiveraMoya 14 days ago

  • Subtask #159222 added
Actions

Also available in: Atom PDF