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 2106750 - foreman-maintain repositories-setup check fails to setup satellite-maintenance beta repository for RHEL8
Summary: foreman-maintain repositories-setup check fails to setup satellite-maintenanc...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.12.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-13 13:08 UTC by Gaurav Talreja
Modified: 2022-11-28 10:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-21 02:47:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-14061 0 None None None 2022-11-28 10:19:55 UTC

Description Gaurav Talreja 2022-07-13 13:08:07 UTC
Description of problem:
foreman-maintain repositories-setup check fails to setup satellite-maintenance beta repository for RHEL8, where it successfully enables "satellite-6-beta-for-rhel-8-x86_64-rpms"

Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-1.1.1-3.el8sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Attach "Red Hat Satellite Employee Subscription" required for satellite-maintenance beta repository, along with 
2. # export FOREMAN_MAINTAIN_USE_BETA=1
3. # satellite-maintain advanced procedure run repositories-setup --version 6.11
Running ForemanMaintain::Scenario
================================================================================
Setup repositories:
/ Configuring repositories for 6.11                                   [FAIL]
Failed executing subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms --enable=satellite-6-beta-for-rhel-8-x86_64-rpms --enable=satellite-maintenance-6-beta-for-rhel-8-x86_64-rpms --enable=ansible-2.9-for-rhel-8-x86_64-rpms, exit status 1:
 Error: 'satellite-maintenance-6-beta-for-rhel-8-x86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
Repository 'rhel-8-for-x86_64-baseos-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-appstream-rpms' is enabled for this system.
Repository 'satellite-6-beta-for-rhel-8-x86_64-rpms' is enabled for this system.
Repository 'ansible-2.9-for-rhel-8-x86_64-rpms' is enabled for this system.
--------------------------------------------------------------------------------
Scenario [ForemanMaintain::Scenario] failed.

The following steps ended up in failing state:

  [repositories-setup]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="repositories-setup"


Actual results:
Fails to enable repo 'satellite-maintenance-6-beta-for-rhel-8-x86_64-rpms', which isn't available in CDN

Expected results:
'satellite-maintenance-6-beta-for-rhel-8-x86_64-rpms' should be available as similar to 'satellite-6-beta-for-rhel-8-x86_64-rpms' 

Additional info:

Comment 1 Eric Helms 2022-07-21 02:47:07 UTC
There are no beta repositories for Satellite 6.11 and the satellite-maintenance-6 repository is not used with 6.11.


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