Project

Profile

Help

Issue #2629

max_speed param does not work in yum_importer.json

Added by croberts1984 6 months ago. Updated 5 months ago.

Status:
CLOSED - WORKSFORME
Priority:
Normal
Category:
-
Sprint/Milestone:
Severity:
2. Medium
Version:
2.12.0
Platform Release:
Blocks Release:
OS:
CentOS 7
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No

Description

Here is my yum_importer.json

{

"proxy_host": null,
"proxy_port": null,
"proxy_username": null,
"proxy_password": null,
"max_speed": 4096

}

Yet it does not limit the download per the docs.

History

#1 Updated by bizhang 5 months ago

  • Triaged changed from No to Yes

#4 Updated by pthomas@redhat.com 5 months ago

  • Smash Test set to 584

#5 Updated by mhrivnak 5 months ago

  • Sprint/Milestone set to Sprint 17

One thing to ensure is that the workers get restarted after changing the json file.

#6 Updated by ipanova@redhat.com 5 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com

#7 Updated by ipanova@redhat.com 5 months ago

If i do not have any max_speed limit set, this repo [0] gets synced in:

Start Time:       2017-03-29T17:23:22Z
Finish Time:      2017-03-29T17:23:33Z

When i set speed limit to 512 in the json file and restart services, repo gets synced in :

Start Time:       2017-03-29T17:19:41Z
Finish Time:      2017-03-29T17:21:53Z

When i set speed limit to the yum_importer config of the single repo, it gets synced in:

Start Time:       2017-03-29T17:24:33Z
Finish Time:      2017-03-29T17:26:56Z

Please check whether you restarted the needed services as Michael suggested in the above comment.

[0] https://repos.fedorapeople.org/repos/pulp/pulp/v2/testing/2.12/fedora-24/x86_64/

#8 Updated by ipanova@redhat.com 5 months ago

obviously between this syncs i removed the repo, cleaned orphans and re-created again

#9 Updated by ipanova@redhat.com 5 months ago

  • Status changed from ASSIGNED to CLOSED - WORKSFORME

i am closing this, please re-open it should you have some objections.

Please register to edit this issue

Also available in: Atom PDF