Bug 2047675
Summary: | Getting "404 not found" when publishing a content view | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> | |
Component: | Content Views | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 6.10.0 | CC: | aeladawy, jsherril, kkinge, myoder, nshaik, pcreech, pdudley, peter.vreman, pmoravec, rcavalca, risantam, sadas, saydas, vdeshpan, wdr | |
Target Milestone: | 6.11.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | tfm-rubygem-katello-4.3.0.3-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2059379 (view as bug list) | Environment: | ||
Last Closed: | 2022-07-05 14:32:26 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
Hao Chang Yu
2022-01-28 09:36:31 UTC
I think i hit this issue also The first weeks after migration the sat6.10+pulp3 was running fine. But now i updated content and published new CVs and updated the CCVs the CCV publishing is broken and if the tasks somehow finished the clients only get 404 to retrieve the metadata. I do not delete CCVs as a whole. Instead if i have published+promoted CCV-versions then the old versions are nicely cleaned-up if they area not assigned to a LE anymore. *** Bug 2049195 has been marked as a duplicate of this bug. *** Closing bz 2049195 as a duplicate of this, just noting here that the correct_repostories rake does not solve this issue. As noted there, this rake will clear the repos in foreman that are no longer in Pulp: ~~~ foreman-rake console << EORAKE Katello::Pulp3::RepositoryReference.all.select do |ref| api = Katello::RepositoryTypeManager.repository_types[ref.root_repository.content_type].pulp3_api_class.new(SmartProxy.pulp_primary) api.repositories_api.read(ref.repository_href) rescue => e if e&.code == 404 ref.destroy end end EORAKE ~~~ Created redmine issue https://projects.theforeman.org/issues/34436 from this bug I followed the steps outside in the description of the bz for verification. After upgrade and deleting a ccv, I was able to publish the cv that was in the ccv and it was able to publish successfully. Verified on 7.0 snap 11 with tfm-rubygem-katello-4.3.0.7-1.el7sat.noarch. This was tested on rhel7.9. Can't test this on a rhel8.5 system because sat6.9 is only on rhel7. 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.11 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:5498 *** Bug 2079460 has been marked as a duplicate of this bug. *** |