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 784666 - error adding repository to custom provider if katello.yml does not specify port
Summary: error adding repository to custom provider if katello.yml does not specify port
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-25 18:25 UTC by Tom McKay
Modified: 2019-09-26 13:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:22:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tom McKay 2012-01-25 18:25:48 UTC
Description of problem:

If the config file /etc/katello/katello.yml does not contain common/port then a "nil" error is raised when attempting to add a repository to a product in a custom provider.

Suggest either erroring at startup of falling back to localhost in repos.rb:yum_gpg_key_url()

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ivan Necas 2012-01-26 16:16:29 UTC
Since host is crucial for Katello working properly I adding a check on Katello start up for host to be present on katello start up, commit da8c01e2e1e32df0162573a6c8570b7dcc34d676.

Comment 2 Mike McCune 2012-01-26 19:07:19 UTC
mass ON_QA move

Comment 4 Og Maciel 2012-02-10 18:32:13 UTC
Validated on:

candlepin-0.5.18-1.el6.noarch
candlepin-tomcat6-0.5.18-1.el6.noarch
katello-0.1.229-2.el6.noarch
katello-all-0.1.229-2.el6.noarch
katello-certs-tools-1.0.2-2.el6.noarch
katello-cli-0.1.44-2.el6.noarch
katello-cli-common-0.1.44-2.el6.noarch
katello-common-0.1.229-2.el6.noarch
katello-configure-0.1.61-2.el6.noarch
katello-glue-candlepin-0.1.229-2.el6.noarch
katello-glue-foreman-0.1.229-2.el6.noarch
katello-glue-pulp-0.1.229-2.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-repos-0.1.5-1.el6.noarch
katello-selinux-0.1.3-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
pulp-0.0.265-1.el6.noarch
pulp-common-0.0.265-1.el6.noarch
pulp-selinux-server-0.0.265-1.el6.noarch

Comment 6 Mike McCune 2013-08-16 18:01:52 UTC
getting rid of 6.0.0 version since that doesn't exist


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