Bug 470891 - Fix fetching FTP urls which don't have .treeinfo available.
Summary: Fix fetching FTP urls which don't have .treeinfo available.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-virtinst
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 471146 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-10 19:20 UTC by Cole Robinson
Modified: 2018-10-20 02:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 21:05:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Make sure we actually fetched a usable treeinfo file (1.01 KB, text/plain)
2008-11-10 19:27 UTC, Cole Robinson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0216 0 normal SHIPPED_LIVE python-virtinst enhancement and bug fix update 2009-01-20 16:06:21 UTC

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


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