Bug 1402423
Summary: | "hammer repository upload-content --path" redundantly non-performant against big repos | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> | ||||||
Component: | Repositories | Assignee: | Justin Sherrill <jsherril> | ||||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.2.5 | CC: | bbuckingham, bkearney, ehelms, ftsiadim, jcallaha, jsherril, oshtaier, tstrachota, zhunting | ||||||
Target Milestone: | Unspecified | Keywords: | Performance, Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | tfm-rubygem-katello-3.0.0.115-1 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1426401 (view as bug list) | Environment: | |||||||
Last Closed: | 2017-05-01 13:56:51 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: | 1439840 | ||||||||
Bug Blocks: | 1426401 | ||||||||
Attachments: |
|
Description
Pavel Moravec
2016-12-07 14:25:41 UTC
Created redmine issue http://projects.theforeman.org/issues/17691 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17691 has been resolved. Please add verifications steps for this bug to help QE verify Justin, did I add the MR's correctly? Yes thanks! looks like i forgot these two. time hammer -u admin -p changeme repository upload-content --id 2 --path . Successfully uploaded file 'bef-foo-e4854-1-1.fc21.x86_64.rpm'. Successfully uploaded file '8b8-foo-48a52-1-1.fc21.x86_64.rpm'. ... Successfully uploaded file 'ac6-foo-6d830-1-1.fc21.x86_64.rpm'. Successfully uploaded file '3b6-foo-7a7c8-1-1.fc21.x86_64.rpm'. Publishing Repository. [................................................................] [100%] real 971m23.798s user 9m14.737s sys 0m41.055s I'm not sure, i've not actually tried that many rpms, comparing to 6.2.8 would probably help (and i'd maybe try just 500 rpms for that comparison). Verified in Satellite 6.2.9 Snap 3. In this version, there is a significant decrease in time required to upload multiple rpms into one repository. As you will see in the screenshots (attached) the new version skips the distributor publish. Also, you can notice that repo publishing occurs only after the last rpm is uploaded. 6.2.8 Successfully uploaded file '0dc-foo-cb183-1-1.fc21.x86_64.rpm'. Successfully uploaded file '0dd-foo-7c0b2-1-1.fc21.x86_64.rpm'. Successfully uploaded file '0dd-foo-cf700-1-1.fc21.x86_64.rpm'. real 31m13.457s user 0m29.723s sys 0m2.309s 6.2.9 Snap 3 Successfully uploaded file '0dd-foo-7c0b2-1-1.fc21.x86_64.rpm'. Successfully uploaded file '0dd-foo-cf700-1-1.fc21.x86_64.rpm'. Publishing Repository. [......................................................] [100%] real 13m6.497s user 0m30.406s sys 0m2.325s Created attachment 1272689 [details]
before dynflow
Created attachment 1272690 [details]
after dynflow
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, 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/RHBA-2017:1191 |