Project

Profile

Help

Issue #2629

closed

max_speed param does not work in yum_importer.json

Added by croberts1984 over 7 years ago. Updated over 5 years ago.

Status:
CLOSED - WORKSFORME
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.12.0
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 17
Quarter:

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.

Actions #1

Updated by bizhang over 7 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone set to 36

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

Actions #6

Updated by ipanova@redhat.com over 7 years ago

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

Updated by ipanova@redhat.com over 7 years 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/

Actions #8

Updated by ipanova@redhat.com over 7 years ago

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

Actions #9

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from ASSIGNED to CLOSED - WORKSFORME

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

Actions #10

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 17
Actions #11

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (36)
Actions #12

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF