Description of problem: When invoke $oc get deployments, command line return "cannot list extensions.deployments in project" Version-Release number of selected component (if applicable): openshift v1.1-630-gb197d32 kubernetes v1.1.0-origin-1107-g4c8e6f4 How reproducible: always Steps to Reproduce: 1.Create a project 2.Deploy a pod 3.run command with normal user $oc get deployments -n test 4. run command with cluster admin $oc get deployments -n test Actual results: step 3 will get error: cannot list extensions.deployments in project test step 4 will return nothing. Expected results: 1. if deployments is not a resource , we should return err like "error: no resource "test" has been defined" 2. cluster admin and project admin user should have the same output Additional info:
Hello, Do you have any news about this bug? Is there a workaround so far? Kind regards
This bug should probably have been closed as fixed a long time ago. Newer versions of `oc` corrected the issue (in that the commands returns nothing instead of an error, as OpenShift has no "deployment" resource).
verified with: openshift v1.3.0-alpha.3+e3e0f53 kubernetes v1.3.0+52492b4 etcd 2.3.0+git