Bug 2112368
| Summary: | Remove orphans task going to the paused state with error "Cannot delete some instances of model 'Repository' because they are referenced through protected foreign keys" on Red Hat Satellite 6.11 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Odilon Sousa <osousa> |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.11.0 | CC: | ahumbe, dalley, dkliban, ggainey, JONATHAN.SATTELBERGER, osousa, rchan, saydas |
| Target Milestone: | 6.11.2 | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-pulpcore-python-pulp-rpm-3.17.7-2.el7pc | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2109254 | Environment: | |
| Last Closed: | 2022-08-30 19:43:07 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
Odilon Sousa
2022-07-29 14:05:55 UTC
Steps to retest: 1. Enable and sync repositories on the Satellite server. 2. Sync Library env with Capsule server. 2. Remove some of the synced repositories. 3. Run orphan cleanup command foreman-rake katello:delete_orphaned_content RAILS_ENV=production Expected: Orphan cleanup should finish successfully Actual: Orphan cleanup finishes successfully Verified on 6.11.2 snap 1 with python38-pulp-rpm-3.17.7-2.el8pc.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.11.2 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-2022:6233 |