RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 634655 - .treeinfo is not fetched when proxy is used
Summary: .treeinfo is not fetched when proxy is used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-16 16:09 UTC by Dennis Gregorovic
Modified: 2011-05-19 12:50 UTC (History)
3 users (show)

Fixed In Version: anaconda-13.21.84-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 12:50:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda log (10.28 KB, text/plain)
2010-09-22 17:56 UTC, Dennis Gregorovic
no flags Details
Pass proxy info to urlgrabber (9.68 KB, patch)
2010-10-13 16:56 UTC, Brian Lane
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0530 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-05-18 17:44:52 UTC

Description Dennis Gregorovic 2010-09-16 16:09:22 UTC
In anaconda-13.21.82-1.el6, if you do a URL-type install and use a proxy, it fails to download .treeinfo.

Comment 1 Brian Lane 2010-09-16 16:50:31 UTC
What do the proxy logs look like? Does it get a request for .treeinfo?

Also, please switch to tty2 attach the /tmp/*log files to this bug.

Comment 2 Dennis Gregorovic 2010-09-16 17:11:32 UTC
Proxy logs do not show any attempt for .treeinfo.  They show install.img, product.img, etc.  I don't have the /tmp/*log files at this point, but the error was PYCURL ERROR 7.

Comment 3 Chris Lumens 2010-09-22 03:03:35 UTC
Have you verified the proxy you are providing is valid as far as DNS is concerned?  Can you at least attach a screenshot of tty3 and tty4?

Comment 4 Dennis Gregorovic 2010-09-22 17:56:29 UTC
Created attachment 449008 [details]
anaconda log

I just did a new virt install and grabbed anaconda.log.  From it, you can see that it successfully grabs  http://download.lab.bos.redhat.com/rel-eng/RHEL6.0-20100909.1/6/Workstation/x86_64/os/images/product.img but it fails to grab http://download.lab.bos.redhat.com/rel-eng/RHEL6.0-20100909.1/6/Workstation/x86_64/os/.treeinfo

Comment 5 Chris Lumens 2010-09-22 20:03:45 UTC
Yet another instance of this PYCURL ERROR 6 crud.  I'm starting to regret switching to libcurl.

Comment 6 Radek Vykydal 2010-09-23 14:03:25 UTC
I believe this is a dupe of 632526.
Does this updates image fix it?
http://rvykydal.fedorapeople.org/updates.632526.img.iso
It is an iso image because you should fetch it without enabling network to reproduce the bug (e.g. ading updates to boot parameters and selecting cd device in loader).

Comment 7 Dennis Gregorovic 2010-09-23 16:11:36 UTC
That patch did not fix the issue.  I'm not too familiar with anaconda or urlgrabber code, but reading through yuminstall.py I don't see anywhere that the proxy information gets propagated to urlgrabber.

Comment 8 Radek Vykydal 2010-09-23 16:34:19 UTC
You are totally right, we don't set proxy for the grabber in this case, the log from comment #4 was misleading, this is not a PYCURL ERROR 6, but PYCURL ERROR 7 from comment #2.

Comment 9 Radek Vykydal 2010-10-05 13:00:42 UTC
Brian, do you want to take this bug? (You've been fixing proxies stuff a lot). I think we need to compose URLGrabber proxies argument (http://urlgrabber.baseurl.org/help/urlgrabber.grabber.html) from anaconda.proxy, anaconda.proxyUsername and anaconda.proxyPassword.

diff --git a/yuminstall.py b/yuminstall.py
index a5c0262..4969f08 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -691,6 +691,8 @@ class AnacondaYum(YumSorter):
 
         try:
             ug = URLGrabber()
+            # we need to add proxies= argument based on anaconda.proxy,
+            # anaconda.proxyUsername anaconda.proxyPassword here
             ug.urlgrab("%s/.treeinfo" % baseurl, "/tmp/.treeinfo", copy_local=1)
             return "/tmp/.treeinfo"
         except Exception as e:

Comment 10 Brian Lane 2010-10-13 16:56:38 UTC
Created attachment 453252 [details]
Pass proxy info to urlgrabber

Comment 11 RHEL Program Management 2010-10-29 21:29:51 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 14 Alexander Todorov 2011-02-21 10:09:41 UTC
With anaconda-13.21.98-1.el6 on the proxy I get:

GET updates.img 
GET product.img
GET install.img
GET .treeinfo
GET .treeinfo
GET repomd.xml


Moving to VERIFIED.

Comment 15 errata-xmlrpc 2011-05-19 12:50:21 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-2011-0530.html

Comment 16 errata-xmlrpc 2011-05-19 12:50:22 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-2011-0530.html


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