Project

General

Profile

Actions

action #37441

closed

[sle][migration][sle12SP4]Test migration for encrypted installations

Added by riafarov almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
-
Start date:
2018-06-15
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

It's common setup for our customers to have installation on encrypted disks. So it would be nice to have automated scenario which verifies it.
So scenario is following, we have installation with encrypted lvm (can be non-lvm too) and then migrate it to the newer version.

Acceptance criteria

  1. There is automated scenario in openQA which tests migration of installation on encrypted partitions

Suggestions

For qemu backend we can simply use qcow created by cryptlvm test suite for GM, or use AY profile which has this partitioning.


Related issues 2 (0 open2 closed)

Related to openQA Tests - action #40601: [sle][migration][sle12sp4] fails in boot_to_desktop on ppc64le migration offline for encrypted installationResolvedmitiao2018-09-05

Actions
Related to openQA Tests - action #40604: [sle][migration][sle12sp4] fails in boot_to_desktop on aarch64 migration offline for encrypted installationResolvedmitiao2018-09-05

Actions
Actions #1

Updated by sunyan almost 6 years ago

  • Assignee set to JWSun
Actions #2

Updated by JWSun almost 6 years ago

  • Subject changed from [sle] Test migration for encrypted installations to [sle][migration][sle12SP4]Test migration for encrypted installations
  • Category set to New test
Actions #3

Updated by whdu over 5 years ago

  • Assignee changed from JWSun to whdu
Actions #4

Updated by whdu over 5 years ago

  • Assignee deleted (whdu)
Actions #5

Updated by mitiao over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to mitiao

Basically the workflow is almost same as our current migration test without encrypt,
what we have to do is to create some images with encrypted partition of origin system,
then migrate to new version with 'ENCRYPT' and 'LVM'/'FULL_LVM_ENCRYPT' settings.

I already have a migration offline testing for full lvm encrypt running on local openqa:
http://10.67.19.14/tests/864

If there is no major problem, create some encrypt images on 4 archs and perform offline and online migration on osd.
The amount of this kind of test should be controlled in a reasonable number, what we concern is the encrypt partition
work properly after migration.

Actions #6

Updated by mitiao over 5 years ago

From result: http://10.67.19.14/tests/866
grub_test_snapshot and snapper_rollback need some adjustment for encrypt migration

Actions #8

Updated by mitiao over 5 years ago

pr merged.
x86_64 encrypt lvm image of 12sp3 created on osd.
will create s390x, ppc64le and aarch64 images for encrypt migration.

Actions #9

Updated by mitiao over 5 years ago

  • Status changed from In Progress to Feedback

s390x, ppc64le and aarch64 images created and added testsuites to osd

Actions #10

Updated by mitiao over 5 years ago

  • Related to action #40601: [sle][migration][sle12sp4] fails in boot_to_desktop on ppc64le migration offline for encrypted installation added
Actions #11

Updated by mitiao over 5 years ago

  • Related to action #40604: [sle][migration][sle12sp4] fails in boot_to_desktop on aarch64 migration offline for encrypted installation added
Actions #12

Updated by mitiao over 5 years ago

  • Status changed from Feedback to Resolved

From results on osd, online migration for encrypted installation were passed without problem on all 4 archs,
Offline migration for encrypted installation on s390x and x86_64 were passed,
There are booting issues on aarch64 and ppc64le which are not correctly to handle encrypted partition in boot_to_desktop.
Opened new tickets for the issue.

This can be closed as resolved.

Actions

Also available in: Atom PDF