Red Hat Bugzilla – Bug 1033011
katello-configure --proxy-url accepts invalid input
Last modified: 2017-05-23 06:36:49 EDT
Description of problem:
if you pass only a fqdn to --proxy-url as part of the installation, everything will go fine but syncing will be broken.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install katello and only specify an fqdn/hostname to --proxy-url
2. import a manifest, enable a product & repo, and try to sync one
Should not be able to pass in just the fqdn/hostnanme to --proxy-url, it should require a proper protocol in the url. (i.e. http://hostname.com/)
Error in /var/log/pulp/nectar.log:
TypeError: sequence item 0: expected string, NoneType found
2013-11-20 20:30:50,497 nectar.downloaders.threaded:ERROR: Unhandled Exception in Worker Thread 
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nectar/downloaders/threaded.py", line 93, in worker
session = build_session(self.config)
File "/usr/lib/python2.6/site-packages/nectar/downloaders/threaded.py", line 282, in build_session
File "/usr/lib/python2.6/site-packages/nectar/downloaders/threaded.py", line 312, in _add_proxy
url = ':'.join((host, str(config.proxy_port)))
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
bouncing to 6.0.4
katello-configure is no longer shipped, and the new installer has undergone substantial testing on proxies. Closing this out.