-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
3.3.0.GA
-
None
-
False
-
None
-
False
-
-
Description of problem:
"dcs server:delete --delete-all" command doesn't remove remaining "devworkspaceoperatorconfig" resource from "openshift-devspaces" namespace:
+ /mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/bin/dsc server:delete --delete-all --yes --listr-renderer=verbose [03:31:02] Verify Kubernetes API [started] › Current Kubernetes context: 'default/api-ocp411-crw-qe-com:6443/admin' [03:31:02] Verify Kubernetes API...[OK] [title changed] [03:31:02] Verify Kubernetes API...[OK] [OpenShift] [title changed] [03:31:02] Verify Kubernetes API...[OK] [OpenShift] [completed] [03:31:02] Uninstall Dev Workspace Operator [started] [03:31:02] Delete operator resources [started] [03:31:02] Delete cluster scope objects [started] [03:31:02] Delete cluster scope objects...[Ok] [title changed] [03:31:02] Delete cluster scope objects...[Ok] [completed] [03:31:02] Delete devworkspaces.workspace.devfile.io resources [started] [03:31:18] Delete devworkspaces.workspace.devfile.io resources...[Ok] [title changed] [03:31:18] Delete devworkspaces.workspace.devfile.io resources...[Ok] [completed] [03:31:18] Delete devworkspacetemplates.workspace.devfile.io resources [started] [03:31:34] Delete devworkspacetemplates.workspace.devfile.io resources...[Ok] [title changed] [03:31:34] Delete devworkspacetemplates.workspace.devfile.io resources...[Ok] [completed] [03:31:34] Delete devworkspaceroutings.controller.devfile.io resources [started] [03:31:50] Delete devworkspaceroutings.controller.devfile.io resources...[Ok] [title changed] [03:31:50] Delete devworkspaceroutings.controller.devfile.io resources...[Ok] [completed] [03:31:50] Delete devworkspaceoperatorconfigs.controller.devfile.io resources [started] [03:32:05] Delete devworkspaceoperatorconfigs.controller.devfile.io resources...[Ok] [title changed] [03:32:05] Delete devworkspaceoperatorconfigs.controller.devfile.io resources...[Ok] [completed] [03:32:05] Delete Networks [started] [03:32:05] Delete Networks...[Ok] [title changed] [03:32:05] Delete Networks...[Ok] [completed] [03:32:05] Delete Workloads [started] [03:32:05] Delete Workloads...[Ok] [title changed] [03:32:05] Delete Workloads...[Ok] [completed] [03:32:05] Delete RBAC [started] [03:32:05] Delete RBAC...[Ok] [title changed] [03:32:05] Delete RBAC...[Ok] [completed] [03:32:05] Delete operator resources [completed] [03:32:05] Delete OLM resources [started] [03:32:05] Delete Subscription devworkspace-operator [started] [03:32:05] Delete Subscription devworkspace-operator...[Ok] [title changed] [03:32:05] Delete Subscription devworkspace-operator...[Ok] [completed] [03:32:05] Delete CSV [started] [03:32:05] Delete CSV...[Ok] [title changed] [03:32:05] Delete CSV...[Ok] [completed] [03:32:05] Delete CatalogSource custom-devworkspace-operator-catalog [started] [03:32:05] Delete CatalogSource custom-devworkspace-operator-catalog...[Ok] [title changed] [03:32:05] Delete CatalogSource custom-devworkspace-operator-catalog...[Ok] [completed] [03:32:05] Delete CatalogSource stable-custom-devworkspace-operator-catalog [started] [03:32:05] Delete CatalogSource stable-custom-devworkspace-operator-catalog...[Ok] [title changed] [03:32:05] Delete CatalogSource stable-custom-devworkspace-operator-catalog...[Ok] [completed] [03:32:05] Delete OLM resources [completed] [03:32:05] Uninstall Dev Workspace Operator [completed] [03:32:05] Uninstall Red Hat OpenShift Dev Spaces Operator [started] [03:32:05] Delete operator resources [started] [03:32:05] Delete cluster scope objects [started] [03:32:06] Delete cluster scope objects...[Ok] [title changed] [03:32:06] Delete cluster scope objects...[Ok] [completed] [03:32:06] Delete checlusters.org.eclipse.che resources [started] [03:33:17] Delete checlusters.org.eclipse.che resources...[Ok] [title changed] [03:33:17] Delete checlusters.org.eclipse.che resources...[Ok] [completed] [03:33:17] Delete Workloads [started] [03:33:17] Delete Workloads...[Ok] [title changed] [03:33:17] Delete Workloads...[Ok] [completed] [03:33:17] Delete RBAC [started] [03:33:17] Delete RBAC...[Ok] [title changed] [03:33:17] Delete RBAC...[Ok] [completed] [03:33:17] Delete operator resources [completed] [03:33:17] Delete OLM resources [started] [03:33:17] Delete Subscription [started] [03:33:17] Delete Subscription...[Ok] [title changed] [03:33:17] Delete Subscription...[Ok] [completed] [03:33:17] Delete CatalogSources [started] [03:33:17] Delete CatalogSources...[Ok] [title changed] [03:33:17] Delete CatalogSources...[Ok] [completed] [03:33:17] Delete ImageContentSourcePolicy quay.io [started] [03:33:17] Delete ImageContentSourcePolicy quay.io...[Ok] [title changed] [03:33:17] Delete ImageContentSourcePolicy quay.io...[Ok] [completed] [03:33:17] Delete OLM resources [completed] [03:33:17] Wait until all pods are deleted [started] [03:33:17] Che Server pod [started] [03:33:17] Che Server pod...[Ok] [title changed] [03:33:17] Che Server pod...[Ok] [completed] [03:33:17] Dashboard pod [started] [03:33:38] Dashboard pod...[Ok] [title changed] [03:33:38] Dashboard pod...[Ok] [completed] [03:33:38] PostgreSQL pod [started] [03:33:38] PostgreSQL pod...[Ok] [title changed] [03:33:38] PostgreSQL pod...[Ok] [completed] [03:33:38] Devfile Registry pod [started] [03:33:38] Devfile Registry pod...[Ok] [title changed] [03:33:38] Devfile Registry pod...[Ok] [completed] [03:33:38] Plug-in Registry [started] [03:33:38] Plug-in Registry...[Ok] [title changed] [03:33:38] Plug-in Registry...[Ok] [completed] [03:33:38] Wait until all pods are deleted [completed] [03:33:38] Uninstall Red Hat OpenShift Dev Spaces Operator [completed] Command server:delete has completed successfully in 02:36.
Prerequisites (if any, like setup, operators/versions):
- dsc/3.3.0-CI-a3bd-redhat.bef4bfc linux-x64 node-v16.13.2
https://github.com/redhat-developer/devspaces-chectl/releases/download/3.3.0-CI-dsc-assets/devspaces-3.3.0-dsc-linux-x64.tar.gz
- DWO 0.17.0: 'registry-proxy.engineering.redhat.com/rh-osbs/devworkspace-operator-bundle:0.17-1 registry-proxy.engineering.redhat.com/rh-osbs/iib:360662'
- DS 3.3.0: 'registry-proxy.engineering.redhat.com/rh-osbs/devspaces-operator-bundle:3.3-231 registry-proxy.engineering.redhat.com/rh-osbs/iib:372339
Steps to Reproduce
1. Install DS 3.3.0, create workspace.
2. Download https://github.com/redhat-developer/devspaces-chectl/releases/download/3.3.0-CI-dsc-assets/devspaces-3.3.0-dsc-linux-x64.tar.gz
3. Log into OCP
4. Execute command "bin/dsc server:delete --delete-all --yes --listr-renderer=verbose"
5. Go to OCP and search for devworkspaceoperatorconfig resource: https://console-openshift-console.apps.ocp411.crw-qe.com/search/all-namespaces?kind=workspace.devfile.io%7Ev1alpha2%7EDevWorkspace%2Ccontroller.devfile.io%7Ev1alpha1%7EDevWorkspaceOperatorConfig%2Ccontroller.devfile.io%7Ev1alpha1%7EDevWorkspaceRouting%2Cworkspace.devfile.io%7Ev1alpha2%7EDevWorkspaceTemplate
Actual results:
There was "devworkspace-config" resource remained in "openshift-devspaces" namespace:
Expected results:
There are no DWO resources in OCP
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
Additional info (Such as Logs, Screenshots, etc):
- is related to
-
CRW-3441 [KI] It's not possible to re-deploy DWO operator after execution of "dsc server:delete --delete-all" command
- Closed