-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
6.11.0
1. Proposed title of this feature request
To display the total size of a yum\docker\iso\file\custom repository in Satellite GUI after syncing them.
2. What is the nature and description of the request?
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>
3. Why does the customer need this? (List the business requirements here)
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.
4. How would the customer like to achieve this? (List the functional requirements here)
- From Satellite UI --> Content --> Sync Status --> Expand All,
- Select few repos and sync them
- Come back to the Content --> Products page, go into a product and then check the details of synced repositories where the Total Size (and if possible Consumer size) will be displayed.
5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
- From Satellite UI --> Content --> Sync Status --> Expand All,
- Select few repos and sync them
- Come back to the Content --> Products page, go into a product, and then check the details of synced repositories where the Total Size (and if possible Consumer size) will be displayed.
6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
NA
7. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
Suggested in Satellite 6.10 or Satellite 7.0
8. Is the sales team involved in this request and do they have any additional input?
No.
9. List any affected packages or components.
katello
pulp
10. Would the customer be able to assist in testing this functionality if implemented?
NA at this moment but the support delivery team can