Bug 1807810
| Summary: | oc image mirror --from-dir does not override --dir | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Paul Weil <pweil> | |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> | |
| Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.3.0 | CC: | aos-bugs, jokerman, mfojtik, yinzhou | |
| Target Milestone: | --- | |||
| Target Release: | 4.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1807807 | |||
| : | 1807812 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-04 11:43:01 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: | 1807807 | |||
| Bug Blocks: | 1807812 | |||
|
Description
Paul Weil
2020-02-27 09:59:40 UTC
Could reproduce with old client. Test with client 4.4.0-0.nightly-2020-03-03-033819, and passed $oc version Client Version: 4.4.0-0.nightly-2020-03-03-033819 Server Version: 4.4.0-0.nightly-2020-03-02-042029 Kubernetes Version: v1.17.1 Cmd [1] $oc image mirror -a /tmp/kubeconfig/vsphere-mirror.json --from-dir=bz1807810 file://openshift/release:4.4.0-0.nightly-2020-03-03-033819* vsphere.mirror-registry.qe.devcluster.openshift.com:5000/xiuwang [2] $oc image mirror -a /tmp/kubeconfig/vsphere-mirror.json --dir=bz1807810 file://openshift/release:4.4.0-0.nightly-2020-03-03-033819* vsphere.mirror-registry.qe.devcluster.openshift.com:5000/xiuwang1 [3] $oc image mirror -a /tmp/kubeconfig/vsphere-mirror.json --from-dir=bz1807810 file://openshift/release:4.4.0-0.nightly-2020-03-03-033819* vsphere.mirror-registry.qe.devcluster.openshift.com:5000/xiuwang1 --dir=notexist [4] $oc image mirror -a /tmp/kubeconfig/vsphere-mirror.json --dir=bz1807810 file://openshift/release:4.4.0-0.nightly-2020-03-03-033819* vsphere.mirror-registry.qe.devcluster.openshift.com:5000/xiuwang1 --from-dir=notexist Cmd [1] [2] [3] passed without error. Log here http://pastebin.test.redhat.com/841386 [4] failed as expected, "error: you must specify at least one source image to pull and the destination to push to as SRC=DST or SRC DST [DST2 DST3 ...]" 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, 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-2020:0581 |