#8773 Communishift projects deleted but still present with missing permissions
Closed: Fixed 4 years ago by kevin. Opened 4 years ago by jimbair.

While testing in communishift, I have been deleting projects to ensure a clean slate when re-deploying and testing. Last week, this was working perfectly. However, when I tried to do this today, it failed. I created a brand new fresh project, and it had the same result. I then checked the previous test project I made for another ticket, and it was not there. Re-created it, deleted it, then tried to delete again.

I waited ~15 minutes in case there was an eventual consistency thing happening before bothering the team. I pinged Kevin in IRC who asked I make a ticket. =)

Thanks!

jim@gentoo ~ $ oc new-project test
Error from server (AlreadyExists): project.project.openshift.io "test" already exists
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 project
Using project "test-project" on server "https://api.os.fedorainfracloud.org:6443".
jim@gentoo ~ $ oc delete project test-project
project.project.openshift.io "test-project" deleted
jim@gentoo ~ $ oc new-project test-project
Error from server (AlreadyExists): project.project.openshift.io "test-project" already exists
jim@gentoo ~ $ oc delete project test-project
Error from server (Forbidden): projects.project.openshift.io "test-project" is forbidden: User "jimbair" cannot delete resource "projects" in API group "project.openshift.io" in the namespace "test-project"
jim@gentoo ~ $ 

ok, this was caused by cert-manager being stupid again. ;(

I removed it, reinstalled the latest version and cleaned things up... so, you should be able to delete/readd projects as much as you like now.

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

4 years ago

Login to comment on this ticket.

Metadata