Bug 708961 - virt-v2v should check or auto install cirrus driver for guest which has not cirrus driver
Summary: virt-v2v should check or auto install cirrus driver for guest which has not ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-v2v
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 708958
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-30 09:36 UTC by Huang Wenlong
Modified: 2013-10-20 21:44 UTC (History)
9 users (show)

Fixed In Version: virt-v2v-0.8.3-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 708958
Environment:
Last Closed: 2011-12-06 14:49:35 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1615 0 normal SHIPPED_LIVE Low: virt-v2v security and bug fix update 2011-12-06 00:51:05 UTC

Description Huang Wenlong 2011-05-30 09:36:49 UTC
+++ This bug was initially created as a clone of Bug #708958 +++

Description of problem:

virt-v2v should check or auto install  cirrus driver for guest which has not cirrus driver .
Before convert the guest's X driver is not cirrus , v2v will set the cirrus for X after convert , so if there is not cirrus driver in the original system ,the X wil not start after convert .


Version-Release number of selected component (if applicable):
virt-v2v-0.7.1-4.el5 
libguestfs-1.2.7-1.el5.13
zlib-1.2.3-3


How reproducible:
100%

Steps to Reproduce:
1.make sure the guest has not cirrus driver (xorg-x11-drv-cirrus) before convert
2.convert the guest successfully  
3.start the guest  , can not start X windows
  
Actual results:
can not start X windows

Expected results:
can start X windows 

Additional info:

this bug will be cloned to rhel6


for rhel6 
virt-v2v 0.7.1-4.el6
libguestfs-1.7.17-17.el6

Comment 1 Matthew Booth 2011-08-03 14:34:34 UTC
Fixed upstream. We will now attempt to install the cirrus driver, or warn if that wasn't possible.

Comment 3 Huang Wenlong 2011-08-11 06:19:44 UTC
verify this bug in  virt-v2v-0.8.2-2 

There will show some Warning message  and try to install cirrus driver 

...
virt-v2v: No capability in config matches os='linux' name='cirrus' distro='rhel' major='5' minor='6'
virt-v2v: WARNING: Display driver was updated to cirrus, but unable to install cirrus driver. X may not function correctly
...
so this bug fixed

Comment 4 Matthew Booth 2011-08-17 09:16:50 UTC
(In reply to comment #3)
> verify this bug in  virt-v2v-0.8.2-2 
> 
> There will show some Warning message  and try to install cirrus driver 
> 
> ...
> virt-v2v: No capability in config matches os='linux' name='cirrus'
> distro='rhel' major='5' minor='6'
> virt-v2v: WARNING: Display driver was updated to cirrus, but unable to install
> cirrus driver. X may not function correctly
> ...
> so this bug fixed

What was your command line? The capability should have been found, because it should be in /var/lib/virt-v2v/virt-v2v.db. If it isn't, then this bug isn't fixed.

Comment 5 Huang Wenlong 2011-08-17 09:42:20 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > verify this bug in  virt-v2v-0.8.2-2 
> > 
> > There will show some Warning message  and try to install cirrus driver 
> > 
> > ...
> > virt-v2v: No capability in config matches os='linux' name='cirrus'
> > distro='rhel' major='5' minor='6'
> > virt-v2v: WARNING: Display driver was updated to cirrus, but unable to install
> > cirrus driver. X may not function correctly
> > ...
> > so this bug fixed
> 
> What was your command line? The capability should have been found, because it
> should be in /var/lib/virt-v2v/virt-v2v.db. If it isn't, then this bug isn't
> fixed
.
Hi.Matt

Oh sorry , I understand you , I will retest it in next version  which contain virt-v2v.db ,so I assigned this bug because Fixed in Version should be  "virt-2v-0.8.2-3.el6" I think :)

Wenlong

Comment 7 Huang Wenlong 2011-08-22 09:45:21 UTC
Verify this bug in virt-v2v-0.8.3-1.el6 

#virt-v2v -ic xen+ssh://10.66.72.123 -os r6 -b breth0 rhel5u6-64b-pv-sparse-no-cirrus
rhel5u6-64b-pv-sparse.img: 100% [==================================================================================================]D 0h02m49s
virt-v2v: No app in config matches os='linux' name='xorg-x11-drv-cirrus' distro='rhel' major='5' minor='6' arch='x86_64'
virt-v2v: WARNING: Display driver was updated to cirrus, but unable to install cirrus driver. X may not function correctly
virt-v2v: rhel5u6-64b-pv-sparse-no-cirrus configured with virtio drivers.

If domain did not register RHN ,this is the intended behaviors. 
If domain is registered ,it will setup cirrus driver by yum.

Comment 8 errata-xmlrpc 2011-12-06 14:49:35 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.

http://rhn.redhat.com/errata/RHSA-2011-1615.html


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