Bug 1975095 - [global registration] - RHEL8 re-registration error shows the information about foreman rather satellite
Summary: [global registration] - RHEL8 re-registration error shows the information abo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.10.0
Hardware: All
OS: All
low
low
Target Milestone: 6.10.0
Assignee: Leos Stejskal
QA Contact: Omkar Khatavkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-23 06:31 UTC by Omkar Khatavkar
Modified: 2021-11-16 14:12 UTC (History)
2 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:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33031 0 Low New [global registration] - RHEL8 re-registration error shows the information about foreman rather satellite 2021-07-15 13:32:54 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:12:10 UTC

Description Omkar Khatavkar 2021-06-23 06:31:31 UTC
Description of problem:
[global registration] - RHEL8 re-registration error shows the information about foreman rather satellite  

Version-Release number of selected component (if applicable):
6.10 Snap 5

How reproducible:
always 

Steps to Reproduce:
1. Reregister the RHEL8 machine more than 2 times 
2.
3.

Actual results:
Currently getting an error related Foreman rather Satellite 

Expected results:
The satellite should get registered without any error related to the registration


Additional info:

Error Details 

"Updating Subscription Management repositories.		
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                   930  B/s | 438  B     00:00		
Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-rpms':		
- Status code: 403 for https://cdn.redhat.com/Default_Organization/Library/rhel8_content__view/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 23.222.172.83)		
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried		
Unregistering from: subscription.rhsm.redhat.com:443/subscription		
Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.		
Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.		
ERROR: not_found		
Host was not found by the subscription UUID: '', this can happen if the host is registered already, but not to this Foreman		"

Comment 1 Marek Hulan 2021-07-14 15:29:54 UTC
This is a content of a template, it will be hard to brand. Perhaps we could replace the `Foreman` with `target` as the target can be also CDN/RHN or Sat5

Comment 2 Leos Stejskal 2021-07-15 13:32:52 UTC
Created redmine issue https://projects.theforeman.org/issues/33031 from this bug

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

Comment 9 errata-xmlrpc 2021-11-16 14:12:00 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.