Project

General

Profile

Actions

action #175416

closed

coordination #169654: [epic] Create test scenarios for Agama

Add Agama unattended installation for encrypted LVM

Added by JERiveraMoya about 1 month ago. Updated 22 days ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2025-01-14
Due date:
% Done:

0%

Estimated time:

Description

Motivation

We didn't have this scenario for SLE 15, only the interactive https://openqa.suse.de/tests/overview?arch=&flavor=&machine=&test=cryptlvm&modules=&module_re=&group_glob=¬_group_glob=&comment=&distri=sle&version=15-SP7&build=53.1&groupid=129#
but it is a good opportunity to get our hands dirty writing Agama profiles with its new syntax.

Acceptance criteria

  • AC1: Add Agama unattended installation for encrypted LVM.
  • AC2: Proper validation is added similar to SLE 15.

Additional information

Assimilate the new way to craft profiles (as you CANNOT relay on what agama config show give you, for example guided is deprecated):
https://agama-project.github.io/docs/user/unattended/storage


Related issues 1 (0 open1 closed)

Related to qe-yam - action #175413: Add Agama interactive installation for encrypted LVMResolvedjfernandez2025-01-14

Actions
Actions #1

Updated by JERiveraMoya about 1 month ago

  • Related to action #175413: Add Agama interactive installation for encrypted LVM added
Actions #2

Updated by rainerkoenig about 1 month ago

  • Status changed from Workable to In Progress
  • Assignee set to rainerkoenig
Actions #3

Updated by JERiveraMoya about 1 month ago

Kind reminder that after one week there is not feedback provided here or in Slack and it is a high priority ticket.
Please share your thoughts in today's retro.

Actions #4

Updated by rainerkoenig about 1 month ago

There was a slack thread about this on friday: https://suse.slack.com/archives/C02CLB2LB7Z/p1737126172158479

Actions #5

Updated by rainerkoenig about 1 month ago

First test run failed with "You need to register SLE 16 Beta", so I've put back the registration code in the jsonnet profile.

Actions #6

Updated by JERiveraMoya about 1 month ago

rainerkoenig wrote in #note-5:

First test run failed with "You need to register SLE 16 Beta", so I've put back the registration code in the jsonnet profile.

official job group cannot use registration at the moment but agama.install_url in bootloader params so we can have results for B1.

Actions #7

Updated by rainerkoenig about 1 month ago

Agama is giving me a hard time again. It complains that the product must be registered, but it also complains that I provide a registration code....
https://suse.slack.com/archives/C082VE1U2F5/p1737554948986869

Actions #8

Updated by rainerkoenig about 1 month ago

I see your comment, I see the sles_default_unattended job that I passed without problems and that I cloned my VR from, only exchanging the agama_profile and the YAML schedule to handle the encrypted boot. And my VR fails. And I don't understand why, because all what I added was a storage section to the profile.

Actions #9

Updated by rainerkoenig about 1 month ago

PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21033

VR now works, but I had to create an own module for enrypted lvm, because here the encryption password is only pulled once before grub and there is no encryption password for swap.

Actions #10

Updated by rainerkoenig 24 days ago

Verification runs for all architectures passed now. s390x was difficult, had to provide 3 variables get `boot_encrypt? functional.
WIP removed from the PR now.

Actions #11

Updated by JERiveraMoya 24 days ago

rainerkoenig wrote in #note-10:

Verification runs for all architectures passed now. s390x was difficult, had to provide 3 variables get `boot_encrypt? functional.
WIP removed from the PR now.

Please add validation for "encryption" too.

Actions #12

Updated by JERiveraMoya 24 days ago ยท Edited

Additionally, as only minor changes are required to your PR you can already start the setup of this test suite in job group yaml so we can have it for B1.

Actions #13

Updated by JERiveraMoya 23 days ago

  • Tags changed from qe-yam-jan-sprint-fy25 to qe-yam-feb-sprint-fy25
Actions #14

Updated by JERiveraMoya 23 days ago

Merged, please setup the test suite in product job group (right now there is some connectivity issues but just put them there, we will check tomorrow).

Actions #15

Updated by JERiveraMoya 22 days ago

  • Tags changed from qe-yam-feb-sprint-fy25 to qe-yam-jan-sprint-fy25
  • Status changed from In Progress to Resolved

I resolved the ticket for Jan sprint (I moved all one day earlier this month), but please don't forget to add it to prod.

Actions

Also available in: Atom PDF