Bug 1542238
Summary: | oc get of imagestream with --export option changes the namespace | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> | ||||
Component: | oc | Assignee: | Juan Vallejo <jvallejo> | ||||
Status: | CLOSED ERRATA | QA Contact: | Mike Fiedler <mifiedle> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.9.0 | CC: | aos-bugs, jokerman, mfojtik, mifiedle, mmccomas | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.9.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-03-28 14:25:43 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: | |||||||
Attachments: |
|
Description
Mike Fiedler
2018-02-05 21:32:17 UTC
Able to reproduce this on a 3.9 client against a 3.9 server. Origin PR: https://github.com/openshift/origin/pull/18487 @mifiedler can you post the version of the client that you are using? Also, could you provide the --loglevel=8 output of `oc get -n openshift -o yaml --export`? Originally reported with client 3.6.0-0.36.0. Reproduced below with 3.6.0-0.38.0 and loglevel=8 # oc version oc v3.9.0-0.38.0 kubernetes v1.9.1+a0ce1bc657 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://ip-172-31-0-243.us-west-2.compute.internal:8443 openshift v3.9.0-0.38.0 kubernetes v1.9.1+a0ce1bc657 # oc get -o yaml --loglevel=8 --export -n openshift imagestream jenkins > oc_export_is.out 2>&1 Output attached. Created attachment 1392784 [details]
oc get -o yaml --loglevel=8 --export -n openshift imagestream jenkins > oc_export_is.out 2>&1
Current namespace for repro in comment 4 was "logging" Origin PR [1] merged. Moving to ON_QA Moving to MODIFIED until a puddle with the change is available. Verified on 3.9.0-0.47.0 - namespace not present when --export used. root@ip-172-31-15-225: ~ # oc get is -n openshift -o yaml --export jenkins apiVersion: image.openshift.io/v1 kind: ImageStream metadata: annotations: openshift.io/display-name: Jenkins openshift.io/image.dockerRepositoryCheck: 2018-02-21T14:48:26Z creationTimestamp: null generation: 1 name: jenkins selfLink: /apis/image.openshift.io/v1/namespaces/openshift/imagestreams/jenkins <snip> 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-2018:0489 |