Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2896

'dsc server:delete' command doesn't remove ClusterServiceVersion, which blocks following installation

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Workaround Exists
    • Hide

      Remove pending ClusterServiceVersion manually:

      $ oc delete csv/devspacesoperator.v3.0.0 -n openshit-operators
      clusterserviceversion.operators.coreos.com "devspacesoperator.v3.0.0" deleted
      
      Show
      Remove pending ClusterServiceVersion manually: $ oc delete csv/devspacesoperator.v3.0.0 -n openshit-operators clusterserviceversion.operators.coreos.com "devspacesoperator.v3.0.0" deleted

    Description

      OCP 4.10
      dsc/3.0.0-CI-redhat.66798e5 linux-x64 node-v16.13.2

      Uninstall pipeline logs: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/uninstall-ds/8/consoleFull

      dsc logs
       + /mnt/hudson_workspace/workspace/Testing/e2e/basic/uninstall-ds/dsc/bin/dsc server:delete --yes --listr-renderer=verbose
       [10:55:29] Verify Kubernetes API [started]
       › Current Kubernetes context: 'default/api-ocp410-dnochev-crw-qe-com:6443/admin'
       [10:55:29] Verify Kubernetes API...[OK] [title changed]
       [10:55:29] Verify Kubernetes API...[OK] [completed]
       [10:55:29] Delete OAuthClient [started]
       [10:55:29] Delete OAuthClient...[Ok] [title changed]
       [10:55:29] Delete OAuthClient...[Ok] [completed]
       [10:55:29] Delete Webhook Service webhook-service [started]
       [10:55:29] Delete Webhook Service webhook-service...[Ok] [title changed]
       [10:55:29] Delete Webhook Service webhook-service...[Ok] [completed]
       [10:55:29] Delete ConfigMap manager-config [started]
       [10:55:29] Delete ConfigMap manager-config...[Ok] [title changed]
       [10:55:29] Delete ConfigMap manager-config...[Ok] [completed]
       [10:55:29] Delete Issuer selfsigned-issuer [started]
       [10:55:29] Delete Issuer selfsigned-issuer...[Ok] [title changed]
       [10:55:29] Delete Issuer selfsigned-issuer...[Ok] [completed]
       [10:55:29] Delete Certificate serving-cert [started]
       [10:55:29] Delete Certificate serving-cert...[Ok] [title changed]
       [10:55:29] Delete Certificate serving-cert...[Ok] [completed]
       [10:55:29] Delete the Custom Resource of type checlusters.org.eclipse.che [started]
       [10:55:32] Delete the Custom Resource of type checlusters.org.eclipse.che...[Ok] [title changed]
       [10:55:32] Delete the Custom Resource of type checlusters.org.eclipse.che...[Ok] [completed]
       [10:55:32] Delete CRDs [started]
       [10:55:32] Delete CRDs...[Ok] [title changed]
       [10:55:32] Delete CRDs...[Ok] [completed]
       [10:55:32] Delete Roles and Bindings [started]
       [10:55:32] Delete Roles and Bindings...[Ok] [title changed]
       [10:55:32] Delete Roles and Bindings...[Ok] [completed]
       [10:55:32] Delete ServiceAccount devspaces-operator [started]
       [10:55:32] Delete ServiceAccount devspaces-operator...[Ok] [title changed]
       [10:55:32] Delete ServiceAccount devspaces-operator...[Ok] [completed]
       [10:55:32] Check if OLM is pre-installed on the platform [started]
       [10:55:32] Check if OLM is pre-installed on the platform: true...[OK] [title changed]
       [10:55:32] Check if OLM is pre-installed on the platform: true...[OK] [completed]
       [10:55:32] Check if operator is installed [started]
       [10:55:32] Check if operator is installed...[Found devspaces-subscription] [title changed]
       [10:55:33] Check if operator is installed...[Found devspaces-subscription] [completed]
       [10:55:33] Delete operator subscription [started]
       [10:55:33] Delete operator subscription...[Ok] [title changed]
       [10:55:33] Delete operator subscription...[Ok] [completed]
       [10:55:33] Delete Red Hat OpenShift Dev Spaces cluster service versions [started]
       [10:55:33] Delete Red Hat OpenShift Dev Spaces cluster service versions...[Ok] [title changed]
       [10:55:33] Delete Red Hat OpenShift Dev Spaces cluster service versions...[Ok] [completed]
       [10:55:33] Delete(OLM) custom catalog source devspaces-custom-catalog-source [started]
       [10:55:33] Delete(OLM) custom catalog source devspaces-custom-catalog-source...[Ok] [title changed]
       [10:55:33] Delete(OLM) custom catalog source devspaces-custom-catalog-source...[Ok] [completed]
       [10:55:33] Delete(OLM) nigthly catalog source eclipse-che-preview [started]
       [10:55:33] Delete(OLM) nigthly catalog source eclipse-che-preview...[Ok] [title changed]
       [10:55:33] Delete(OLM) nigthly catalog source eclipse-che-preview...[Ok] [completed]
       [10:55:33] Delete role prometheus-k8s [started]
       [10:55:33] Delete role prometheus-k8s...[Ok] [title changed]
       [10:55:33] Delete role prometheus-k8s...[Ok] [completed]
       [10:55:33] Delete role binding prometheus-k8s [started]
       [10:55:33] Delete role binding prometheus-k8s...[Ok] [title changed]
       [10:55:33] Delete role binding prometheus-k8s...[Ok] [completed]
       [10:55:33] Delete all deployments [started]
       [10:55:33] Delete all deployments...[Ok] [title changed]
       [10:55:33] Delete all deployments...[Ok] [completed]
       [10:55:33] Delete all services [started]
       [10:55:33] Delete all services...[Ok] [title changed]
       [10:55:33] Delete all services...[Ok] [completed]
       [10:55:33] Delete all ingresses [started]
       [10:55:33] Delete all ingresses...[Ok] [title changed]
       [10:55:33] Delete all ingresses...[Ok] [completed]
       [10:55:33] Delete ConfigMaps for Red Hat OpenShift Dev Spaces server and operator [started]
       [10:55:33] Delete ConfigMaps for Red Hat OpenShift Dev Spaces server and operator...[Ok] [title changed]
       [10:55:33] Delete ConfigMaps for Red Hat OpenShift Dev Spaces server and operator...[Ok] [completed]
       [10:55:33] Delete rolebindings che, che-workspace-exec and che-workspace-view [started]
       [10:55:33] Delete rolebindings che, che-workspace-exec and che-workspace-view...[Ok] [title changed]
       [10:55:33] Delete rolebindings che, che-workspace-exec and che-workspace-view...[Ok] [completed]
       [10:55:33] Delete service accounts che, che-workspace [started]
       [10:55:33] Delete service accounts che, che-workspace...[Ok] [title changed]
       [10:55:33] Delete service accounts che, che-workspace...[Ok] [completed]
       [10:55:33] Delete PVCs [started]
       [10:55:33] Delete PVCs...[Ok] [title changed]
       [10:55:33] Delete PVCs...[Ok] [completed]
       [10:55:33] Delete consoleLink che [started]
       [10:55:33] Delete consoleLink che...[Ok] [title changed]
       [10:55:33] Delete consoleLink che...[Ok] [completed]
       [10:55:33] Wait until Red Hat OpenShift Dev Spaces Server pod is deleted [started]
       [10:55:35] Wait until Red Hat OpenShift Dev Spaces Server pod is deleted...[Ok] [title changed]
       [10:55:35] Wait until Red Hat OpenShift Dev Spaces Server pod is deleted...[Ok] [completed]
       [10:55:35] Wait until Red Hat OpenShift Dev Spaces Dashboard pod is deleted [started]
       [10:56:03] Wait until Red Hat OpenShift Dev Spaces Dashboard pod is deleted...[Ok] [title changed]
       [10:56:03] Wait until Red Hat OpenShift Dev Spaces Dashboard pod is deleted...[Ok] [completed]
       [10:56:03] Wait until PostgreSQL pod is deleted [started]
       [10:56:03] Wait until PostgreSQL pod is deleted...[Ok] [title changed]
       [10:56:03] Wait until PostgreSQL pod is deleted...[Ok] [completed]
       [10:56:03] Wait until Devfile Registry pod is deleted [started]
       [10:56:03] Wait until Devfile Registry pod is deleted...[Ok] [title changed]
       [10:56:03] Wait until Devfile Registry pod is deleted...[Ok] [completed]
       [10:56:03] Wait until Plug-in Registry pod is deleted [started]
       [10:56:03] Wait until Plug-in Registry pod is deleted...[Ok] [title changed]
       [10:56:03] Wait until Plug-in Registry pod is deleted...[Ok] [completed]
       [10:56:03] Uninstall Dev Workspace Operator [started]
       [10:56:03] Uninstall Dev Workspace Operator [completed]
       Command server:delete has completed successfully in 00:35.
      

      Remaining ClusterServiceVersion:

      Remaining ClusterServiceVersion content: clusterserviceversion-devspacesoperator.v3.0.0.yaml

      Following up "server:deploy" command had failed:

      following up "server:deploy" command failure
       + /mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/bin/dsc server:deploy --che-operator-cr-patch-yaml=/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/custom-resource-patch.yaml --no-olm-suggested-namespace --package-manifest-name=devspaces --catalog-source-name=ds-3-0-osbs-stable --catalog-source-namespace=openshift-marketplace --olm-channel=stable --listr-renderer=verbose --platform=openshift
      
       › Installer type is set to: 'olm'
       [03:57:14] Verify Kubernetes API [started]
       › Current Kubernetes context: 'default/api-ocp410-dnochev-crw-qe-com:6443/admin'
       [03:57:14] Verify Kubernetes API...[OK] [title changed]
       [03:57:14] Verify Kubernetes API...[OK] [OpenShift] [title changed]
       [03:57:14] Verify Kubernetes API...[OK] [OpenShift] [completed]
       [03:57:14]   Looking for an already existing Red Hat OpenShift Dev Spaces instance [started]
       [03:57:14] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-workspaces" [started]
       [03:57:14] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-workspaces"...[Not Found] [title changed]
       [03:57:14] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-workspaces"...[Not Found] [completed]
       [03:57:14]   Looking for an already existing Red Hat OpenShift Dev Spaces instance [completed]
       [03:57:14]   Openshift preflight checklist [started]
       [03:57:14] Verify if oc is installed [started]
       [03:57:14] Verify if oc is installed...[OK] [title changed]
       [03:57:14] Verify if oc is installed...[OK] [completed]
       [03:57:14] Verify if openshift is running [started]
       [03:57:14] Verify if openshift is running...[OK] [title changed]
       [03:57:14] Verify if openshift is running...[OK] [completed]
       [03:57:14] Check OpenShift version [started]
       [03:57:14] Check OpenShift version: [4.x] [title changed]
       [03:57:14] Check OpenShift version: [4.x] [completed]
       [03:57:14] Check Kubernetes version [started]
       [03:57:14] Check Kubernetes version: [Unknown] [title changed]
       [03:57:14] Check Kubernetes version: [Unknown] [completed]
       [03:57:14]   Openshift preflight checklist [completed]
       [03:57:14] Following Red Hat OpenShift Dev Spaces logs [started]
       [03:57:14] Start following logs [started]
       [03:57:14] Start following logs...[OK] [title changed]
       [03:57:14] Start following logs...[OK] [completed]
       [03:57:14] Following Red Hat OpenShift Dev Spaces logs [completed]
       [03:57:14] Create Namespace openshift-workspaces [started]
       [03:57:14] Create Namespace openshift-workspaces...[Exists] [title changed]
       [03:57:14] Create Namespace openshift-workspaces...[Exists] [completed]
       [03:57:14]   Running Olm installation Red Hat OpenShift Dev Spaces [started]
       [03:57:14] Check if OLM is pre-installed on the platform [started]
       [03:57:14] Check if OLM is pre-installed on the platform...[OK] [title changed]
       [03:57:14] Check if OLM is pre-installed on the platform...[OK] [completed]
       [03:57:14] Configure context information [started]
       [03:57:14] Configure context information...[OK] [title changed]
       [03:57:14] Configure context information...[OK] [completed]
       [03:57:14] Create operator subscription [started]
       [03:57:14] Create operator subscription...[OK] [title changed]
       [03:57:14] Create operator subscription...[OK] [completed]
       [03:57:14] Wait while subscription is ready [started]
       [04:07:15] Wait while subscription is ready [failed]
       [04:07:15]  undefined
       [04:07:15]   Running Olm installation Red Hat OpenShift Dev Spaces [failed]
       [04:07:15]  Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
           Error: Command server:deploy failed. Error log: 
           /home/hudson/.cache/dsc/error.log.
      

      Attachments

        Activity

          People

            abazko Anatolii Bazko
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: