#6808 Unable to delete resources in OpenShift
Closed: Fixed 5 years ago by kevin. Opened 6 years ago by jcline.

I've got a project in OpenShift which used to need a Service and Route object, but no longer needs it. Removing the roles from the playbook (playbooks/openshift-apps/librariesio2fedmsg.yml) don't delete these objects, so now I've got a route and service I can't delete since I have no write permissions to OpenShift projects I'm an owner of.


Note that this lets me get my projects in a state that could work, but if you ever tried to redeploy from Ansible it wouldn't work because it depended on objects that should have been deleted.

Metadata Update from @kevin:
- Issue assigned to puiterwijk
- Issue priority set to: Waiting on Asignee

6 years ago

In staging you should now have perms to delete services at least...

but I wonder, perhaps we could add some bolierplate to our openshift apps playbooks that looks for a 'redeploy' variable, that if set deletes the entire project and all resources and redeploys them new?

@puiterwijk what do you think ?

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

5 years ago

Login to comment on this ticket.

Metadata