Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-10978

Topology UI still presents terminal snippet after terminal long gone

    XMLWordPrintable

Details

    • Low
    • No
    • ODC Sprint 3248
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Topology UI still presents terminal snippet after terminal long gone

      Version-Release number of selected component (if applicable):

      4.12.0

      How reproducible:

      Each time after logout/login to Dev Sandbox UI

      Steps to Reproduce:

      1. In Dev Sandbox UI on Mar 27th I've launched Web terminal window, did some activity and closed it.
      2. Now next day in Topology UI I could still see snippet with label "DW terminal-avby87"
      3. Checking deployments on my cluster:
      $ ./oc get deployment | grep workspace
      workspaceb5975d64dbc54983                  0/0     0            0           26d
      4. And trying to see describe of it (you could see in output - terminal-avby87):
       $ ./oc describe deployment workspaceb5975d64dbc54983
      Name:               workspaceb5975d64dbc54983
      Namespace:          andrejusc-dev
      CreationTimestamp:  Thu, 02 Mar 2023 13:48:04 +0000
      Labels:             controller.devfile.io/creator=4c247770-5162-4b67-8b39-dd89ef4d33d7
                          controller.devfile.io/devworkspace_id=workspaceb5975d64dbc54983
                          controller.devfile.io/devworkspace_name=terminal-avby87
      Annotations:        controller.devfile.io/restricted-access: true
                          deployment.kubernetes.io/revision: 2
      Selector:           controller.devfile.io/devworkspace_id=workspaceb5975d64dbc54983
      Replicas:           0 desired | 0 updated | 0 total | 0 available | 0 unavailable
      StrategyType:       Recreate
      MinReadySeconds:    0
      Pod Template:
        Labels:           controller.devfile.io/creator=4c247770-5162-4b67-8b39-dd89ef4d33d7
                          controller.devfile.io/devworkspace_id=workspaceb5975d64dbc54983
                          controller.devfile.io/devworkspace_name=terminal-avby87
        Annotations:      controller.devfile.io/restricted-access: true
        Service Account:  workspaceb5975d64dbc54983-sa
        Containers:
         web-terminal-tooling:
          Image:      registry.redhat.io/web-terminal/web-terminal-tooling-rhel8@sha256:9ff1f660fccd3a2f0515ba997d48ad87d2ba47c40b67062c74580bbea9446805
          Port:       <none>
          Host Port:  <none>
          Args:
            tail
            -f
            /dev/null
          Limits:
            cpu:     400m
            memory:  256Mi
          Requests:
            cpu:     100m
            memory:  128Mi
          Environment Variables from:
            che-idle-settings  ConfigMap  Optional: false
          Environment:
            DEVWORKSPACE_COMPONENT_NAME:     web-terminal-tooling
            DEVWORKSPACE_NAMESPACE:          andrejusc-dev
            DEVWORKSPACE_NAME:               terminal-avby87
            DEVWORKSPACE_ID:                 workspaceb5975d64dbc54983
            DEVWORKSPACE_CREATOR:            4c247770-5162-4b67-8b39-dd89ef4d33d7
            DEVWORKSPACE_IDLE_TIMEOUT:       15m
            DEVWORKSPACE_METADATA:           /devworkspace-metadata
            DEVWORKSPACE_FLATTENED_DEVFILE:  /devworkspace-metadata/flattened.devworkspace.yaml
            DEVWORKSPACE_ORIGINAL_DEVFILE:   /devworkspace-metadata/original.devworkspace.yaml
          Mounts:
            /.git-credentials/ from devworkspace-merged-git-credentials (ro)
            /config/user/profile from user-profile (ro)
            /devworkspace-metadata from workspace-metadata (ro)
            /etc/gitconfig from devworkspace-gitconfig (ro,path="gitconfig")
            /public-certs from che-trusted-ca-certs (ro)
            /var/serving-cert/ from devworkspace-serving-cert-workspaceb5975d64dbc54983-service (ro)
         web-terminal-exec:
          Image:      registry.redhat.io/web-terminal/web-terminal-exec-rhel8@sha256:48e5c77734c9237b9d6f68bae9d4f02bbe4741f8f774e12179d8603487474d1d
          Port:       4444/TCP
          Host Port:  0/TCP
          Command:
            /go/bin/che-machine-exec
            --authenticated-user-id
            $(DEVWORKSPACE_CREATOR)
            --idle-timeout
            $(WEB_TERMINAL_IDLE_TIMEOUT)
            --pod-selector
            controller.devfile.io/devworkspace_id=$(DEVWORKSPACE_ID)
            --use-tls
            --use-bearer-token
          Limits:
            cpu:     400m
            memory:  128Mi
          Requests:
            cpu:     100m
            memory:  128Mi
          Environment Variables from:
            che-idle-settings  ConfigMap  Optional: false
          Environment:
            DEVWORKSPACE_COMPONENT_NAME:     web-terminal-exec
            WEB_TERMINAL_IDLE_TIMEOUT:       15m
            DEVWORKSPACE_NAMESPACE:          andrejusc-dev
            DEVWORKSPACE_NAME:               terminal-avby87
            DEVWORKSPACE_ID:                 workspaceb5975d64dbc54983
            DEVWORKSPACE_CREATOR:            4c247770-5162-4b67-8b39-dd89ef4d33d7
            DEVWORKSPACE_IDLE_TIMEOUT:       15m
            DEVWORKSPACE_METADATA:           /devworkspace-metadata
            DEVWORKSPACE_FLATTENED_DEVFILE:  /devworkspace-metadata/flattened.devworkspace.yaml
            DEVWORKSPACE_ORIGINAL_DEVFILE:   /devworkspace-metadata/original.devworkspace.yaml
          Mounts:
            /.git-credentials/ from devworkspace-merged-git-credentials (ro)
            /config/user/profile from user-profile (ro)
            /devworkspace-metadata from workspace-metadata (ro)
            /etc/gitconfig from devworkspace-gitconfig (ro,path="gitconfig")
            /public-certs from che-trusted-ca-certs (ro)
            /var/serving-cert/ from devworkspace-serving-cert-workspaceb5975d64dbc54983-service (ro)
        Volumes:
         devworkspace-merged-git-credentials:
          Type:        Secret (a volume populated by a Secret)
          SecretName:  devworkspace-merged-git-credentials
          Optional:    false
         devworkspace-gitconfig:
          Type:      ConfigMap (a volume populated by a ConfigMap)
          Name:      devworkspace-gitconfig
          Optional:  false
         che-trusted-ca-certs:
          Type:      ConfigMap (a volume populated by a ConfigMap)
          Name:      che-trusted-ca-certs
          Optional:  false
         user-profile:
          Type:        Secret (a volume populated by a Secret)
          SecretName:  user-profile
          Optional:    false
         workspace-metadata:
          Type:      ConfigMap (a volume populated by a ConfigMap)
          Name:      workspaceb5975d64dbc54983-metadata
          Optional:  true
         devworkspace-serving-cert-workspaceb5975d64dbc54983-service:
          Type:        Secret (a volume populated by a Secret)
          SecretName:  workspaceb5975d64dbc54983-service
          Optional:    false
      Conditions:
        Type           Status  Reason
        ----           ------  ------
        Progressing    True    NewReplicaSetAvailable
        Available      True    MinimumReplicasAvailable
      OldReplicaSets:  <none>
      NewReplicaSet:   workspaceb5975d64dbc54983-5769f9fd46 (0/0 replicas created)
      Events:          <none>
      
      
      

      Actual results:

      After terminal closed - there should not be extra UI snippet in UI topology

      Expected results:

      After terminal closed - observed extra UI snippet in UI topology

      Additional info:

       

      Attachments

        Activity

          People

            avik6028 Avik Kundu
            andrejusc@yahoo.com Andrejus Chaliapinas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: