Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1405351

Summary: spacewalk-report repositories containing CDN certs
Product: Red Hat Satellite 5 Reporter: Lukáš Hellebrandt <lhellebr>
Component: ServerAssignee: Gennadii Altukhov <galtukho>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: galtukho, mkorbel, pstudeni, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-reports-2.5.0-5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:09:22 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:
Bug Depends On:    
Bug Blocks: 1340444    

Description Lukáš Hellebrandt 2016-12-16 09:34:00 UTC
Description of problem:
The 'spacewalk-report repositories' output contains A LOT of certificates. Additionally, the same cert is there many times because it is the same for the CDN channels. The result is a file with 400MB and 6 million rows for a satellite with only CDN repos.

How reproducible:
Deterministic

Steps to Reproduce:
1. # spacewalk-report repositories > res
2. # du -h res
369M    res
3. # wc -l res
5973768 res

Actual results:
An unnecessarily big file with a the same cert repeating many times.

Expected results:
I'm not proposing a solution, technically, this is what the report should contain.

Comment 2 Gennadii Altukhov 2016-12-19 16:47:29 UTC
Taking...

Comment 3 Gennadii Altukhov 2016-12-20 16:01:16 UTC
Patch available in upstream. spacewalk.git:
1) 4a13b8eb8d374833e388d8abad3a765046ef6180
2) 65125ad2189a99d89040a1f3d232a711980436ac

Comment 5 Jiří Dostál 2016-12-22 14:47:43 UTC
*** Bug 1403739 has been marked as a duplicate of this bug. ***

Comment 8 Lukáš Hellebrandt 2017-01-04 14:06:47 UTC
Verified with spacewalk-reports-2.5.0-5.

# spacewalk-report repositories > res
# du -h res
4.0K	res
# wc -l res
4 res

RH repos are not listed.