Project

General

Profile

Bug #29122

deleting a content view should delete all pulp3 repositories associated with it in pulp3

Added by Justin Sherrill 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When we delete a CVV we only delete the repository versions, as expected. But nothing is there to clean up the actual repositories when a CV is deleted


Related issues

Blocks Katello - Tracker #26987: Pulp3 Main trackerNew

Associated revisions

Revision 665d679c (diff)
Added by Justin Sherrill 3 months ago

Fixes #29122 - Correct CV deletion behavior for pulp3

This fixes three situations:

  • Deleting a CVV would delete the pulp3 repository, deleting repo
    versions across all CVVs in that content view
  • Deleting a CV would NOT delete the pulp3 repository, when it should
  • Removing a CVV from a Lifecycle Env would not properly delete the
    distribution
  • If you deleted a CVV, that had re-used the version_href and
    publication_href from a Library repo, it would delete the library
    repo's pulp3 repo version (and thus its publication too).

History

#1 Updated by Justin Sherrill 3 months ago

#2 Updated by Justin Sherrill 3 months ago

  • Target version set to Katello 3.15.0

#3 Updated by James Jeffers 3 months ago

  • Triaged changed from No to Yes

#4 Updated by The Foreman Bot 3 months ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8594 added

#5 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 3.16.0 added

#6 Updated by Justin Sherrill 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF