Bug #36538
closedRemoving manifest referenced by tag doesn't remove it from pulp but deletes it from katello
Description
We allow deletions of Manifests from repository in Katello today if it is not part of any manifest lists. However, if a manifest has a tag, we allow users to delete it from the UI. Probably from API and hammer too.
Pulp skips deletion of Manifests with tags which leaves Katello DB out of sync with pulp when such manifests are removed.
Proposed solution:
We should not allow deletion of Manifests in Katello which are referenced by tags. Alternatively, we should delete the tag for the manifest in pulp. However it should be clearly specified to user that the operation will delete more than what's selected on the UI if we do so.
Alternatively, we can disallow deletion of manifests that are tagged like Pulp does. Follow the same pattern as manifests that are part of manifest lists.
Updated by Samir Jha over 1 year ago
- Target version set to Katello 4.10.0
- Triaged changed from No to Yes
Updated by Samir Jha over 1 year ago
- Category changed from Container to Repositories
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10711 added
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/Katello/katello/pull/10712 added
Updated by Samir Jha about 1 year ago
- Pull request deleted (
https://github.com/Katello/katello/pull/10712)
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases Katello 4.11.0 added
Updated by Samir Jha about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|cfc586c01d735d5e822139eade23bfc8d589e1c9.
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/Katello/katello/pull/10759 added
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases Katello 4.10.0 added