Bug 1975276

Summary: Enabling a RH repo is not reflected in the list of enabled repos
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: addubey
Severity: medium Docs Contact:
Priority: low    
Version: 6.10.0CC: akjha, pcreech, sajha
Target Milestone: 6.10.0Keywords: Regression, Triaged
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-11-16 14:12:09 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 Pavel Moravec 2021-06-23 11:33:25 UTC
Description of problem:
Enabling some RH repositories on WebUI URI /redhat_repositories, when I click to add a repository, it does not appear in the right list of enabled repositories. The list just updates the counter to e.g. "NaN-NaN of 9" (I started with no repo enabled and added 9 repos), but the list below is empty.

Refreshing the page, I do see all the enabled repos, though.

Crucial point here is to check "Recommended Repositories". With this enabled, I can reproduce it. With that disabled, all works fine.


Version-Release number of selected component (if applicable):
Sat 6.10 spin 4
satellite-6.10.0-0.1.beta.el7sat.noarch
katello-4.1.0-0.6.rc2.el7sat.noarch


How reproducible:
100%


Steps to Reproduce:
1. A new Sat6.10 with imported manifest
2. WebUI: Content -> Red Hat Repositories (which shows no enabled repo, now - so far good)
3. Click to "Recommended Repositories"
4. Unwrap some repo groups and enable some repo.
5. See what happens in "Enabled repositories" section.


Actual results:
5. Even after the spinner for the task to enable a repo is completed, the repo is not added/listed in "Enabled repositories" section. Just the stats like "NaN-NaN of 2" is updated.


Expected results:
List of enabled repos to be updated as well.


Additional info:
I don't see this happening in Sat6.9, so it sounds like a regression in user experience.

I do use Firefox 88.

Comment 1 Andrew 2021-07-12 18:15:12 UTC
Created redmine issue https://projects.theforeman.org/issues/32997 from this bug

Comment 2 Bryan Kearney 2021-07-14 16:02:13 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32997 has been resolved.

Comment 3 addubey 2021-08-23 11:51:07 UTC
Verified.


Tested on: Satellite-6.10.0 Snap 14.0



Steps followed: 

Go to Satellite WebUI >> Content >> Repositories >> Toggle Recommended repositories >> Unwrapping repo groups and enabling them >> List of enabled repositories visible in the right list of enabled repositories 
section.



Observation: Enabled repositories are visible now as expected in the Enabled repositories section.



Additional info: Also worked fine with Firefox.

Comment 6 errata-xmlrpc 2021-11-16 14:12:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4702