action #175416
closedcoordination #169654: [epic] Create test scenarios for Agama
Add Agama unattended installation for encrypted LVM
0%
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
Updated by JERiveraMoya about 1 month ago
- Related to action #175413: Add Agama interactive installation for encrypted LVM added
Updated by rainerkoenig about 1 month ago
- Status changed from Workable to In Progress
- Assignee set to rainerkoenig
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.
Updated by rainerkoenig about 1 month ago
There was a slack thread about this on friday: https://suse.slack.com/archives/C02CLB2LB7Z/p1737126172158479
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.
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.
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
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.
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.
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.
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.
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.
Updated by JERiveraMoya 23 days ago
- Tags changed from qe-yam-jan-sprint-fy25 to qe-yam-feb-sprint-fy25
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).
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.