-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.18.0
-
2
-
False
-
Artemis Prioritized Backlog
-
sat-artemis
-
None
-
None
-
None
-
None
With the new rolling CV feature, the errata_counts for Rolling CVV are reported correctly, but package_count , package_group_count, module_stream_count, and some others are always listed as 0.
The Rolling ContentView still functions as expected, but we request that the CVV representing the Rolling ContentView, reports correct content counts.
Also request but not critical for this issue, could the last_published time for the Rolling ContentView, be updated each time the repository content update is performed?
Currently, the last_published time will never change after creation of the Rolling ContentView.
Reproduce - Setup: some rolling cv created on satellite, one yum type repository added and synced.
Step 1: nav to the endpoint for the Rolling Content View
Step 2: nav to the endpoint for the Rolling Content View 's single listed Version
>>
{hostname}/katello/api/v2/content_views/131/{"content_host_count":0,"composite":false,"rolling":true,"component_ids":[],"duplicate_repositories_to_publish":[],"default":false,"version_count":1,"latest_version":"1.0","latest_version_id":131,"auto_publish":false,"solve_dependencies":false,
"import_only":false,"generated_for":"none","related_cv_count":0,"related_composite_cvs":[],"filtered":false,"needs_publish":false,
"repository_ids":[267],"id":131,"name":"ROyOqS","label":"ROyOqS","description":null,"organization_id":64,"organization":{"name":"AsMmZUXOpHr","label":"AsMmZUXOpHr","id":64},"created_at":"2025-09-03 13:15:54 -0400","updated_at":"2025-09-03 13:15:54 -0400",
"last_task":null,"latest_version_environments":[{"id":65,"name":"Library","label":"Library"}],"repositories":[{"id":267,"name":"lJmfzF","label":"lJmfzF","content_type":"yum"}],"versions":[{"id":131,"version":"1.0","published":"2025-09-03 13:15:54 -0400", "description":null,"environment_ids":[65],"filters_applied":null,"published_at_words":"28 minutes"}],"components":[],"content_view_components":[],
"activation_keys":[],"hosts":[],"next_version":"2.0","last_published":"2025-09-03 13:15:54 -0400","environments":[{"id":65,"label":"Library",
"name":"Library","activation_keys":[],"hosts":[],"permissions":{"readable":true}}],"errors":null}=64),
repository=[nailgun.entities.Repository(id=267)], rolling=True, solve_dependencies=False, version=[nailgun.entities.ContentViewVersion(id=131)], id=131) <<<--- VERSION (alias) where we request correct counts reflected
>> {hostname}
/katello/api/v2/content_view_versions/131/
{"version":"1.0","major":1,"minor":0,"composite_content_view_ids":[],
"published_in_composite_content_view_ids":[],"content_view_id":131,
"default":false,"description":null,"id":131,"name":"ROyOqS 1.0","created_at":"2025-09-03 13:15:54 -0400","updated_at":"2025-09-03 13:15:55 -0400",
"content_view":
,"composite_content_views":[],"composite_content_view_versions":[],
"published_in_composite_content_views":[],"content_view_environments":[
],"environments":[{"id":65,"name":"Library","label":"Library","publish_date":"about 2 hours",
"permissions":
,"host_count":0,"multi_env_host_count":0,
"activation_key_count":0,"multi_env_ak_count":0}],"repositories":[
],"last_event":null,"active_history:[],"ansible_collection_count":0,
"docker_manifest_count":0,"docker_manifest_list_count":0,"docker_tag_count":0,"file_count":0,"rpm_count":0,"modulemd_count":0,
"erratum_count":0,"package_group_count":0,"srpm_count":0,"module_stream_count":0,"package_count":0,"component_view_count":0,
"yum_repository_count":1,"ansible_collection_repository_count":0,"docker_repository_count":0,"file_repository_count":0,
"errata_counts":
,"permissions":
{"deletable":true},"filters_applied":null}
In the Version 's endpoint, we see the errata_counts are reported correctly for this single yum repo. But package_count is 0, we expected 10+.
Similarly, for repositories with package_groups or module_streams synced and added, the package_group_count and module_stream_count is still 0.
I have not yet tested every field with other repository types (docker, file, ansible_collection).
This would aid automation (https://github.com/SatelliteQE/robottelo/pull/19262), so we can assert the content counts are updated &correct for the rolling cv, after some repository content update was performed.