-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot delete operator after delete subscription #1168
Comments
I also encounter the same issue and I was using olm 0.13.0 deployed on KIND. root@gyliu-dev1:~# kubectl delete subscription -n marketplace myolm-operator-subsription
subscription.operators.coreos.com "myolm-operator-subsription" deleted root@gyliu-dev1:~# kubectl get csv -n marketplace
NAME DISPLAY VERSION REPLACES PHASE
memcached-operator.v0.0.3 Memcached Operator 0.0.3 memcached-operator.v0.0.2 Succeeded root@gyliu-dev1:~# kubectl get ip -n marketplace
No resources found.
root@gyliu-dev1:~# kubectl get pods -n marketplace
NAME READY STATUS RESTARTS AGE
marketplace-operator-69756457d8-c8vrp 1/1 Running 0 20h
memcached-operator-d75d9674-7xnp9 1/1 Running 0 20h
myolm-operators-589c966976-qp4m9 1/1 Running 0 20h
upstream-community-operators-6778c46cc7-gq29b 1/1 Running 0 20h root@gyliu-dev1:~# kind version
kind v0.6.0 go1.13.4 linux/amd64 root@gyliu-dev1:~# kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:53:57Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-16T01:01:59Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"} |
This is expected behavior. Deleting a I'm going to notify a member of the OpenShift docs team and close this issue once we have it tracked on that side. @adellape how do we go about getting these docs amended? |
@njhale Thanks for your confirmation that delete an operator requires the manual deletion of the CSV. |
@njhale Thanks, opened openshift/openshift-docs#18632 to address. |
From the document, you can see that:
In my environment, the
operator
cannot be delete after deletedsubscription
successfully.Here is logs of
catalog-operator-xxx
There is no any
InstallPlan
in my environmentI am using the openshift 4.2 embedded olm 0.11 . Is it fixed in the latest version?
The text was updated successfully, but these errors were encountered: