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

workspace pod gets stuck in terminating state when postStart command doesn't return

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      when a workspace fails to start, due to postStart command not exiting within timeout period, the workspace pod gets stuck in Terminating state and never gets deleted, which essentially prevent the underlying worker node from draining

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      • create an empty workspace.
      • update devfile.yaml so postStart command is a command that never returns such as `sleep inifinity`
      • stop the workspace from dasbhoard

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              okurinny Oleksii Kurinnyi
              cgruver@redhat.com Charro Gruver
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: