Project

General

Profile

Actions

Bug #11161

closed

hammer content upload slow

Added by Mike McCune over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190902
Description of problem:

i was trying to upload packages to repository and i found it's very slow, also hammer process takes 100% of CPU. it doesnt show any progress, so cant realize if process got hung or it's still running without checking logs.

[root@lonlxt90001 apps]# time hammer -u admin -p changeme repository upload-content --path ./ --name unix_engineering --organization ACME --product Unix_Engineering

Successfully uploaded file 'nmr-sunjdk1601964-1.6.0_19_64-1.x86_64.rpm'.
Successfully uploaded file 'nmr-sunjdk1601764-1.6.0_17_64-1.x86_64.rpm'.

Successfully uploaded file 'nmr-netbackup-7.1-redhat-1.0-0.x86_64.rpm'.
Successfully uploaded file 'nmr-sunjdk16019-1.6.0_19-1.i386.rpm'.
Successfully uploaded file 'nmr-sunjdk16017-1.6.0_17-1.i386.rpm'.
Successfully uploaded file 'nmr-autosys-linux-4.5-2.i386.rpm'.

real 77m1.970s
user 58m34.944s
sys 5m50.962s
[root@lonlxt90001 apps]#

[root@lonlxt90001 apps]# ls lh
total 677M
-rw-r--r-
. 1 root root 2.4M Jan 23 2013 nmr-autosys-linux-4.5-2.i386.rpm
rw-r--r-. 1 root root 301M Jan 27 06:33 nmr-netbackup-7.1-redhat-1.0-0.x86_64.rpm
rw-r--r-. 1 root root 95M Jan 27 06:33 nmr-sunjdk16017-1.6.0_17-1.i386.rpm
rw-r--r-. 1 root root 90M Jan 27 06:34 nmr-sunjdk1601764-1.6.0_17_64-1.x86_64.rpm
rw-r--r-. 1 root root 98M Jan 27 06:34 nmr-sunjdk16019-1.6.0_19-1.i386.rpm
rw-r--r-. 1 root root 92M Jan 27 06:34 nmr-sunjdk1601964-1.6.0_19_64-1.x86_64.rpm
[root@lonlxt90001 apps]#

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

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:

Actions #1

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #2

Updated by Stephen Benjamin over 8 years ago

  • translation missing: en.field_release changed from 31 to 70

Mass move to 2.4.0

Actions #3

Updated by Greg Swift over 8 years ago

If this is the same thing I'm experiencing with docker files, then it makes upload of docker images unusable. So I'm very curious why it didn't make the 2.3 cut off.

Actions #5

Updated by Justin Sherrill over 8 years ago

  • translation missing: en.field_release changed from 70 to 86
Actions #6

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release changed from 86 to 114
Actions #7

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/375 added
Actions #8

Updated by Adam Ruzicka almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #9

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release changed from 114 to 86
Actions

Also available in: Atom PDF