Project

Profile

Help

Story #1469

closed

As a user I would like to know how much free space there is through the status API

Added by shlomizadok over 8 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

As a user, I would like an API to check how much free space there is on `/var/lib/pulp`
It could later be expanded to notification when running out of space.


Related issues

Related to Pulp - Story #1634: As a user, I trust Pulp to refuse to sync if the filesystem can't hold all of the synced filesCLOSED - WONTFIX

Actions
Actions #1

Updated by bmbouter over 8 years ago

  • Subject changed from As a user I would like to know how much free space there is on my pulp (node) to As a user I would like to know how much free space there is through the status API

Can you provide an example of how the JSON response would look? This should build off of the sample response shown in the docs [0].

The /var/lib/pulp/ folder is likely they point you'll want to monitor. The Pulp API webservers are expected to have access to that so you can have the webserver check the filesystem during the request to /status/. FYI, the handler for that call is here [1], which is likely where most of your implementation will go.

What mechanism will you use to determine the current size used?
What mechanism will you use to determine the maximum size?

Also consider monitoring for inode data also since we've had a lot of problems with users running out of those also.

[0]: http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/status.html
[1]: https://github.com/pulp/pulp/blob/aa1841a075ab1f34c84c080ae0ba34d68b313619/server/pulp/server/webservices/views/status.py#L16

Actions #2

Updated by bmbouter about 8 years ago

  • Related to Story #1634: As a user, I trust Pulp to refuse to sync if the filesystem can't hold all of the synced files added
Actions #3

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #4

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #5

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added
Actions #6

Updated by bmbouter almost 4 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF