Importing LUKS encrypted VM/vmdk to RHV fails with "Inappropriate ioctl for device" message

Solution Verified - Updated -

Issue

Importing VM/vmdk to RHV fails with following message in the /var/log/vdsm/import log

libguestfs: trace: v2v: luks_uuid = "b7387deb-b2c3-4daf-94cf-3150502e7c1a"
getline: Inappropriate ioctl for device
/usr/bin/virt-v2v: could not read key from user
libguestfs: trace: v2v: close

Environment

  • Red Hat Virtualization 4.x

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