Bug 2106473 - [RFE] Satellite 6.10 giving traceback while importing content when manifest having no subscription
Summary: [RFE] Satellite 6.10 giving traceback while importing content when manifest h...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.10.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.14.0
Assignee: Chris Roberts
QA Contact: David Moore
URL: https://projects.theforeman.org/issue...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 18:28 UTC by Ram Nayan Singh
Modified: 2023-08-10 18:55 UTC (History)
7 users (show)

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:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36521 0 Normal Ready For Testing hammer content import fails with undefined method `substitutor' for nil:NilClass during import content if product being ... 2023-06-27 13:50:02 UTC
Github Katello katello pull 10619 0 None Merged Fixes #36521 - raise an error with invalid manifest 2023-06-27 13:49:13 UTC
Red Hat Issue Tracker SAT-17227 0 None None None 2023-04-19 12:57:24 UTC
Red Hat Knowledge Base (Solution) 6967325 0 None None None 2022-07-25 12:19:05 UTC

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"


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