Bug 1591128
Summary: | [Sat5.8] "cdn-sync -l" displays a package count that does not match with the WEBUI | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | jalviso <jalviso> |
Component: | Satellite Synchronization | Assignee: | Jan Dobes <jdobes> |
Status: | CLOSED WONTFIX | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 580 | CC: | jalviso, rdrazny, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-13 15:01:20 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: | 1450111 |
Comment 1
Jan Dobes
2018-06-14 12:51:57 UTC
I thing the 'cache' gets refreshed also with cdn-sync -c <channel> for that particular channel. What do you get if you run cdn-sync -l right after cdn-sync -c <channel>? @Tomas on Comment#2: - So when I run # cdn-sync -c rhel-x86_64-server-6 19:30:36 ====================================== 19:30:36 | Channel: rhel-x86_64-server-6 19:30:36 ====================================== 19:30:36 Sync of channel started. 19:30:37 19:30:37 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os 19:30:50 Packages in repo: 20096 : - The output for "cdn-sync -l" is: # cdn-sync -l 19:40:29 p rhel-x86_64-server-6 20031 packages (38.9G) : 19:40:30 p rhel-x86_64-server-7 20127 packages (27.4G) @Jan on Comment#1 - After I run "cdn-sync --count-packages" the output is: # cdn-sync -l : 20:08:56 p rhel-x86_64-server-6 20031 packages (38.9G) : 20:08:56 p rhel-x86_64-server-7 20501 packages (28.4G) - RHEL6 package number remains the same (wrong count) as before running with option "--count-packages" - RHEL7 interestingly has package count changed: from 20127 to 20501 However, from the WEBUI, it shows 20490 (info provided in Description). @Jan, further info, after I synced RHEL7, it displays correct number in WEBUI and "cdn-sync -l". The issue persisting is with RHEL6 (removing reposync cache does not help either): # rm -rf /var/cache/rhn/reposync/NULL/rhel-6-server-rpms__6Server__x86_64/* # cdn-sync -c rhel-x86_64-server-6 20:39:04 ====================================== 20:39:04 | Channel: rhel-x86_64-server-6 20:39:04 ====================================== 20:39:04 Sync of channel started. 20:39:05 20:39:05 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os 20:39:40 Packages in repo: 20096 : # rm -rf /var/cache/rhn/reposync/NULL/rhel-7-server-rpms__7Server__x86_64/* # cdn-sync -c rhel-x86_64-server-7 20:55:33 ====================================== 20:55:33 | Channel: rhel-x86_64-server-7 20:55:33 ====================================== 20:55:33 Sync of channel started. 20:55:33 20:55:33 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os 20:55:44 Packages in repo: 20501 20:57:47 Packages already synced: 20490 20:57:47 Packages to sync: 11 20:57:47 New packages to download: 11 20:57:47 Downloading packages: 20:57:49 1/11 : kernel-3.10.0-862.3.3.el7.x86_64.rpm 20:57:50 2/11 : kernel-doc-3.10.0-862.3.3.el7.noarch.rpm 20:57:51 3/11 : kernel-headers-3.10.0-862.3.3.el7.x86_64.rpm 20:57:52 4/11 : kernel-debug-devel-3.10.0-862.3.3.el7.x86_64.rpm 20:57:52 5/11 : kernel-tools-3.10.0-862.3.3.el7.x86_64.rpm 20:57:53 6/11 : kernel-tools-libs-3.10.0-862.3.3.el7.x86_64.rpm 20:57:53 7/11 : perf-3.10.0-862.3.3.el7.x86_64.rpm 20:57:54 8/11 : python-perf-3.10.0-862.3.3.el7.x86_64.rpm 20:57:54 9/11 : kernel-debug-3.10.0-862.3.3.el7.x86_64.rpm 20:57:59 10/11 : kernel-abi-whitelists-3.10.0-862.3.3.el7.noarch.rpm 20:58:10 11/11 : kernel-devel-3.10.0-862.3.3.el7.x86_64.rpm 20:58:11 20:58:11 Importing packages to DB: Importing packages: |#### : # cdn-sync -l : 21:16:40 p rhel-x86_64-server-6 20031 packages (38.9G) : 21:16:40 p rhel-x86_64-server-7 20501 packages (28.4G) |