Bug 2088663 - Better to change the default value of --max-per-registry to 6
Summary: Better to change the default value of --max-per-registry to 6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Alex
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-20 02:01 UTC by zhou ying
Modified: 2022-08-10 11:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:13:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc-mirror pull 475 0 None open Bug 2088663: fix(mirror): changes default value for max-per-registry from 2 to 6 2022-05-24 14:03:36 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:13:25 UTC

Description zhou ying 2022-05-20 02:01:36 UTC
Description of problem:
Now the default value of --max-per-registry is 2 , better to change to 6 same as `oc adm release mirror`

Version-Release number of selected component (if applicable):
oc-mirror version 
Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.11.0-202205131159.p0.g7bde4c7.assembly.stream-7bde4c7", GitCommit:"7bde4c7bde6b829a34592b2d12115fb38b15576f", GitTreeState:"clean", BuildDate:"2022-05-13T12:59:14Z", GoVersion:"go1.18", Compiler:"gc", Platform:"linux/amd64"

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 zhou ying 2022-05-31 09:14:56 UTC
checked the latest version , the issue has fixed:

./oc-mirror version 
Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.11.0-202205241557.p0.gda36c70.assembly.stream-da36c70", GitCommit:"da36c70a5b93784736b0cd08e5ef57c7a6d00062", GitTreeState:"clean", BuildDate:"2022-05-24T16:48:57Z", GoVersion:"go1.18", Compiler:"gc", Platform:"linux/amd64"}

./oc-mirror -h
....
      --max-per-registry int   Number of concurrent requests allowed per registry (default 6)

Comment 4 errata-xmlrpc 2022-08-10 11:13:14 UTC
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069


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