error importing from VMware, and workaround

more details in my saga of problem imports from VMware/vsphere to ovirt (4.4.1 node) I had done a couple successfully, but my next one kept failing. Couldnt figure out why. The only things resembling an error in the import logs, were this: (trimmed a bit) "rpm -e vmware-tools-nox vmware-tools-common" { "message": "libguestfs error: command: error: Failed dependencies:\n\tvmware-tools-nox = 8.3.19 is needed by (installed) vmware-tools-8.3.19-1310361.el6.x86_64", "timestamp": "2020-08-02T21:28:08.797433658+00:00", "type": "error" } I thought to myself.. nah, that couldnt be it. import failed.. because you couldnt REMOVE a package??? that would be dumb. but that was the problem. I started up the old vm, did a yum remove 'vmware-*' reexported from VMware, and then imported... and this time, the import worked. Please fix that behaviour. -- Philip Brown| Sr. Linux System Administrator | Medata, Inc. 5 Peters Canyon Rd Suite 250 Irvine CA 92606 Office 714.918.1310| Fax 714.918.1325 pbrown@medata.com| www.medata.com

Hi, On Mon, Aug 3, 2020 at 1:52 AM Philip Brown <pbrown@medata.com> wrote:
more details in my saga of problem imports from VMware/vsphere to ovirt (4.4.1 node)
I had done a couple successfully, but my next one kept failing. Couldnt figure out why.
The only things resembling an error in the import logs, were this: (trimmed a bit)
"rpm -e vmware-tools-nox vmware-tools-common" { "message": "libguestfs error: command: error: Failed dependencies:\n\tvmware-tools-nox = 8.3.19 is needed by (installed) vmware-tools-8.3.19-1310361.el6.x86_64", "timestamp": "2020-08-02T21:28:08.797433658+00:00", "type": "error" }
I thought to myself.. nah, that couldnt be it. import failed.. because you couldnt REMOVE a package??? that would be dumb. but that was the problem.
I started up the old vm, did a
yum remove 'vmware-*'
reexported from VMware, and then imported... and this time, the import worked.
Please fix that behaviour.
Thanks for your email. Did you open a bug about this? Adding also Richard. Best regards, -- Didi

On Tue, Aug 04, 2020 at 12:38:33PM +0300, Yedidyah Bar David wrote:
Hi,
On Mon, Aug 3, 2020 at 1:52 AM Philip Brown <pbrown@medata.com> wrote:
more details in my saga of problem imports from VMware/vsphere to ovirt (4.4.1 node)
I had done a couple successfully, but my next one kept failing. Couldnt figure out why.
The only things resembling an error in the import logs, were this: (trimmed a bit)
"rpm -e vmware-tools-nox vmware-tools-common" { "message": "libguestfs error: command: error: Failed dependencies:\n\tvmware-tools-nox = 8.3.19 is needed by (installed) vmware-tools-8.3.19-1310361.el6.x86_64", "timestamp": "2020-08-02T21:28:08.797433658+00:00", "type": "error" }
I thought to myself.. nah, that couldnt be it. import failed.. because you couldnt REMOVE a package??? that would be dumb. but that was the problem.
I started up the old vm, did a
yum remove 'vmware-*'
reexported from VMware, and then imported... and this time, the import worked.
Please fix that behaviour.
Thanks for your email. Did you open a bug about this?
Adding also Richard.
I need to see the full log. Failure of rpm -e is not a fatal error in any version of virt-v2v from the last 7 years, so likely the real error is something else. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
participants (3)
-
Philip Brown
-
Richard W.M. Jones
-
Yedidyah Bar David