[virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
While trying to convert an OVA exported from VMware vSphere to libvirt using virt-v2v, I get the following error: virt-v2v: error: no installed kernel packages were found. Environment info: Base OS: 16.04.2 LTS (Xenial Xerus) Source VM OS: CentOS 7 libguestfs: 1.37.16 (built from source) Relevant logs are attached. Thanks, Zach
On Tue, Jul 11, 2017 at 07:40:01PM +0000, Zach Seils (seils) wrote:
While trying to convert an OVA exported from VMware vSphere to libvirt using virt-v2v, I get the following error:
virt-v2v: error: no installed kernel packages were found.
Environment info:
Base OS: 16.04.2 LTS (Xenial Xerus) Source VM OS: CentOS 7 libguestfs: 1.37.16 (built from source)
Is this the same or different from the bug that Pino already triaged earlier today? https://bugzilla.redhat.com/show_bug.cgi?id=1469339 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
On Tue, Jul 11, 2017 at 10:31:28PM +0100, Richard W.M. Jones wrote:
On Tue, Jul 11, 2017 at 07:40:01PM +0000, Zach Seils (seils) wrote:
While trying to convert an OVA exported from VMware vSphere to libvirt using virt-v2v, I get the following error:
virt-v2v: error: no installed kernel packages were found.
Environment info:
Base OS: 16.04.2 LTS (Xenial Xerus) Source VM OS: CentOS 7 libguestfs: 1.37.16 (built from source)
Is this the same or different from the bug that Pino already triaged earlier today?
OK, it's a bit different, my apologies. Please post the full output with ‘virt-v2v -v -x’ options both enabled. We use this debugging information to see how inspection and v2v are working. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
It’s the same input OVA, but using the latest libguestfs release. Updated log attached (sorry; thought I had the necessary flags enabled). Thanks, Zach On 7/11/17, 5:35 PM, "Richard W.M. Jones" <rjones@redhat.com> wrote: On Tue, Jul 11, 2017 at 10:31:28PM +0100, Richard W.M. Jones wrote: > On Tue, Jul 11, 2017 at 07:40:01PM +0000, Zach Seils (seils) wrote: > > While trying to convert an OVA exported from VMware vSphere to libvirt using virt-v2v, I get the following error: > > > > virt-v2v: error: no installed kernel packages were found. > > > > Environment info: > > > > Base OS: 16.04.2 LTS (Xenial Xerus) > > Source VM OS: CentOS 7 > > libguestfs: 1.37.16 (built from source) > > Is this the same or different from the bug that Pino already > triaged earlier today? OK, it's a bit different, my apologies. Please post the full output with ‘virt-v2v -v -x’ options both enabled. We use this debugging information to see how inspection and v2v are working. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
CC-ing to Pino because I think this is an augeas / overriding augeas lenses problem. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
On Tuesday, 11 July 2017 23:42:31 CEST Zach Seils (seils) wrote:
It’s the same input OVA, but using the latest libguestfs release.
Updated log attached (sorry; thought I had the necessary flags enabled).
The error message is: installed kernel packages in this guest: virt-v2v: error: no installed kernel packages were found. This is because no kernel packages are found in the guest, and indeed I can see in the log: libguestfs: trace: v2v: inspect_list_applications2 "/dev/vg0/lv-root" libguestfs: trace: v2v: inspect_list_applications2 = <struct guestfs_application2_list(0)> Since it's a own build, most probably libdb-utils was not installed when configure was run, and thus libguestfs did not download and inspect the content of the RPM DB in the guest. See also http://libguestfs.org/guestfs-building.1.html for the list of mandatory, and optional build & runtime dependencies. -- Pino Toscano
Thanks. That got me past this error. Zach On 7/12/17, 3:47 AM, "Pino Toscano" <ptoscano@redhat.com> wrote: On Tuesday, 11 July 2017 23:42:31 CEST Zach Seils (seils) wrote: > It’s the same input OVA, but using the latest libguestfs release. > > Updated log attached (sorry; thought I had the necessary flags enabled). The error message is: installed kernel packages in this guest: virt-v2v: error: no installed kernel packages were found. This is because no kernel packages are found in the guest, and indeed I can see in the log: libguestfs: trace: v2v: inspect_list_applications2 "/dev/vg0/lv-root" libguestfs: trace: v2v: inspect_list_applications2 = <struct guestfs_application2_list(0)> Since it's a own build, most probably libdb-utils was not installed when configure was run, and thus libguestfs did not download and inspect the content of the RPM DB in the guest. See also http://libguestfs.org/guestfs-building.1.html for the list of mandatory, and optional build & runtime dependencies. -- Pino Toscano
participants (3)
-
Pino Toscano -
Richard W.M. Jones -
Zach Seils (seils)