Bug 791199 - Too many requests to CDN when importing manifest
Summary: Too many requests to CDN when importing manifest
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-16 13:26 UTC by Ivan Necas
Modified: 2019-09-26 15:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:27:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ivan Necas 2012-02-16 13:26:51 UTC
Description of problem:
Results from requests to CDN to retrieve values for $releasever and $basearch are not reused, therefore there are more requests for the same listing file.

Version-Release number of selected component (if applicable):
katello-0.1.235-2

How reproducible:


Steps to Reproduce:
1. Set KATELLO_LOGGING in /etc/sysconfig/katello to debug
2. Import stage manifest
3. grep CDN /var/log/katello/production.log 
  
Actual results:
Many lines "CDN: Requesting path..." with the same path repeating = many requests for the same file

Expected results:
Requesting each unique path only once.

Additional info:
Can lead to 800 requests instead of 40

Comment 1 Ivan Necas 2012-02-20 12:27:36 UTC
Fixed in commit 8a040b1fd5b7828f982e19d1d094fa089b5af486

Comment 3 Ivan Necas 2012-02-22 08:19:06 UTC
Tagged in katello-0.1.243-1

Comment 4 Og Maciel 2012-03-16 20:35:02 UTC
# grep CDN /var/log/katello/production.log | uniq | wc -l
18

Comment 5 Og Maciel 2012-03-16 20:35:33 UTC
Verified:
* candlepin-0.5.26-1.el6.noarch
* candlepin-tomcat6-0.5.26-1.el6.noarch
* katello-0.1.304-1.el6.noarch
* katello-all-0.1.304-1.el6.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.0.4-1.el6.noarch
* katello-cli-0.1.105-1.el6.noarch
* katello-cli-common-0.1.105-1.el6.noarch
* katello-common-0.1.304-1.el6.noarch
* katello-configure-0.1.106-1.el6.noarch
* katello-glue-candlepin-0.1.304-1.el6.noarch
* katello-glue-foreman-0.1.304-1.el6.noarch
* katello-glue-pulp-0.1.304-1.el6.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-0.1.9-1.el6.noarch
* pulp-1.0.0-5.el6.noarch
* pulp-common-1.0.0-5.el6.noarch
* pulp-selinux-server-1.0.0-5.el6.noarch

Comment 7 Mike McCune 2013-08-16 18:12:34 UTC
getting rid of 6.0.0 version since that doesn't exist


Note You need to log in before you can comment on or make changes to this bug.