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 1995229

Summary: adding repo errors out and does not sync until a few hours later.
Product: Red Hat Satellite Reporter: jomadiso
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Cole Higgins <chiggins>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-19 14:21:20 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:

Description jomadiso 2021-08-18 16:27:53 UTC
Description of problem: 
When trying to add a repo after importing the manifest I got this error **Task 1eda2efa-3d0e-4b00-a8d3-f00c3e44188d: NoMethodError: undefined method `id' for nil:NilClass**

Version-Release number of selected component (if applicable): Satellite 6.10 Snap 13 


How reproducible:


Steps to Reproduce:
1. Fresh Satellite Build
2. Import New Manifest 6.9. 
3. Content -> Red Hat Repositories -> Recommended Repositories -> Add 
Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server 
4. Error appears
5. Content -> Sync Status -> Select the repo you tried to add.
6. Click "Synchronize now".


Actual results:
When trying to add repo it errors to "NoMethodError: undefined method `id' for nil:NilClass"

When trying to sync the repo it does nothing.

Expected results:
Should add repos with no errors.
Should sync repos with no errors.


Additional info:

Comment 1 Brad Buckingham 2021-08-19 14:21:20 UTC

*** This bug has been marked as a duplicate of bug 1995230 ***