Bug 1921522
| Summary: | Global Registration: Registration fails when Remote execution interface specified for non-rhel system | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Ashfaqur Rahaman <arahaman> |
| Component: | Registration | Assignee: | Leos Stejskal <lstejska> |
| Status: | CLOSED ERRATA | QA Contact: | Stephen Wadeley <swadeley> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | CC: | ahumbe, lstejska |
| Target Milestone: | 6.10.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 14:09:54 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
Ashfaqur Rahaman
2021-01-28 05:53:04 UTC
// RHEL REGISTRATION : ------ root@rhel7 ~]# curl -X GET --insecure "https://sat69.apac-mps.anzlab.bne.redhat.com:9090/register?activation_key=ak1&location_id=2&operatingsystem_id=1&organization_id=1&remote_execution_interface=ens33&setup_insights=false" -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE2MTE4MTI0NzAsImp0aSI6Ijc5NDBlOTEzODczNmFhNDJiOTM2NDhlOGI3NmNlMmU2NjUyZjBhZjMyYjA5ZGM4MGZkZWZkNjczMDI5MmI3YjYiLCJleHAiOjE2MTE4MjY4NzB9.H9kMSti3PDNhVlYZ4yaIO59UdqZqWehn3G01y-nR7vU' | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10556 100 10556 0 0 14838 0 --:--:-- --:--:-- --:--:-- 14825 # # Running registration # % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8624 100 8624 0 0 243k 0 --:--:-- --:--:-- --:--:-- 247k Loaded plugins: langpacks, 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.kGGNKZlSqd.rpm: katello-ca-consumer-sat69.apac-mps.anzlab.bne.redhat.com-1.0-1.noarch /tmp/tmp.kGGNKZlSqd.rpm: does not update installed package. Nothing to do The system has been registered with ID: aa7623a7-ba66-40fb-951a-5cafd6da17bd The registered system name is: rhel7 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10680 100 10541 100 139 10786 142 --:--:-- --:--:-- --:--:-- 10778 /usr/sbin/restorecon % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 27 100 27 0 0 130 0 --:--:-- --:--:-- --:--:-- 131 Successfully enrolled host rhel7 with Foreman. ------ // UBUNTU REGISTRATION: ------- # curl -X GET --insecure "https://sat69.apac-mps.anzlab.bne.redhat.com:9090/register?location_id=2&operatingsystem_id=2&organization_id=1&remote_execution_interface=ens33" -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE2MTE4MTE5MzksImp0aSI6ImUwN2VjYmYxNjM5NGJmODliYjAzYjNlODFkMGNhM2Q4NjcxOTZkYjBkMGI5NDA3MWU5ZDlhNDkyYjMyZTIxOTMiLCJleHAiOjE2MTE4MjYzMzl9.bxJM0PViIya2DnA2-QSdg2ZRt3PWqLWSreYH2jzjtzg' | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10469 100 10469 0 0 18965 0 --:--:-- --:--:-- --:--:-- 18965 # # Running registration # % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 423 100 258 100 165 595 381 --:--:-- --:--:-- --:--:-- 976 ERROR: not_found Interface with the 'ens33' identifier was specified as a remote execution interface, however the interface was not found on the host. If the interface exists, it needs to be created in Foreman during the registration. ------- // FEDORA REGISTRATION: -------- # curl -X GET --insecure "https://sat69.apac-mps.anzlab.bne.redhat.com:9090/register?location_id=2&operatingsystem_id=3&organization_id=1&remote_execution_interface=ens33" -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE2MTE4MTIwMTEsImp0aSI6IjI3OGU1OTRiYThjN2IyZmExYTM1Y2NiZDMyMzJkOGI3NGVkY2JmYzY2YmI4NDgzYjQwYTg4MjYzY2Q5ZDQ3MGMiLCJleHAiOjE2MTE4MjY0MTF9.O19gvOfdeI7y-DZ_xxn4PUkGc2ORafaaYWRZ3scujTY' | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10469 100 10469 0 0 19752 0 --:--:-- --:--:-- --:--:-- 19715 # # Running registration # % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 421 100 258 100 163 564 356 --:--:-- --:--:-- --:--:-- 921 ERROR: not_found Interface with the 'ens33' identifier was specified as a remote execution interface, however the interface was not found on the host. If the interface exists, it needs to be created in Foreman during the registration. -------- Created redmine issue https://projects.theforeman.org/issues/31850 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31850 has been resolved. 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 |