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 ***