Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: Global Registration will fail if use a different language
Product: Red Hat Satellite Reporter: Aldrey Souza <alsouza>
Component: RegistrationAssignee: Aldrey Souza <alsouza>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: lstejska, pcreech, rlavi, shwsingh, swadeley
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-3.3.0.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:34:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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