Bug 1835011
Summary: | OC project shows misleading error when project exists in config but has been deleted from system | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Sally <somalley> |
Component: | oc | Assignee: | Sally <somalley> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.3.z | CC: | aos-bugs, jchaloup, jokerman, maszulik, mfojtik, nmanos, oblaut, tfreger, yinzhou |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1826676 | Environment: | |
Last Closed: | 2020-07-13 17:38:07 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: |
Description
Sally
2020-05-12 22:13:03 UTC
The problem appears when you're using a regular non-system:admin user: oc project error: you do not have rights to view project "tesla" with system:admin the message is ok: oc status error: the project "tesla" specified in your config does not exist This bug is actively being worked on. $ ./oc version -o yaml clientVersion: buildDate: "2020-05-26T21:24:07Z" compiler: gc gitCommit: 384535d084fda4ab8b3e37c995bf20ed46dbce51 gitTreeState: dirty gitVersion: 384535d0 goVersion: go1.13.4 major: "" minor: "" platform: windows/amd64 $ ./oc project error: you do not have rights to view project "zhouy" specified in your config or the project doesn't exist 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:2409 |