On foreman 1.24.3 it works as usual. But if I load the same manifest on a foreman 2.1 I only get to see a few versions of repos, sometimes only some versions are missing, sometimes every version. I also noticed that the time until the results appear is much longer. Before it was 5 seconds now it is 60 seconds until the contents are displayed. No log information found. One Pic is from Foreman 1.24 the other with less versions is from Foreman 2.1 !Screenshot_20200820_165449.png! !Screenshot_20200820_165514.png!
Created from redmine issue https://projects.theforeman.org/issues/30694
Upstream bug assigned to jsherril
Note that this is similar to https://bugzilla.redhat.com/show_bug.cgi?id=1838917 but after applying that fix, things were still not working properly. The behavior seen was slightly different, and only happened with an http proxy. It may not be 100% reproducible. To reproduce: 1. Install satellite 6.8. 2. Add manifest file. 3- Configure a global content proxy 4- Expand a bunch of repos (rhel 6, rhel 7, etc...) the more resulting repos the better. Make sure all expected releases show up
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30694 has been resolved.
*** Bug 1894441 has been marked as a duplicate of this bug. ***
Satellite 6.8.1 is due out soon and we are offering a hotfix that is applicable to Satellite 6.8.1. *** Satellite 6.8.1 Hotfix Available *** 1) Download tfm-rubygem-katello-3.16.0.13-2.HOTFIXRHBZ1882690.el7sat.noarch.rpm from this bugzilla to your Satellite 2) stop services: satellite-maintain service stop 3) Install: rpm -Uvh tfm-rubygem-katello-3.16.0.13-2.HOTFIXRHBZ1882690.el7sat.noarch.rpm 4) restart: satellite-maintain service start 5) resume operations
Created attachment 1729917 [details] tfm-rubygem-katello-3.16.0.13-2.HOTFIXRHBZ1882690.el7sat.noarch.rpm
The fix for this bugzilla is in Satellite 6.9 (and earlier 6.8.z); therefore, aligning to release and updating state.
Tested on 6.9.0 snap 9.0. Importing a manifest isn't populating the available repositories. After import, if I expand any of the repositories shown under Content > Red Hat Repositories, I only see 'No repositories available.' for most of the repositories. The only exception is for Some of the RHEL 8 repositories, which show 'x86_64' as selectable, e.g., Red Hat Satellite Tools 6.8 for RHEL 8 x86_64 (RPMs) satellite-tools-6.8-for-rhel-8-x86_64-rpms Clicking on one of those gives me an inline error notification like this: CDN loading error: access forbidden to https://cdn.redhat.com:443/content/dist/layered/rhel8/x86_64/sat-tools/6.8/os/repodata/repomd.xml Once I refresh the manifest, all of the repositories appear and can be selected without error. I see the same behavior on 6.8.2 and 6.8.3 as well.
Created attachment 1749433 [details] production.log from failed list of available repositories
Hey Tasos, it sounds like your manifest was out of date and needed to be refreshed. We've put some work into trying to make it clear if a manifest is not 'valid', but we may need to do more work there. However i think that is out of the scope of this bz, as the problem this covers happened with a valid manifest, where by you would see some subset of repos. And it is possible for a manifest to be partially expired/partially current, where by some repo sets can be listed and some cannot.
Ok, I'm looking into the manifests I've been using and I'll see if a newer one fixes the issue. Setting back to ON_QA.
Verified with a new manifest.
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.9 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:1313