Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 734517

Summary: Content > Promotions: direct download link for a package points to localhost.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: inecas, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 17:54:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    
Attachments:
Description Flags
screenshot none

Description Corey Welton 2011-08-30 16:41:52 UTC
Description of problem:
When user tries to click the link listed in the package info pane, it fails; upon closer inspection, the URL is pointing to localhost, not the katello server.

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


How reproducible:


Steps to Reproduce:
1. Sync a content channel.
2. Content > Promotions > Product > Packages > $package name
3. View resulting package info pane on right.
4. Observe URL listed for the Download link
  
Actual results:
localhost link

Expected results:
proper link

Additional info:

Comment 1 Corey Welton 2011-08-30 16:46:01 UTC
Created attachment 520646 [details]
screenshot

Comment 2 Eric Helms 2011-09-09 15:11:44 UTC
The URL link in question is a value coming from Pulp.  Pulp appears to derive the hostname from the pulp.conf file specifically:

[server]
server_name: localhost

Comment 3 Corey Welton 2011-10-25 04:05:35 UTC
This seems like maybe something the backend team should fix in the puppet script, then - put the proper value in pulp.conf. 

adding inecas to the CC: for his thoughts

Comment 4 Ivan Necas 2011-10-25 09:39:46 UTC
Pulp puppet manifest fixed to correctly set up the hostname: commit 5cda0fa0488b4871533d2e6e56a770a2e976c58e

Note 1: it's required to synchronize the repo again for the change in the pulp.conf to take effect

Note 2: the download url still is not correct, waiting for Pulp to fix the bug
https://bugzilla.redhat.com/show_bug.cgi?id=745751

Comment 5 Corey Welton 2012-01-19 15:56:36 UTC
Verified.

Comment 8 Mike McCune 2013-08-16 18:02:30 UTC
getting rid of 6.0.0 version since that doesn't exist