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 1050171

Summary: Import of manifest isn't successful, but gets reported as good.
Product: Red Hat Satellite Reporter: Peter Gervase <pgervase>
Component: Subscription ManagementAssignee: William Poteat <wpoteat>
Status: CLOSED NOTABUG QA Contact: Og Maciel <omaciel>
Severity: medium Docs Contact:
Priority: medium    
Version: NightlyCC: omaciel, pgervase, wpoteat
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 16:38:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
katello-debug none

Description Peter Gervase 2014-01-08 19:45:53 UTC
Description of problem:
On a fresh sat 6 mdp 2 install, the import of the manifest reported as successful, but when trying to enable the repo for 
	Red Hat Enterprise Linux 6 Server (RPMs)
it failed with errors like
[ERROR 2014-01-08 14:26:31 app b5358e5b85613dc260cb7fab0f02aa9b #16626] undefined method `repositories_cdn_import_failed!' for #<Candlep
in::ProductContent:0x00000009722aa0> (NoMethodError)
...
 | caused by: (Errors::SecurityViolation) CDN loading error: access forbidden to https://cdn.redhat.com:443/content/dist/rhel/server/6/listing

To resolve this, a reimport of the manifest was performed. After that, I was able to enable the repo and then start the sync.


Version-Release number of selected component (if applicable):
Satellite 6 mdp 2

How reproducible:
?

Steps to Reproduce:
1. Build a new sat 6 mdp2
2. Import the manifest
3.

Actual results:
In the notifications, 
Wed, 08 Jan 2014 19:03:53 +0000 	error 	gahzinia 	
undefined method `repositories_cdn_import_failed!' for #<Candlepin::ProductContent:0x00000008f97ab0> (NoMethodError)

Wed, 08 Jan 2014 17:10:07 +0000 	success 	gahzinia 	
Subscription manifest uploaded successfully for provider 'Red Hat'. Please enable the repositories you want to sync by selecting 'Enable Repositories' and selecting individual repositories to be enabled. 

Expected results:
Since reimporting the manifest fixed the issue, it appears that the import wasn't actually successfully uploaded. Because of that, it should have given an error message. 

Additional info:

Comment 1 Peter Gervase 2014-01-08 19:50:19 UTC
Created attachment 847334 [details]
katello-debug

Comment 2 RHEL Program Management 2014-01-08 20:16:14 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 4 William Poteat 2014-01-13 14:40:53 UTC
I feel like this is an issue with the CDN. The reload of the manifest just gave the CDN system time to recover. Please confirm this error.

Comment 6 Peter Gervase 2014-02-06 16:24:43 UTC
I no longer have the manifest or my sat6mdp2 system, and attempts at reproducing this issue have failed. Did anything jump out from the katello debug?