Bug 2033167
| Summary: | oc extract –to option doesn’t create the target directory if it’s not present | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yang Yang <yanyang> |
| Component: | oc | Assignee: | Arda Guclu <aguclu> |
| oc sub component: | oc | QA Contact: | zhou ying <yinzhou> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aguclu, aos-bugs, mfojtik |
| Version: | 4.10 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.12.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-17 19:46:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Yang Yang
2021-12-16 05:33:21 UTC
can't reproduce the issue now: [root@localhost ~]# ls /tmp [root@localhost ~]# oc extract secret/pull-secret -n openshift-config --confirm --to=/tmp/kkk /tmp/kkk/.dockerconfigjson [root@localhost ~]# ls /tmp kkk [root@localhost ~]# oc version client Client Version: 4.12.0-0.nightly-2022-10-18-192348 Kustomize Version: v4.5.7 Server Version: 4.12.0-0.nightly-arm64-2022-10-18-153953 Kubernetes Version: v1.25.2+5bf2e1f 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 (Moderate: OpenShift Container Platform 4.12.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:7399 |