Import of CentOS 6.x VM with (luks) full disk encryption -- password doesn't work

rja

New Member
May 3, 2014
2
0
1
Hello everyone,

I have a few KVM VM's that are running CentOS 6.x with full disk encryption enabled. They're currently running a CentOS hosts. I can move these VMs from host to host w/o problem when it's going from a CentOS host to another. I just copy the image (raw) and the xml file, reload, boot, type in password at console, and off I go. I'm in the process of moving to proxmox and any VMs that use encryption have issues. They seem to import fine, but when they boot the (known good) luks password doesn't work. Any idea what would cause this?

Thanks,
Jason
 
Hello everyone,

I have a few KVM VM's that are running CentOS 6.x with full disk encryption enabled. They're currently running a CentOS hosts. I can move these VMs from host to host w/o problem when it's going from a CentOS host to another. I just copy the image (raw) and the xml file, reload, boot, type in password at console, and off I go. I'm in the process of moving to proxmox and any VMs that use encryption have issues. They seem to import fine, but when they boot the (known good) luks password doesn't work. Any idea what would cause this?

Thanks,
Jason
Hi,
perhaps wrong keyboard layout?

Udo
 
Hi,
perhaps wrong keyboard layout?

Thanks for the suggestion.. I thought the same but the layout is set correctly. I tried typing the password into the loader (to make sure it's coming through correctly) and it looks correct. I've also tried using an external VNC client (with cut&paste) but have the same issue.

-Jason
 
Thanks for the suggestion.. I thought the same but the layout is set correctly. I tried typing the password into the loader (to make sure it's coming through correctly) and it looks correct. I've also tried using an external VNC client (with cut&paste) but have the same issue.

-Jason

Hi Jason,
depends on your storage - sometimes the default cache=none don't work! Try "cache=write through" (you must power cycle after changing this).

Udo