Project

General

Profile

Feature #10245

Check Katello server Space

Added by Ignacio Bravo over 4 years ago. Updated 3 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

One morning I found out that my Katello server was not running. Looking at the logs, the message was that it couldn't connect to MongoDb. I tried restarting services and such without luck, until I discovered a Mongo log directory. The problem there was that Mongo was complaining of not having enough space to start.
Afterwards, I checked the space with 'df -h' and for sure, it was almost all gone.

I wanted to delete a couple of unused repos, but since Katello was down, the only option that I had was to add space to the server, and so I did.

Now, I am able to start katello and everything seems to be working correctly, but to avoid future issues, I want to delete some repos. Here comes the request:

Wouldn't it be nice to see the size that each Product takes? That would allow us to know if we can maintain the synch of that old repo that nobody uses, or if we need to delete it to free some space.

One alternative is to do 'du -hs /var/lib/pulp/rpm' to see the space that pulp is taking, but that seems to be organized by rpm rather than by Product.

Ideas?

History

#1 Updated by Eric Helms over 4 years ago

  • Triaged changed from No to Yes

#2 Updated by Eric Helms almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 114

#3 Updated by John Mitsch 3 months ago

  • Target version deleted (Katello Backlog)
  • Status changed from New to Rejected

Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.

Also available in: Atom PDF