Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sealed template with LVM layout breaks boot. #856

Open
ricardoalonso opened this issue May 25, 2023 · 0 comments
Open

Sealed template with LVM layout breaks boot. #856

ricardoalonso opened this issue May 25, 2023 · 0 comments
Labels

Comments

@ricardoalonso
Copy link

Affected version
4.5.4-1

  • oVirt Engine: ovirt-engine-4.5.4-1.el8.noarch
  • Host OS Variant: Rocky 8/9
  • VDSM version: vdsm-4.50.3.4-1.el9.x86_64

Describe the bug
Template create for RocketLinux 9 with LVM devices won't work when creating a new VM. The seal process is not removing the /etc/lvm/devices/system.devices file, so the machine can't find the correct PV ID.

To reproduce

  1. Create a new VM with EL 9 and use LVM for the disk layout.
  2. Shutdown the VM and create a template from it, checking the option "Seal Template"
  3. Create a new VM from the generate template
  4. VM will drop to emergency shell due to the PV not found

Expected behavior
Machine created from the template boots successfully

Additional context
To workaround, remove manually the file /etc/lvm/devices/system.devices before shutting down the VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant