Bug 2106473

Summary: [RFE] Satellite 6.10 giving traceback while importing content when manifest having no subscription
Product: Red Hat Satellite Reporter: Ram Nayan Singh <ramsingh>
Component: Inter Satellite SyncAssignee: Chris Roberts <chrobert>
Status: VERIFIED --- QA Contact: David Moore <damoore>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ahumbe, chrobert, damoore, dsinglet, paji, pcreech, saydas
Target Milestone: 6.14.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: https://projects.theforeman.org/issues/36521
Whiteboard:
Fixed In Version: rubygem-katello-4.9.0.1-1,rubygem-katello-4.9.0.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Ram Nayan Singh 2022-07-12 18:28:46 UTC
1. Proposed title of this feature request

- Improvement with log related to the issue
- Satellite 6.10 gives traceback while importing content when the manifest has no subscription, it should be simple and error related with subscription and manifest.

   hammer content-import version --organization "Default Organization" --path=/var/lib/pulp/imports/
     Could not import the archive.:
     undefined method `content_url' for nil:NilClass

2. What is the nature and description of the request?

Low Priority for the betterment of the product

3. Is there already an existing RFE upstream or in Red Hat Bugzilla? No

4. Is the sales team involved in this request and do they have any additional input?

No

Expected results:

If Subscription is the issue Instead of that traceback, Perhaps include a message i.e " Please check if a valid subscription manifest has been imported into the satellite"