Description of problem: RHEL5.1 Virtualisation host, when installing a Fedora 8 para-virt guest fails with a traceback, even though the install tree URL is correct. Version-Release number of selected component (if applicable): python-virtinst-0.103.0 How reproducible: 100% Steps to Reproduce: Install RHEL5 update 1 , add Virtualisation Platform and boot to the dom0 kernel.Using the Virtualisation Manager GUII tool, begin a new guest installation. Select 'Parra Virtualised, and entre a valid installation tree URL, ie : http://mirror.pacific.net.au/linux/fedora/linux/releases/8/Fedora/ x86_64/os/ Actual results: A trace back error appears: Unable to complete install: 'Could not find an installable distribution the install location' Unable to complete install 'exceptions.RuntimeError Could not find an installable distribution the install location Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 681, in do_install dom = guest.start_install(False, meter = meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 647, in start_install tmpfiles = self._prepare_install_location(meter) File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 65, in _prepare_install_location (kernelfn,initrdfn,args) = DistroManager.acquireKernel(self.location, meter, scratchdir=self.scratchdir, type=self.type) File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 573, in acquireKernel progresscb=progresscb, distro=distro, scratchdir=scratchdir) File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 562, in _storeForDistro raise RuntimeError, "Could not find an installable distribution the install location" RuntimeError: Could not find an installable distribution the install location Expected results: Fedora 8 parra-virtualised installation should be possible. Additional info: Simple change to the /usr/lib/python2.4/site-packages/virtinst/DistroManager.py file that is already in Fedora 8's python-virtinst RPM fixes the problem. At line about 205 add code to look for the fedora.css file: ..., # Fedora distro check class FedoraImageStore(RedHatImageStore): def isValidStore(self, fetcher, progresscb): if fetcher.hasFile("fedora.css", progresscb): logging.debug("Detected a Fedora distro") return True if fetcher.hasFile("Fedora", progresscb): logging.debug("Detected a Fedora distro") return True return False
Created attachment 269441 [details] Add support for Fedora 8 install tree
*** This bug has been marked as a duplicate of 384791 ***