Is it possible to seal a LUKS encrypted filesystem while creating template in RHV

Solution In Progress - Updated -

Issue

  • Trying to seal a VM which has LUKS encrypted filesystem is failing with the error below.
vdsm.common.cmdutils.Error: Command ['/usr/bin/virt-sysprep', '-a', '/rhev/data-center/mnt/_data_images/ba76208a-d22f-44af-84d9-54e4543d6e41/images/c9d912bd-36b8-4e32-8c4e-7564f2f44070/bf573e2d-4218-4dc5-aab1-63b223269267'] failed with rc=1 out=b'[   0.0] Examining the guest ...\n' err=b'getline: Inappropriate ioctl for device\n/usr/bin/virt-sysprep: could not read key from user\n'

Environment

  • Red Hat Virtualization 4.4.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content