Project

General

Profile

Actions

Bug #36544

closed

Empty The Foreman and Katello repository on client side

Added by Tiga Linos 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I want to install The Foreman External Smart Proxy on separate server.
Repository management for Foreman Smart Proxy is done by The Foreman Server.
Smart proxy server gets corresponding repositories, but there are no packages visible.
1) Software:
RHEL 8.8 for The Foreman and The Foreman Smart Proxy
The Foreman 3.7
Katello 4.9

2) Steps to reproduce
Create Product "Foreman server"
Add repositories to the product:
a) Foreman:
Type: yum
Upstream URL: https://yum.theforeman.org/releases/3.7/el8/x86_64/
Verify SSL: Yes
Unprotected: Yes
b) Katello:
Type: yum
Upstream URL: https://yum.theforeman.org/katello/4.9/katello/el8/x86_64/
Verify SSL: Yes
Unprotected: Yes
Sync repositories
Create, publish new version and promote content view named "Foreman server" for Production "Lifecycle Environment" with enabled Foreman and Katello repositories
Create Activation Key with Content view "Foreman server"
Activate server with RHEL 8.8 with activation key: subscription-manager register --org="Default_Organization" --activationkey="Foreman Smart Proxy activation key"
Check repositories: dnf repolist

Check available packages: dnf clean all && sudo dnf repo-pkgs Default_Organization_Foreman_server_Katello list

3) Expected result
Packages from Default_Organization_Foreman_server_Katello repository should be listed

4) Actual result
Packages from Default_Organization_Foreman_server_Katello are not listed - the list is empty

5) Characterization/isolation
The issue persists with or without GPGKEY configured in The Foreman repositories
Repository with packages are visible on The Foreman server via web browser: https://<the_foreman_server_fqdn>/pulp/content/Default_Organization/Production/Foreman_server/custom/Foreman_server/Katello/
The same repository is set on the Client in file /etc/yum.repos.d/redhat.repo


Files

Actions

Also available in: Atom PDF