#8761 Communishift error in a fresh project
Opened 5 months ago by jimbair. Modified 3 months ago

While testing this morning, I noticed trying to run something against my project, I was getting an error. I created a fresh project to see if the problem was with my user + cluster or the project itself, but it appears to be cluster-wide:

jim@gentoo ~ $ oc new-project test-project
Now using project "test-project" on server "https://api.os.fedorainfracloud.org:6443".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app django-psql-example

to build a new example application in Python. Or use kubectl to deploy a simple Kubernetes application:

    kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node

jim@gentoo ~ $ oc get all
NAME                               AGE
cdiconfig.cdi.kubevirt.io/config   42d
Error from server (Forbidden): cdis.cdi.kubevirt.io is forbidden: User "jimbair" cannot list resource "cdis" in API group "cdi.kubevirt.io" at the cluster scope
jim@gentoo ~ $

After talking to Kevin, it shouldn't be throwing that error, so I'm filing a ticket to see if we can get that solved. If I can help troubleshoot, let me know!


Metadata Update from @smooge:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: communishift

5 months ago

Metadata Update from @smooge:
- Issue tagged with: low-gain, medium-trouble

5 months ago

I've removed kubevirt as we are not using it.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 months ago

Re-ran the test today; still getting kubevirt errors it seems:


jim@gentoo ~ $ date
Tue 24 Mar 2020 12:58:50 PM CDT
jim@gentoo ~ $  oc new-project test-project
Now using project "test-project" on server "https://api.os.fedorainfracloud.org:6443".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app django-psql-example

to build a new example application in Python. Or use kubectl to deploy a simple Kubernetes application:

    kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node

jim@gentoo ~ $ oc get all
Error from server (Forbidden): kubevirts.kubevirt.io is forbidden: User "jimbair" cannot list resource "kubevirts" in API group "kubevirt.io" in the namespace "test-project"
Error from server (Forbidden): cdis.cdi.kubevirt.io is forbidden: User "jimbair" cannot list resource "cdis" in API group "cdi.kubevirt.io" at the cluster scope
jim@gentoo ~ $ 

Metadata Update from @jimbair:
- Issue status updated to: Open (was: Closed)

5 months ago

Login to comment on this ticket.

Metadata