Bug 1838614

Summary: OC status shows wrong project name
Product: OpenShift Container Platform Reporter: Jan Chaloupka <jchaloup>
Component: ocAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.zCC: aos-bugs, jchaloup, jokerman, mfojtik, nmanos, oblaut, tfreger, yinzhou
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1826676 Environment:
Last Closed: 2020-06-02 11:18:47 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: 1826676    
Bug Blocks:    

Comment 3 zhou ying 2020-05-25 05:50:56 UTC
[root@dhcp-140-138 cucushift]# oc version -o yaml 
clientVersion:
  buildDate: "2020-05-23T09:59:41Z"
  compiler: gc
  gitCommit: 4fb2d4d96e6b604f7d4ee49080238a5aec04dc4f
  gitTreeState: clean
  gitVersion: 4.3.23-202005230952-4fb2d4d
  goVersion: go1.12.12
  major: ""
  minor: ""
  platform: linux/amd64
[root@dhcp-140-138 cucushift]# oc get project --kubeconfig=/root/.kube/config 
NAME        DISPLAY NAME   STATUS
zhouytttt                  Active
[root@dhcp-140-138 cucushift]# oc status
In project default on server https://api.wewang-bug44z.qe.devcluster.openshift.com:6443

svc/openshift - kubernetes.default.svc.cluster.local
svc/kubernetes - 172.30.0.1:443 -> 6443

[root@dhcp-140-138 cucushift]# oc status  --kubeconfig=/root/.kube/config 
In project zhouytttt on server https://api.yinzhou25.qe.gcp.devcluster.openshift.com:6443

You have no services, deployment configs, or build configs.
Run 'oc new-app' to create an application.

Comment 5 errata-xmlrpc 2020-06-02 11:18:47 UTC
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:2310