Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Improve katello-remove to preserve pulp repos? #247

Open
CalvinHartwell opened this issue Jun 26, 2016 · 2 comments
Open

Improve katello-remove to preserve pulp repos? #247

CalvinHartwell opened this issue Jun 26, 2016 · 2 comments

Comments

@CalvinHartwell
Copy link

CalvinHartwell commented Jun 26, 2016

Hey all,
I've had a couple of issues over the last year with Satellite 6 which have required the use of katello-remove. When you do this however, it removes all of repositories (and perhaps other content) which pulp has synchronized (sometimes several hundred gig).

My suggestion is that an option is added to katello-remove which allows the user to preserve the pulp repositories (and RPMS) but removes everything else, so the user does not need to resync everything when they re-run the installer?

How does this suggestion sound? Obviously this will involve preserving the mongo database as well. My suggestion is to basically make this an optional option.

Cheers,

  • Calvin
@ehelms
Copy link
Member

ehelms commented Aug 26, 2016

I think this makes sense @CalvinHartwell. The mongodb would need to still be wiped because all of the repositories are also being removed from Katello so the "structure" of repositories wouldn't make sense anymore. However, as you say, persisting the content on disk would speed up a rebuild.

For better visibility, I would recommend re-filling this issue here [1].

[1] http://projects.theforeman.org/projects/katello/issues/new

@chris1984
Copy link
Member

@CalvinHartwell did you create a redmine issue, I can add it to the next sprint since i have been doing a lot of work with katello/capsule remove.

  • Chris

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants