Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 708961

Summary: virt-v2v should check or auto install cirrus driver for guest which has not cirrus driver
Product: Red Hat Enterprise Linux 6 Reporter: Huang Wenlong <whuang>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: cshao, cwei, leiwang, mbooth, mkenneth, qguan, rjones, rwu, yupzhang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: virt-v2v-0.8.3-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 708958 Environment:
Last Closed: 2011-12-06 14:49:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 708958    
Bug Blocks:    

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