Bug 1601762
Summary: | accessing subscription.rhn.redhat.com unexpectedly | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Masatake YAMATO <yamato> |
Component: | Subscription Management | Assignee: | Michael Johnson <micjohns> |
Status: | CLOSED ERRATA | QA Contact: | jcallaha |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.1 | CC: | cdonnell, jturel, micjohns, mshimura, pcreech |
Target Milestone: | 6.5.0 | Keywords: | EasyFix, Patch, 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: | 2019-05-14 12:37:37 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
Masatake YAMATO
2018-07-17 08:04:53 UTC
The docs here are correct on the addresses. The code pointed out indeed is pointing at the older address for subscription data and should be updated to point at subscription.rhsm.redhat.com. (Based on the patch in comment #0.) Thanks. Changing the URL in Katello is not the ultimate fix. As the code shows, we only fall back to the hard-coded value when we don't get one from the manifest (upstream['apiUrl']). If the user has an older manifest - not downloaded from the Portal in the last few weeks (this was a recent change) - they will get the old URL (subscription.rhn.redhat.com) within the manifest. Downloading a new manifest today will ensure the user gets the new url (subscription.rhsm.redhat.com) and they'll be in agreement with the documentation. That said - katello still needs to be fixed. Created redmine issue https://projects.theforeman.org/issues/24675 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24675 has been resolved. Verified in Satellite 6.5.0 Snap 15. Followed the steps outlined in the description. Uploaded a manifest from 2017 and the refresh completed without any issues. -bash-4.2# hammer -v subscription refresh-manifest --organization-id 1 [.............................................................] [100%] -bash-4.2# Additionally, I had no issues enabling and syncing repositories from the cdn. 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, 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-2019:1222 |