Why migrating VMs from RHV to OpenShift Virtualization is not working when the storage class used is Ceph encrypted RBD?

Solution Verified - Updated -

Issue

  • A ceph encrypted RBD storage was used as a destination storage in OpenShift Virtualization. The migration failed with the error below in the population pod logs:
2023-12-06T23:18:31.257602445Z I1206 23:18:31.257567       1 ovirt-populator.go:131] qemu-img: /dev/block: Cannot grow device files  
...
...
2023-12-06T23:18:36.353124873Z I1206 23:18:36.353121       1 ovirt-populator.go:131] subprocess.CalledProcessError: Command '['qemu-img', 'create', '-f', 'raw', '-q', '/dev/block', '21474836480']' returned non-zero exit status 1.
2023-12-06T23:18:36.373910449Z F1206 23:18:36.373887       1 ovirt-populator.go:154] exit status 1

Environment

  • OpenShift Virtualization 4.12, 4.13, 4.14.
  • Migration Toolkit for Virtualization (MTV) 2.5.

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