Red Hat Bugzilla – Bug 437217
Can't install via virt-install (missing 'fedora.css')
Last modified: 2008-06-12 16:05:02 EDT
Description of problem:
It is not possible to install Rawhide as a guest OS (Xen DomU) using
virt-install. At the very least, rawhide is missing the 'fedora.css' in its os
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. sudo virt-install -n test -r 512 --vcpus=1 -f /var/lib/xen/images/RH.img
--vnc -p -b virbr0 -l "http://mirrors.kernel.org/fedora/development/i386/os/"
Alternatively, you can use virt-manger if you like a GUI.
$ sudo virt-install -n test -r 512 --vcpus=1 -f /var/lib/xen/images/RH.img --vnc
-p -b virbr0 -l "http://mirrors.kernel.org/fedora/development/i386/os/"
How large would you like the disk (/var/lib/xen/images/RH.img) to be (in
libvir: Xen Daemon error : GET operation failed:
[... a long time delay here as it tries to find out what type of distro this
mirror serves ...]
Could not find an installable distribution at:
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start test'; otherwise, please
restart your installation.
Wed, 12 Mar 2008 18:36:50 ERROR Could not find an installable distribution
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 517, in <module>
File "/usr/sbin/virt-install", line 481, in main
dom = guest.start_install(conscb,progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 811, in
File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", line 56, in
self._installer.prepare(guest = self, meter = meter)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 205,
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 175,
self.install["kernel"] = kernelfn
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 95, in
return store.acquireKernel(fetcher, progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 81, in
ValueError: Could not find an installable distribution at:
Installation of rawhide should start in a VNC window.
Shouldn't matter, but the host is FC8 running the current Xen package (a Xen 3.1
derivative + Linux 2.6.21).
This is just a check in OSDistro.py that is a bit overly restrictive.
'fedora.css' is just used to determine if the location is a fedora os tree. The
check should either be fixed to work with rawhide (ex: look for a file that
exists )or fedora.css should be included in rawhide.
What version of the python-virtinst RPM do you have. This problem was fixed in
the python-virtinst 0.300.3 released to rawhide yesterday.
I'm behind the times what with using F8 as Dom0 and just trying to test rawhide
via Xen DomU. Closing this bogus report now.
Re-opening because we need to ensure F9 DomU can be installed on an F8 dom0,
since F9 will not initially support Xen dom0 functionality.
Oh, and to answer your question, I have python-virtinst 300.2. So good
solutions would either be releasing 0.300.3 for F8 or adding the fedora.css file
to the repo.
It should be noted that this won't fix F9/rawhide PVMs GUI install. The vnc
window doesn't open for rawhide when installing in GUI mode - perhaps there is a
missing driver (xenfb?) in the rawhide initrd. Can't find a bug report - if I
don't hear about one I'll create it.
I've verified that F8 can detect and install an F9 tree correctly, so I'm
closing this as NOTABUG