Bug 1951629
| Summary: | Registering new host or refreshing existing host using subscription manager failed with "400 - Bad Request" | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | James Jeffers <jjeffers> |
| Component: | Candlepin | Assignee: | Chris "Ceiu" Rog <crog> |
| Status: | CLOSED ERRATA | QA Contact: | Danny Synk <dsynk> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.9.0 | CC: | ableisch, ahumbe, ajambhul, aperotti, dgupte, dhjoshi, elavarde, emeroglu, jjeffers, jpasqual, jsenkyri, ktordeur, mmccune, msunil, nmoumoul, pcfe, pdwyer, pmendezh, pmoravec, robin.jonsson7, smeyer, vcojot, vijsingh, wpinheir |
| Target Milestone: | 6.9.1 | Keywords: | PrioBumpGSS, 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: | 1949353 | Environment: | |
| Last Closed: | 2021-04-26 17:36:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
James Jeffers
2021-04-20 15:16:39 UTC
Satellite 6.8 and 6.9 use the same version of Candlepin so the hotfix from the 6.8.z release is applicable here as well. *** Satellite 6.9.0 Hotfix Available *** 1) Download https://people.redhat.com/~mmccune/hotfix/candlepin-3.1.28-1.tar.gz to your Satellite 2) verify sha256 sum: # sha256sum candlepin-3.1.28-1.tar.gz 19d76bbe69b80d792214688b8595d8aa57ad273ef074af8b8552f91d3a2e1035 candlepin-3.1.28-1.tar.gz 3) stop services: satellite-maintain service stop 4) Install: tar xvf candlepin-3.1.28-1.tar.gz rpm -Uvh candlepin*.rpm 4) restart: satellite-maintain service start 5) resume operations Steps to test: - Deploy a Satellite 6.9.1 from the latest snap. - Upload a manifest with Simple Content Access enabled. - Synchronize two repositories. - Create a content view containing one repository and publish the first version. - Create an activation key associated with the content view. - Register a content host using the activation key. - Unregister the content host. - Add the second repository to the content view and publish a new version. - Re-register the content host using the activation key. Expected Results: The content host is successfully re-registered with no errors. `subscription-manager refresh` also runs without error. Actual Results: The content host is successfully re-registered with no errors. `subscription-manager refresh` also runs without error: ~~~ [root@dhcp-2-115 ~]# subscription-manager register --org "Default_Organization" --activationkey rhel8 The system has been registered with ID: 0de0d3fd-1c5d-4d74-a9cb-5ee4a0969343 The registered system name is: dhcp-2-115.vms.sat.rdu2.redhat.com [root@dhcp-2-115 ~]# subscription-manager refresh All local data refreshed ~~~ Verified on Satellite 6.9.1, snap 3 (candlepin-3.1.28-1.el7sat.noarch). 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 (Satellite 6.9.1 Async Bug Fix Update), 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/RHBA-2021:1371 |