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 1978265 - Enabling Satellite 6.9 tools repository rhel-7-server-eus-satellite-tools-6.9-rpms for RHEL 7.7 EUS fails with error 'does not seem to be a valid repository’
Summary: Enabling Satellite 6.9 tools repository rhel-7-server-eus-satellite-tools-6.9...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.9.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.10.0
Assignee: Barnaby Court
QA Contact: Danny Synk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-01 12:18 UTC by Sam Wachira
Modified: 2024-10-01 18:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:12:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:12:26 UTC

Description Sam Wachira 2021-07-01 12:18:43 UTC
Description of problem:
Enabling the Red Hat Satellite Tools 6.9 (for RHEL 7 Server - EUS) (RPMs) (rhel-7-server-eus-satellite-tools-6.9-rpms) repository for RHEL 7.7 fails with error:
'The path /content/eus/rhel/server/7/7.7/x86_64/sat-tools/6.9/os does not seem to be a valid repository. If you think this is an error, please try refreshing your manifest.'

- Refreshing the manifest does not make a difference.
- Enabling the same repository for RHEL 7.6 EUS works fine.

Version-Release number of selected component (if applicable):
Satellite 6.9.2

How reproducible:
Fully

Steps to Reproduce:
1. In Satellite UI, navigate to Content -> Red Hat Repositories
2. Search for 'rhel-7-server-eus-satellite-tools-6.9-rpms'
3. Expand 'Red Hat Satellite Tools 6.9 (for RHEL 7 Server - EUS) (RPMs)' then click the + sign next to 'x86_64 7.7'

Actual Results:
Repository is not enabled.
/var/log/foreman/production.log displays error below followed by a trace (attached).
2021-07-01T10:37:35 [E|app|] No valid metadata files found for /content/eus/rhel/server/7/7.7/x86_64/sat-tools/6.9/os
2021-07-01T10:37:35 [E|bac|] The path /content/eus/rhel/server/7/7.7/x86_64/sat-tools/6.9/os does not seem to be a valid repository. If you think this is an error, please try refreshing your manifest. (Katello::Errors::CdnSubstitutionError)
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.27/app/lib/katello/util/cdn_var_substitutor.rb:45:in `validate_substitutions'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.27/app/models/katello/candlepin/repository_mapper.rb:48:in `validate!'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.27/app/lib/actions/katello/repository_set/enable_repository.rb:13:in `plan'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:514:in `block (3 levels) in execute_plan'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:36:in `plan'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:36:in `plan'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_request_id.rb:10:in `block in plan'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_request_id.rb:31:in `with_current_request_id'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_request_id.rb:9:in `plan'
[truncated]

Expected results:
- Repository for RHEL 7.7 should be enabled.

Additional info:
- The rhel-7-server-eus-satellite-tools-6.9-rpms repository is listed in the Satellite 6.9 documentation.
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.9/html/release_notes/cdn_repositories

Comment 4 Frank DiPrete 2021-07-01 20:33:12 UTC
content is now present on cdn-live

Comment 5 Sam Wachira 2021-07-01 20:47:15 UTC
Thanks Frank.
I can now enable the repo in my Satellite 6.9 instance and the error is no longer displayed.

Comment 6 Danny Synk 2021-07-06 17:54:19 UTC
Steps to Test:
1. On Satellite 6.10, snap 7, add a subscription to the manifest that provides RHEL EUS.
2. Attempt to enable and synchronize the "Red Hat Satellite Tools 6.9 for RHEL 7 Server - EUS RPMs x86_64 7.7" repository.

Expected Results:
The repo can be successfully enabled and synchronized.

Actual Resutls:
The repo can be successfully enabled and synchronized.

Verified on Satellite 6.10, snap 7 (candlepin-4.0.5-1.el7sat.noarch). However, since the problem was caused by content being absent from the Red Hat CDN, this issue should now be resolved for all versions of Satellite 6.

Comment 10 errata-xmlrpc 2021-11-16 14:12:20 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


Note You need to log in before you can comment on or make changes to this bug.