Bug 2064979
Summary: | Clients can't subscribe to or enable Red Hat repositories after renewing subscriptions | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> | |
Component: | Candlepin | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED ERRATA | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.10.3 | CC: | ahumbe, alsouza, ashipati, dhjoshi, JONATHAN.SATTELBERGER, jpasqual, kkinge, msunil, nmoumoul, pbadguja, redakkan, risantam, rrajput, satellite6-bugs, saydas, smajumda, wclark, wpinheir, zhunting | |
Target Milestone: | 6.12.0 | Keywords: | PrioBumpGSS, Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | candlepin-4.0.19-1, candlepin-4.1.14-1, candlepin-4.2.3-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2068122 2069160 2069165 2112400 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-16 13:33:45 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: | ||||
Bug Depends On: | 2068122, 2069160, 2069165 | |||
Bug Blocks: |
Description
Hao Chang Yu
2022-03-17 02:46:13 UTC
The workaround of this issue is: Steps: 1) Complete resync all Redhat repositories. 2) Publish new version and promote all content views. 3) Publish new version and promote all composite content views if any. Steps to Retest: 1. Have a valid manifest imported to the Satellite. Enable and sync some Redhat repositories. Create some custom repositories. Create one or more content views and attach some repositories. 2. Go to Web UI -> Content -> Subscriptions -> Manage Manifest -> click the "Subscription Allocation" link to go to the Customer Portal page. 3. In the Customer Portal, delete all subscriptions allocated to the manifest. 4. Then refresh the manifest using the Satellite Web UI. 5. Run grep for "Removing owner-content references for owner" on /var/log/candlepin/candlepin.log 6. Run su - postgres -c "psql candlepin -c \"select e.name, c.contenturl, c.vendor, c.label from cp2_environment_content ec left join cp_environment e on e.id = ec.environment_id left join cp2_content c on c.uuid = content_uuid order by e.name, c.vendor, c.label;\"" Expected result: 5. Should return empty 6. Should return only the number of repos that was synced and added to cv Actual: 5. Did return empty 6. Did return only the number of repos that was synced and added to cv I also did manifest refresh a few times to ensure the error didn't occur anymore. Everything seems to check out ok. Verified on 6.12 snap 4 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 |