Bug 1716405
Summary: | Make "capsule_remove_unneeded_repos" tolerant of single capsule failure | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Dylan Gross <dgross> |
Component: | Capsule - Content | Assignee: | Samir Jha <sajha> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5.0 | CC: | pcreech, sajha |
Target Milestone: | 6.6.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-3.12.0.7-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 19:51:07 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
Dylan Gross
2019-06-03 12:43:21 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27169 has been resolved. VERIFIED. @Satellite 6.6.0 Snap23 tfm-rubygem-katello-3.12.0.26-1.el7sat.noarch by the following manual reproducer: 1) Have a Satellite with 2 external capsules assigned to the Library 2) Sync some decent repo to both capsules and check for content at capsules: # pulp-admin rpm repo list | grep -e Name: -e Rpm: Display Name: Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server Rpm: 26313 Display Name: RHEL 7.7 Rpm: 5225 3) Remove Library from both capsules 4) Make sure capsule #2 is destined to fail # service pulp_workers stop Redirecting to /bin/systemctl stop pulp_workers.service 5) Run weekly clean up task manually # foreman-rake katello:delete_orphaned_content Orphaned content deletion started in background. Orphaned content deletion started in background. Orphaned content deletion started in background. >>> content deletion tasks is now generated per each capsule 6) At capsule #1 check that clean up succeded # pulp-admin rpm repo list | grep -e Name: -e Rpm: <empty> >>> only task for broken capsule is failing while for other capsules cleanup succeeds 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:3172 |