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 1924863 - Global Registration: Getting error while registering a client to satellite even though the client is getting registered properly on satellite.
Summary: Global Registration: Getting error while registering a client to satellite ev...
Keywords:
Status: CLOSED DUPLICATE of bug 1920231
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.9.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 18:57 UTC by raju kumar
Modified: 2021-02-05 13:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-05 13:25:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description raju kumar 2021-02-03 18:57:48 UTC
Description of problem:
Getting below error while registering a client to satellite using the global registration method even though the client is getting registered properly on satellite.

~~~
ERROR: Validation failed: Name can't be blank, Name hostname can contain only lowercase letters, numbers, dashes and dots according to RFC921, RFC952 and RFC1123
~~~

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

Satellite 6.9.0

How reproducible:
100%

Steps to Reproduce:
1.Generate curl command using Global registration method and execute it on the client system to register it. Client gets registered to the satellite and reflects on the WebUI as well, however we get below error during the registration:

~~~
[root@rajukuma-rhel7 ~]# curl -X GET "https://rajukuma-rhsat.syslab.pnq2.redhat.com:9090/register?activation_key=Global-Key&location_id=2&operatingsystem_id=1&organization_id=1&setup_insights=false&setup_remote_execution=false" -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE2MTIzNzc0NTgsImp0aSI6ImI1OWE4MjAxMzUyMmU0ODJkNDkzZGQ4NzAzMzNmZTM3NzkzNTdkMmQ5MDIzOTQ0YWZjNGY1MDA2N2E0Zjc0YTYiLCJleHAiOjE2MTIzOTE4NTh9.JeAbsKHQSPkkPHqupFuvTxo81_GvoPwj3AMv3syTb5w' | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10544  100 10544    0     0  46307      0 --:--:-- --:--:-- --:--:-- 46449
#
# Running registration
#
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8612  100  8612    0     0  1411k      0 --:--:-- --:--:-- --:--:-- 1682k
Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Examining /tmp/tmp.TrtmpJySvg.rpm: katello-ca-consumer-rajukuma-rhsat.syslab.pnq2.redhat.com-1.0-1.noarch
/tmp/tmp.TrtmpJySvg.rpm: does not update installed package.
Nothing to do
The system has been registered with ID: c327ddb0-f733-4aca-95e9-61f0bdc81981
The registered system name is: rajukuma-rhel7
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Subscribed

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   270  100   177  100    93    876    460 --:--:-- --:--:-- --:--:--   880
ERROR: Validation failed: Name can't be blank, Name hostname can contain only lowercase letters, numbers, dashes and dots according to RFC921, RFC952 and RFC1123

~~~

Actual results: 



Expected results: Since registration is getting completed successfully, this error message should not be reflected.

Comment 1 Leos Stejskal 2021-02-05 13:25:52 UTC

*** This bug has been marked as a duplicate of bug 1920231 ***


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