Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 1033011 - katello-configure --proxy-url accepts invalid input
Summary: katello-configure --proxy-url accepts invalid input
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 1025890 1116898
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 12:16 UTC by Justin Sherrill
Modified: 2020-07-16 08:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-13 12:46:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2013-11-21 12:16:33 UTC
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):
Satellite mdp2

How reproducible:
Always

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

Actual results:
Failure

Expected results:
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/)

Additional info:

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 [140719895340800]
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
    _add_proxy(session, config)
  File "/usr/lib/python2.6/site-packages/nectar/downloaders/threaded.py", line 312, in _add_proxy
    url = ':'.join((host, str(config.proxy_port)))

Comment 1 RHEL Program Management 2013-11-21 12:42:26 UTC
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.

Comment 6 Corey Welton 2014-06-03 19:24:59 UTC
bouncing to 6.0.4

Comment 7 Bryan Kearney 2015-10-13 12:46:53 UTC
katello-configure is no longer shipped, and the new installer has undergone substantial testing on proxies. Closing this out.


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