Bug 1389681
| Summary: | `oc edit` for multiple resources does not edit in one single file | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | XiaochuanWang <xiaocwan> |
| Component: | oc | Assignee: | Michail Kargakis <mkargaki> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.4.0 | CC: | aos-bugs, ccoleman, deads, javier.ramirez, jokerman, mfojtik, mmccomas, tdawson, wsun, xxia |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1309545 | Environment: | |
| Last Closed: | 2017-01-18 12:47:20 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: | |||
| Bug Depends On: | 1309545 | ||
| Bug Blocks: | |||
|
Description
XiaochuanWang
2016-10-28 08:46:44 UTC
Reproduced again on latest OCP v3.4.0.16 oc v3.4.0.16+cc70b72 `oc edit svc/database dc/database` will edit twice in different files. Open PR: https://github.com/openshift/origin/pull/11704 Upstream PR: https://github.com/kubernetes/kubernetes/pull/36148 Both PRs have merged. Moving to MODIFIED until the fix lands in a puddle. Fix in v3.4.0.22 This has been merged into ose and is in OSE v3.4.0.22 or newer. Verified on latest ocp oc v3.4.0.22 One edit, update/skip multiple dc. # oc edit dc -n xiaocwan-p deploymentconfig "database" edited deploymentconfig "dc" skipped deploymentconfig "frontend" edited 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-2017:0066 |