Bug 260981 - virt-install: incorrect domain XML (<source file=''/>) prevents domain from rebooting after install
Summary: virt-install: incorrect domain XML (<source file=''/>) prevents domain from r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtinst
Version: rawhide
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-28 17:01 UTC by Richard W.M. Jones
Modified: 2008-01-22 15:32 UTC (History)
0 users

Fixed In Version: 0.300.2-2.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-22 15:32:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2007-08-28 17:01:09 UTC
Description of problem:

After an install of a fullvirt 32-bit FreeBSD 6.2 guest on
Fedora Rawhide from an ISO image, the first reboot fails
with an error message about missing drive [I don't have the
original error message and it doesn't seem to have been saved
anywhere].

After investigation, I did 'virsh dumpxml freebsd32fv' and found
this section:

   <disk type='file' device='cdrom'>
     <driver name='file'/>
     <source file=''/>
     <target dev='hdc'/>
     <readonly/>
   </disk>

This seems to be causing the domain to fail to reboot.  Removing
just the <source file=''/> element is sufficient to make the domain
bootable again.

Version-Release number of selected component (if applicable):

kernel-xen-2.6.21-2931.fc8
xen-3.1.0-2.fc8
libvirt-0.3.2-2.fc8
libvirt-python-0.3.2-2.fc8
python-virtinst-0.200.0-3.fc8
virt-manager-0.4.0-3.fc8

How reproducible:

(Only tried it once).

Steps to Reproduce:
1. Download 6.2-RELEASE-i386-bootonly.iso from freebsd.org
2. Install FreeBSD from this ISO using virt-manager.
3. Reboot at the end of the install.
  
Actual results:

Domain fails to reboot.

Expected results:

Domain should reboot.

Additional info:

Comment 1 Daniel Berrangé 2007-08-29 03:04:29 UTC
Applied a fix upstream:

changeset:   261:3ea0c5d79b6a
tag:         tip
user:        "Daniel P. Berrange <berrange>"
date:        Tue Aug 28 23:02:32 2007 -0400
summary:     Fixed bug 260981 with empty cdrom source path


Will incorporate in next update for Fedora.

Comment 2 Fedora Update System 2008-01-11 22:27:57 UTC
python-virtinst-0.300.2-2.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python-virtinst'

Comment 3 Fedora Update System 2008-01-22 15:32:26 UTC
python-virtinst-0.300.2-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


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