Where is the virt-v2v utility on RHEL 7?
Environment
- Red Hat Enterprise Linux 7.1
Issue
This solution is deprecated with Red Hat Enterprise Linux 7.2
-
Need to convert virtual machines running on foreign hypervisors to libvirt-managed KVM guests. On RHEL 6, the virt-v2v utility is there, but the same utility is not found on RHEL7.
-
How to get virt-v2v installed on RHEL 7
Resolution
- Support for
virt-v2vis scheduled forRHEL 7.2 GArelease; currently RHEL 7.2 is in Beta stage, which is made available only for testing purposes. - In RHEL 7.1,
virt-v2vis inTechnical Preview. - Contact Red Hat Technical Support Services to know the current status.
Root Cause
virt-v2vheavily depends onlibguestfsfor all the background magic it does to convert a virtual machine.-
libguestfsis not yet available on RHEL 7 GA and thus virt-v2v. -
If running
RHEL 7.1, you may be interested in trying out the newer RHEL 7.2 preview versions of:- libguestfs
- virt-v2v (Technical Preview in RHEL 7.1, Supported in RHEL 7.2)
- virt-p2v (Technical Preview in RHEL 7.2)
-
To install the preview repository, create the following yum repository file as libguestfs-RHEL-7.2-preview:
[libguestfs-RHEL-7.2-preview]
name=libguestfs RHEL 7.2 preview - x86_64
baseurl=http://people.redhat.com/~rjones/libguestfs-RHEL-7.2-preview/
enabled=1
gpgcheck=0
- Then use this command to update virt-v2v:
# yum install virt-v2v libguestfs-tools-c libguestfs-xfs
-
To convert Windows guests, you'll also need the libguestfs-winsupport package, which is finally available in RHN (V2VWIN channel) or you can get it from:
http://people.redhat.com/~rjones/libguestfs-winsupport/ -
Note: These packages are not supported by Red Hat. If any bugs are found, then please file them using this link.
-
To downgrade back to the RHEL 7.1 supported packages, delete
/etc/yum.repos.d/libguestfs-RHEL-7.2-preview.repo ,
uninstall libguestfs,
then reinstall libguestfs from RHN.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
