Red Hat Bugzilla – 567982 – ValueError: Error parsing "proxy = 'intel-s3ea2-02.rhts.eng.bos.redhat.com:8080'": URL must be http, ftp or https not "intel-s3ea2-02.rhts.eng.bos.redhat.com"
Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
ValueError: Error parsing "proxy = 'intel-s3ea2-02.rhts.eng.bos.redhat.com:8080'": URL must be http, ftp or https not "intel-s3ea2-02.rhts.eng.bos.redhat.com"
DescriptionAlexander Todorov
2010-02-24 14:38:29 UTC
The following was filed automatically by anaconda:
anaconda 13.21.14 exception report
Traceback (most recent call first):
File "/usr/lib/python2.6/site-packages/yum/config.py", line 96, in __set__
value, str(e)))
File "/usr/lib/python2.6/site-packages/yum/config.py", line 507, in populate
setattr(self, name, value)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 854, in readMainConfig
yumconf.populate(startupconf._parser, 'main')
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 278, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/anaconda/yuminstall.py", line 650, in doConfigSetup
YumSorter._getConfig(self)
File "/usr/lib/anaconda/yuminstall.py", line 352, in setup
self.doConfigSetup(root=self.anaconda.rootPath)
File "/usr/lib/anaconda/yuminstall.py", line 1138, in doBackendSetup
self.ayum.setup()
File "/usr/lib/anaconda/backend.py", line 286, in doBackendSetup
if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK:
File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1308, in nextClicked
self.anaconda.dispatch.gotoNext()
File "/usr/lib/anaconda/gui.py", line 1446, in keyRelease
self.nextClicked()
ValueError: Error parsing "proxy = 'intel-s3ea2-02.rhts.eng.bos.redhat.com:8080'": URL must be http, ftp or https not "intel-s3ea2-02.rhts.eng.bos.redhat.com"
Comment 1Alexander Todorov
2010-02-24 14:38:32 UTC
Comment 2Alexander Todorov
2010-02-24 14:42:15 UTC
This is before packages selection screen when using an http proxy without specifying the protocol part.
In loader I've entered the hostname:port of the proxy without http:// in front.
In the proxy log I see that images/install.img was successfully downloaded which means that loader understands the hostname:port syntax but stage2 doesn't.
Either make stage2 not require the protocol part or if that's required make loader require/warn for it as well.
Comment 3RHEL Program Management
2010-02-24 14:59:50 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
inclusion.
*** Bug 574383 has been marked as a duplicate of this bug. ***
Comment 7Alexander Todorov
2010-04-27 18:21:04 UTC
When I boot with proxy=host:port the proxy UI in loader correctly modifies this as http://host:port.
If I delete the "http://" part in the loader UI then I still get a traceback.
Chris,
can you move the code which adds the "http://" part after the URL config/Proxy config screen in loader so that it takes care of the second use case as well.
Comment 8Alexander Todorov
2010-05-21 11:47:48 UTC
With snap #4 (0512.0) I specified a proxy in loader and that wasn't carried over to stage2. The proxy fields in the repo config were disabled.
When manually editted the proxy value yum was unable to download repository metadata. From another system I've tested that the proxy works as expected and I can reach the install directory via the proxy.
Moving to ASSIGNED. Chris, can you take care of this and comment #7 as well.
These are different bugs, file different bug reports.
Comment 11Alexander Todorov
2010-06-15 13:24:01 UTC
with anaconda 13.21.50 I've booted with proxy=host:port and anaconda used the proxy to download stage2 images. Moving to VERIFIED.
As suggested in comment #9 I'll open another bug report for the other issue.
Comment 12releng-rhel@redhat.com
2010-07-02 18:50:25 UTC
Red Hat Enterprise Linux Beta 2 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.
The following was filed automatically by anaconda: anaconda 13.21.14 exception report Traceback (most recent call first): File "/usr/lib/python2.6/site-packages/yum/config.py", line 96, in __set__ value, str(e))) File "/usr/lib/python2.6/site-packages/yum/config.py", line 507, in populate setattr(self, name, value) File "/usr/lib/python2.6/site-packages/yum/config.py", line 854, in readMainConfig yumconf.populate(startupconf._parser, 'main') File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 278, in _getConfig self._conf = config.readMainConfig(startupconf) File "/usr/lib/anaconda/yuminstall.py", line 650, in doConfigSetup YumSorter._getConfig(self) File "/usr/lib/anaconda/yuminstall.py", line 352, in setup self.doConfigSetup(root=self.anaconda.rootPath) File "/usr/lib/anaconda/yuminstall.py", line 1138, in doBackendSetup self.ayum.setup() File "/usr/lib/anaconda/backend.py", line 286, in doBackendSetup if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK: File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext self.moveStep() File "/usr/lib/anaconda/gui.py", line 1308, in nextClicked self.anaconda.dispatch.gotoNext() File "/usr/lib/anaconda/gui.py", line 1446, in keyRelease self.nextClicked() ValueError: Error parsing "proxy = 'intel-s3ea2-02.rhts.eng.bos.redhat.com:8080'": URL must be http, ftp or https not "intel-s3ea2-02.rhts.eng.bos.redhat.com"