Richard W.M. Jones
2017-Jul-11 21:34 UTC
Re: [Libguestfs] [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
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
Zach Seils (seils)
2017-Jul-11 21:42 UTC
Re: [Libguestfs] [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
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
Richard W.M. Jones
2017-Jul-11 21:55 UTC
Re: [Libguestfs] [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
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
Pino Toscano
2017-Jul-12 07:47 UTC
Re: [Libguestfs] [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
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
Maybe Matching Threads
- Re: [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
- Re: [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
- [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
- Re: [virt-v2v] no installed kernel packages were found Converting CentOS OVA to KVM
- Re: virt-v2v : Import from vsphere 4