foreman icon indicating copy to clipboard operation
foreman copied to clipboard

Fixes #37499 - clean up unmanaged repositories during host registration

Open sbernhard opened this issue 1 year ago • 2 comments

sbernhard avatar May 23 '24 10:05 sbernhard

What are your thoughts about this PR @nofaralfasi / @ares? / @stejskalleos Is this something interesting?

If this is something we want, I would suggest to add a GUI to enable/disable cleaning the not managed repositories.

The clean_unmanaged_repositories snippet could be used during usual host provisioning, too.

sbernhard avatar Jun 11 '24 16:06 sbernhard

We already have something in the core: f884bab

The mentioned PR is about removing the repositories which were added during provisioning.

This PR is about removing all repositories which are configured on a host and are not managed by subscription manager. If a host is configured to consume the repositories from foreman/katello and therefore has a subscription-manager registration, we expect to have all repositories maintained by foreman/katello. There should not be any other repository besides the repositories from sub-man.

sbernhard avatar Jun 13 '24 07:06 sbernhard

Thank you for your contribution! This PR has been inactive for 3 months, closing for now. Feel free to reopen when you return to it. This is an automated process.

github-actions[bot] avatar Sep 24 '24 02:09 github-actions[bot]