Bug 2071097

Summary: [RFE] Restore package counts for capsule syncs
Product: Red Hat Satellite Reporter: Jessica Richards <jrichards2>
Component: Capsule - ContentAssignee: Samir Jha <sajha>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: low Docs Contact:
Priority: low    
Version: 6.10.0CC: ahumbe, aruzicka, cylopez, dsinglet, inecas, jhanley, mkalyat, rlavi, sajha, sbible, vdeshpan
Target Milestone: 6.15.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:12:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jessica Richards 2022-04-01 19:27:47 UTC
1. Proposed title of this feature request

[RFE] Restore package counts for capsule syncs

3. What is the nature and description of the request?

In previous versions of Red Hat Satellite, the customer was able to go to Infrastructure > Capsules > [capsuleName] > Content and inspect the package counts of the completed capsule syncs.  They used this information to verify that all of their capsules had properly synced their content, and when they saw discrepancies, they manually re-synced them to correct them (see open bugzilla 1982894 for more details on the discrepancy issue).

In Satellite 6.10, they can no longer inspect those counts for discrepancies, and they would like to be able to do so.

4. Why does the customer need this? (List the business requirements here)

The customer is concerned that capsule syncs do not always properly sync their content.  No root cause has been identified, so they need a manual way to detect and cope with that issue.

5. How would the customer like to achieve this? (List the functional requirements here)

Replace the checkmark icon with the number of packages synced in Infrastructure > Capsules > [capsuleName] > Content, such that it looks the same as it did in previous versions of Satellite.

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

- perform a capsule sync
- click on Infrastructure > Capsules > [capsuleName] > Content
- observe the numbers

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

no, but the change made in 6.10 makes it impossible to determine whether or not the issue in bugzilla 1982894 was resolved by the migration to pulp3.

8. Does the customer have any specific time-line dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

no

9. Is the sales team involved in this request and do they have any additional input?

no

10. List any affected packages or components.

pulp, foreman

11. Would the customer be able to assist in testing this functionality if implemented?

yes

Comment 2 Brad Buckingham 2023-01-10 20:34:55 UTC
*** Bug 2159648 has been marked as a duplicate of this bug. ***

Comment 7 Ron Lavi 2023-07-10 12:52:33 UTC
*** Bug 2221490 has been marked as a duplicate of this bug. ***

Comment 8 Ron Lavi 2023-07-10 12:55:19 UTC
When fixing this, we should make sure that the hammer output will work as it used to:

==========
[root@satellite /]#  hammer capsule content info --name satellite.example.com --fields "Lifecycle Environments/Name","Lifecycle Environments/Organization","Lifecycle Environments/Content Views/Name","Lifecycle Environments/Content Views/Last Published","Lifecycle Environments/Content Views/Content/Packages","Lifecycle Environments/Content Views/Content/Package groups","Lifecycle Environments/Content Views/Content/Errata"|grep -A5 rhel8-patch|sed -n '8,13p'
     3) Name:           rhel8-patch-cv
        Last Published: 2022/05/11 04:30:08
        Content:
            Packages:       28144  ===========================> this info is missing in satellite 6.11
            Package groups: 93  ===========================> this info is missing in satellite 6.11
            Errata:         2543         ===========================> this info is missing in satellite 6.11
===========

Comment 9 Brad Buckingham 2023-10-30 11:29:29 UTC
Bulk setting Target Milestone = 6.15.0 where sat-6.15.0+ is set.

Comment 10 Sam Bible 2024-01-24 23:41:41 UTC
Verified on 6.15

This was tested and automated as part of 6.15 feature work, and has consistent passing results.

Comment 13 errata-xmlrpc 2024-04-23 17:12:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.15.0 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:2010