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 2096429 - Global Registration will fail if use a different language
Summary: Global Registration will fail if use a different language
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.12.0
Assignee: Aldrey Souza
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-13 19:24 UTC by Aldrey Souza
Modified: 2023-05-16 11:53 UTC (History)
5 users (show)

Fixed In Version: foreman-3.3.0.8-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:34:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35051 0 Normal New Global Registration, if you use another LANG like pt_BR.UTF-8, it will broken the UUID 2022-06-13 19:29:44 UTC
Github theforeman foreman pull 9347 0 None Merged Fixes #35051 - Registration - always use LC_ALL=C LANG=C 2022-08-29 11:17:26 UTC
Red Hat Issue Tracker SAT-12552 0 None None None 2022-08-29 11:31:08 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:34:24 UTC

Description Aldrey Souza 2022-06-13 19:24:42 UTC
Description of problem:
When the language provide the output different of 'string string: UUID', break the global registration.

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


How reproducible:

Steps to Reproduce:
1. [Client] Set the LANG:
 # export LANG=pt_BR.UTF-8

2. [Satellite] Create the Global Registration.

3. [Client] Run the curl with Global Registration

Actual results:
Concluído!
O sistema foi registrado com ID: d6be7dc5-ae0d-4018-9dd8-fcf1ff39dce9
O nome do sistema registrado é: dhcp182-113.gsslab.rdu2.redhat.com
Estado Atual do Produto Instalado:
Nome do Produto: Red Hat Enterprise Linux for x86_64
Estado:          Subscrito

ERROR: not_found
Host was not found by the subscription UUID: 'sistema:', this can happen if the host is registered already, but not to this instance

Expected results:
Run the global registration without error


Additional info:
The Global Registration has the code below:
~~~
UUID=$(subscription-manager identity | head -1 | awk '{print $3}')
~~~

# subscription-manager identity | head -1 
~~~
identidade do sistema: d6be7dc5-ae0d-4018-9dd8-fcf1ff39dce9
~~~

Comment 4 Sam Bible 2022-09-25 23:45:57 UTC
Version-Release number of selected component (if applicable):
6.12.0 - 11

Steps to Verify:
1. Set lang on host to pt_BR.UTF-8
2. Register host using Global Registration on Satellite

Expected results:
No issues with registration

Actual results:
No issues with registration

Comment 8 errata-xmlrpc 2022-11-16 13:34:13 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 (Important: Satellite 6.12 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-2022:8506


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