Project

General

Profile

Feature #32143

Feature request to display the total size of a yum\docker\iso\file\custom repository in GUI after syncing them.

Added by Sayan Das about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Satellite server should be able to show the total size of a repository [based on its metadata] after its sync has been completed. If the size of the repository changes after the second or third sync, that should be reflected and updated total size should be displayed in the UI.

Let's assume a scenario where a customer wants to enable 30+ repos and wants to sync all of their contents in Satellite while the download policy is set to immediate or the customer wants to do "Validate content sync" for 20+ yum repos.

They will literally have to guess how much disk space they would want to allocate to /var/lib/pulp to do so and sometimes they will end up adding either very less and way too much space in that FS.

The idea here is for the satellite to be able to calculate the total size of the repository from the PULP_MANIFEST or metadata stored and to display the same in the UI at the end of the sync where repository data will be present.

In that way, future planning can be done on how much space all the enabled repositories may consume when we decide the download all the content from them, and accordingly, one can get a near accurate value of disk space that can be allocated to /var/lib/pulp.

Also, It's not necessary to show the actual size as well i.e. what is the current size of the repo in filesystem based on actual content it has downloaded but if that can be calculated and displayed separately as well, it will turn out to be good info for the customer as well as the support team to rely on.

NOTE: I am well aware of the fact that some repos with different release versions i.e. 7.9 vs 7Server will have much identical content and hence I only wanted to calculate and show their expected total size.

History

#1 Updated by Ian Ballou about 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello Backlog

Hi Sayan,

We'll be putting this issue on the backlog and will be watching the BZ for further requests and updates.

Also available in: Atom PDF