Red Hat Bugzilla – Bug 470891
Fix fetching FTP urls which don't have .treeinfo available.
Last modified: 2010-10-23 01:47:23 EDT
The mechanism virtinst uses to determine if an FTP file is present in the passed URL tree has apparently been busted all through RHEL5: it always reports success. This just happpened to work out before since most people are installing RHEL or Fedora trees, and we would fall through to those defaults.
With the .treeinfo fetching code for bug 460585, these previously working FTP installs fail, trying to parse a treeinfo file that doesn't exist. This breaks url installs for pre-F8 and pre-RHEL5.2.
Created attachment 323105 [details]
Make sure we actually fetched a usable treeinfo file
Rather than actually fix FTP file detection to work (already upstream), I'd rather not rock the boat. This patch preserves existing behavior, except that we will detect if there really wasn't a treeinfo file fetched, and continue as normal.
Verified that this fetches RHEL5 GA and F10 trees successfully.
Built in python-virtinst-0.300.2-12.el5.
*** Bug 471146 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.