RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1155610 - disable uninstallation of VMware drivers on Linux for RHEL 7.1
Summary: disable uninstallation of VMware drivers on Linux for RHEL 7.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On:
Blocks: 1155150
TreeView+ depends on / blocked
 
Reported: 2014-10-22 13:11 UTC by Richard W.M. Jones
Modified: 2015-03-05 13:46 UTC (History)
9 users (show)

Fixed In Version: libguestfs-1.28.1-1.4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1155150
Environment:
Last Closed: 2015-03-05 13:46:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0303 0 normal SHIPPED_LIVE libguestfs bug fix and enhancement update 2015-03-05 17:34:44 UTC

Description Richard W.M. Jones 2014-10-22 13:11:33 UTC
+++ This bug was initially created as a clone of Bug #1155150 +++

Description of problem:

I don't have a high confidence that this code works.  In fact, I
have a very low confidence that it works (eg. bug 1155150).

We don't have time to fix this mess in RHEL 7.1, so defer that
bug to RHEL 7.2.  In the meantime, disable this in RHEL 7.1.

Note that we don't uninstall VMware drivers in Windows at all,
for different reasons.

Comment 1 Marko Myllynen 2014-10-24 12:00:17 UTC
> Fixed In Version: libguestfs-1.28.1-1.4.el7

Will you push this to the RHEL 7.1 Preview repo, too?

Thanks.

Comment 3 Marko Myllynen 2014-10-24 13:18:51 UTC
Tested the internal builds, conversion completed successfully.

Thanks!

Comment 5 Richard W.M. Jones 2014-10-24 20:19:11 UTC
(In reply to Marko Myllynen from comment #1)
> > Fixed In Version: libguestfs-1.28.1-1.4.el7
> 
> Will you push this to the RHEL 7.1 Preview repo, too?
> 
> Thanks.

A new package is now available in the preview repo
which contains this patch.

Comment 6 Marko Myllynen 2014-10-27 09:02:24 UTC
(In reply to Richard W.M. Jones from comment #5)
> (In reply to Marko Myllynen from comment #1)
> > > Fixed In Version: libguestfs-1.28.1-1.4.el7
> > 
> > Will you push this to the RHEL 7.1 Preview repo, too?
> 
> A new package is now available in the preview repo
> which contains this patch.

Conversion completed successfully with virt-v2v-1.28.1-1.5.el7.x86_64.

Thanks.

Comment 7 zhoujunqin 2014-11-10 06:16:40 UTC
I can reproduce this issue with following package version:
Host:
libguestfs-1.28.1-1.2.el7.x86_64
virt-v2v-1.28.1-1.2.el7.x86_64

Guest with vmware-tools installing version:
vmware-tools-libraries-x-9.4.0-1.el6.x86_64

Steps:
# virt-v2v -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-rhel6.5-released-desktop 
[   0.0] Opening the source -i libvirt -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-rhel6.5-released-desktop
Enter root's password for 10.66.111.25: 
Enter host password for user 'root':
[  18.0] Creating an overlay to protect the source from being modified
[  18.0] Opening the overlay
[  31.0] Initializing the target -o libvirt -os default
[  31.0] Inspecting the overlay
[  95.0] Checking for sufficient free disk space in the guest
[  95.0] Estimating space required on target for each disk
[  95.0] Converting Red Hat Enterprise Linux Server release 6.5 (Santiago) to run on KVM
virt-v2v: could not install replacement for vmware-tools-libraries-x.  Error was: command: This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error: Need to pass a list of pkgs to install.  vmware-tools-libraries-x was not removed.
virt-v2v: could not install replacement for vmware-tools-libraries-nox.  Error was: command: This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error: Need to pass a list of pkgs to install.  vmware-tools-libraries-nox was not removed.
virt-v2v: error: libguestfs error: command: error: Failed dependencies:
	vmware-tools-foundation >= 0:9.4.0 is needed by (installed) 
vmware-tools-libraries-nox-0:9.4.0-1.el6.x86_64
	vmware-tools-foundation >= 0:9.4.0 is needed by (installed) 
vmware-tools-libraries-x-0:9.4.0-1.el6.x86_64

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]


then try to verify with new build:
libguestfs-1.28.1-1.9.el7.x86_64
virt-v2v-1.28.1-1.9.el7.x86_64

steps:
# virt-v2v -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-rhel6.5-released-desktop -on test-rhel6.5-released-desktop-second 
[   0.0] Opening the source -i libvirt -ic vpx://root.111.25/tzheng-demo/10.66.106.63/?no_verify=1 test-rhel6.5-released-desktop
Enter root's password for 10.66.111.25: 
Enter host password for user 'root':
[  16.0] Creating an overlay to protect the source from being modified
[  16.0] Opening the overlay
[  95.0] Initializing the target -o libvirt -os default
[  95.0] Inspecting the overlay
[ 160.0] Checking for sufficient free disk space in the guest
[ 160.0] Estimating space required on target for each disk
[ 160.0] Converting Red Hat Enterprise Linux Server release 6.5 (Santiago) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 537.0] Mapping filesystem data to avoid copying unused and blank areas
[ 540.0] Closing the overlay
[ 540.0] Copying disk 1/1 to /var/lib/libvirt/images/test-rhel6.5-released-desktop-second-sda (raw)
    (100.00/100%)
[ 809.0] Creating output metadata
Pool default refreshed

Domain test-rhel6.5-released-desktop-second defined from /tmp/v2vlibvirt361a63.xml

[ 809.0] Finishing off


Result: Conversion finished successfully and guest can boot up successfully.
So move this bug from ON_QA to VERIFIED.

Comment 9 errata-xmlrpc 2015-03-05 13:46:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0303.html


Note You need to log in before you can comment on or make changes to this bug.