Bug 470891

Summary: Fix fetching FTP urls which don't have .treeinfo available.
Product: Red Hat Enterprise Linux 5 Reporter: Cole Robinson <crobinso>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: berrange, bmason, fj0873gn, gozen, sakaia, syeghiay, takatom, tao, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:05:07 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:
Attachments:
Description Flags
Make sure we actually fetched a usable treeinfo file none

Description Cole Robinson 2008-11-10 19:20:21 UTC
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.

Comment 1 Cole Robinson 2008-11-10 19:27:39 UTC
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.

Comment 4 Cole Robinson 2008-11-11 20:00:30 UTC
Built in python-virtinst-0.300.2-12.el5.

Comment 5 Bryan Mason 2008-11-12 00:29:17 UTC
*** Bug 471146 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2009-01-20 21:05:07 UTC
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.

http://rhn.redhat.com/errata/RHBA-2009-0216.html