Project

General

Profile

Bug #17620

Content View Puppet repo not deleted from puppet master

Added by Brad Buckingham over 2 years ago. Updated 11 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

When a Content View is removed from a lifecycle environment the published puppet repo is not deleted from the puppet master (/etc/puppet/environments directory)

Steps to Reproduce:
1. Create Content View
2. Add Puppet module
3. Publish Content View
4. Remove Content View From Environment Library
5. List the /etc/puppet/environments directory on the puppet master(s)

Actual results:
/etc/puppet/environments still contains a directory for the Content View

Expected results:
Directory of the Content View is deleted from /etc/puppet/environments

Additional notes:

It appears the pulp install distributor is not cleaning up after itself.

Fixing this issue will require modifications to both pulp and katello.

History

#1 Updated by Brian Bouterse over 2 years ago

  • Subject changed from Content View Puppet repo not deleted from puppet master to Content View Puppet repo not deleted from puppet master

The associate Pulp feature adds an option which will allow you to have Pulp handle the directory cleanup on deletion. Once that issue is done Katello will need to use that option when creating the puppet_install_distributors.

https://pulp.plan.io/issues/2108

#2 Updated by Justin Sherrill over 2 years ago

  • Legacy Backlogs Release (now unused) set to 211
  • Difficulty set to easy

#3 Updated by Justin Sherrill over 2 years ago

Required work for this bug:

  • Updating the puppet_install_distributor to use the new option as detailed in https://pulp.plan.io/issues/2108 for existing repos on upgrade
  • Removal of the cron job from katello-packaging which deletes these directories today

#4 Updated by Justin Sherrill over 2 years ago

  • Legacy Backlogs Release (now unused) changed from 211 to 114

Also available in: Atom PDF