Bug 1732374 - Project local-storage stuck in terminating status after deploy/undeploy local storage
Summary: Project local-storage stuck in terminating status after deploy/undeploy local...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.6.z
Assignee: Latha S
QA Contact: Liang Xia
Latha S
URL:
Whiteboard:
: 1820175 1820178 (view as bug list)
Depends On:
Blocks: 1820178
TreeView+ depends on / blocked
 
Reported: 2019-07-23 09:12 UTC by Liang Xia
Modified: 2024-01-06 04:26 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-22 10:10:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Liang Xia 2019-07-23 09:12:14 UTC
Description of problem:
Project local-storage stuck in terminating status.
The project is used for deploy/undeploy local storage.


Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-07-21-222447


How reproducible:
Not sure

Steps to Reproduce:
1.Following https://github.com/openshift/local-storage-operator/blob/master/docs/deploy-with-olm.md#deploy-local-storage-operator
2.Run command `oc delete project local-storage`.

Actual results:
The project stuck in terminating status, though nothing show in the project.


Expected results:
Things are clean-up.
Or
There is a way to manually recover/clean-up everything.


Additional info:
$ oc get project local-storage
NAME            DISPLAY NAME   STATUS
local-storage                  Terminating


$ oc apply -f catalog-create-subscribe.yaml 
Error from server (Forbidden): error when creating "catalog-create-subscribe.yaml": operatorgroups.operators.coreos.com "local-operator-group" is forbidden: unable to create new content in namespace local-storage because it is being terminated
Error from server (Forbidden): error when creating "catalog-create-subscribe.yaml": catalogsources.operators.coreos.com "local-storage-manifests" is forbidden: unable to create new content in namespace local-storage because it is being terminated
Error from server (Forbidden): error when creating "catalog-create-subscribe.yaml": subscriptions.operators.coreos.com "local-storage-subscription" is forbidden: unable to create new content in namespace local-storage because it is being terminated


$ oc status
In project local-storage on server https://api_qe_cluster:6443
You have no services, deployment configs, or build configs.
Run 'oc new-app' to create an application.


$ oc get all
No resources found.

Comment 2 Hemant Kumar 2019-08-02 02:04:14 UTC
This is a known issue - https://github.com/operator-framework/operator-sdk/issues/1503 

The workaround for now is:

1. To not do that.
2. Or to remove the finalizer manually from localvolume CR that exists in `local-storage` namespace. Which will cause localvolume CR to deleted and namespace will be removed. 

We will document this behaviour.

Comment 5 Hemant Kumar 2020-04-03 02:18:33 UTC
*** Bug 1820175 has been marked as a duplicate of this bug. ***

Comment 6 Hemant Kumar 2020-04-03 02:18:59 UTC
*** Bug 1820178 has been marked as a duplicate of this bug. ***

Comment 15 Red Hat Bugzilla 2024-01-06 04:26:30 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.