Bug 604126 - ValueError: Error parsing "proxy = 'intel-s3ea2-02.rhts.eng.bos.redhat.com:80'": URL must be http, ftp or https not "intel-s3ea2-02.rhts.eng.bos.redhat.com"
Summary: ValueError: Error parsing "proxy = 'intel-s3ea2-02.rhts.eng.bos.redhat.com:80...
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
Whiteboard: anaconda_trace_hash:0b047f3d8883370fc...
Depends On:
Blocks: 582286
TreeView+ depends on / blocked
Reported: 2010-06-15 13:28 UTC by Alexander Todorov
Modified: 2010-11-10 19:48 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2010-11-10 19:48:12 UTC

Attachments (Terms of Use)
Attached traceback automatically from anaconda. (213.91 KB, text/plain)
2010-06-15 13:28 UTC, Alexander Todorov
no flags Details
Check proxy url in loader (1.09 KB, patch)
2010-06-28 23:53 UTC, Brian Lane
no flags Details | Diff

Description Alexander Todorov 2010-06-15 13:28:28 UTC
The following was filed automatically by anaconda:
anaconda 13.21.50 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 97, in __set__
    value, str(e)))
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 508, in populate
    setattr(self, name, value)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 862, in readMainConfig
    yumconf.populate(startupconf._parser, 'main')
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 285, in _getConfig
    self._conf = config.readMainConfig(startupconf)
  File "/usr/lib/anaconda/yuminstall.py", line 692, in doConfigSetup
  File "/usr/lib/anaconda/yuminstall.py", line 353, in setup
  File "/usr/lib/anaconda/yuminstall.py", line 1191, in doBackendSetup
  File "/usr/lib/anaconda/backend.py", line 285, in doBackendSetup
    if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK:
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1423, in setScreen
  File "/usr/lib/anaconda/gui.py", line 1336, in nextClicked
    self.setScreen ()
  File "/usr/lib/anaconda/gui.py", line 1473, in keyRelease
ValueError: Error parsing "proxy = 'intel-s3ea2-02.rhts.eng.bos.redhat.com:80'": URL must be http, ftp or https not "intel-s3ea2-02.rhts.eng.bos.redhat.com"

Comment 1 Alexander Todorov 2010-06-15 13:28:34 UTC
Created attachment 424154 [details]
Attached traceback automatically from anaconda.

Comment 2 Alexander Todorov 2010-06-15 13:32:57 UTC
See this for earlier description of this bug:

Steps to reproduce:
1) Boot anaconda from boot.iso
2) In loader select to install from URL
3) Type the URL and specify Proxy
4) For proxy URL type only host:port, without the protocol prefix

In stage2 after disk partitioning you get this traceback. 

Bug #567982 fixes the same thing when proxy=host:port is specified on the command line. The comment referenced above asks that the part of code which adds the protocol prefix (expected by yum later) be moved after the URL settings screen.

Comment 3 Brian Lane 2010-06-28 23:53:12 UTC
Created attachment 427530 [details]
Check proxy url in loader

Comment 5 Alexander Todorov 2010-07-05 13:05:41 UTC
With anaconda-13.21.56-1.el6 loader warns the user that proxy needs to be http:// or ftp:// URL not only host:port.

Adding the http:// prefix let me continue to stage2 where yum repositories were setup correctly wrt proxy URL. Moving to VERIFIED.

Comment 6 releng-rhel@redhat.com 2010-11-10 19:48:12 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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