Bug 2004194
Summary: | oc is crashing while mirroring registry | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ross Peoples <rpeoples> | |
Component: | oc | Assignee: | Ross Peoples <rpeoples> | |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> | |
Severity: | medium | Docs Contact: | Olivia Payne <opayne> | |
Priority: | medium | |||
Version: | 4.2.z | CC: | aos-bugs, arghosh, cshepher, erich, jokerman, mfojtik, opayne, yinzhou | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | 4.7.z | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Previously, there was an unchecked index operation `--max-components` argument. With this update, a check was implemented to ensure components do not request a value for an index that is out of range.
|
Story Points: | --- | |
Clone Of: | 2004193 | |||
: | 2004197 (view as bug list) | Environment: | ||
Last Closed: | 2021-10-12 19:51:43 UTC | Type: | --- | |
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: | 2004193 | |||
Bug Blocks: | 2004197 |
Description
Ross Peoples
2021-09-14 16:50:04 UTC
Confirmed with latest oc : [root@localhost ~]# ./oc version --client Client Version: 4.7.0-0.nightly-2021-09-28-155624 can't reproduce now: [root@localhost ~]# ./oc adm catalog mirror registry.redhat.io/redhat/redhat-operator-index:v4.7 localhost:5000 --insecure --filter-by-os="linux/amd64" --max-components=5 Flag --filter-by-os has been deprecated, use --index-filter-by-os instead src image has index label for database path: /database/index.db using database path mapping: /database/index.db:/tmp/954181691 W0930 14:03:20.766402 902626 manifest.go:442] Chose linux/amd64 manifest from the manifest list. wrote database to /tmp/954181691 using database at: /tmp/954181691/index.db .... 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 (OpenShift Container Platform 4.7.33 bug fix 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/RHBA-2021:3686 |