question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trying to stop a DevWorkspace make it restart

See original GitHub issue

Describe the bug

Apply spec: started : false and workspace is not stopped but restarted.

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

Start a DevWorkspace using Eclipse Che Edit DW and replace ‘spec/started: true’ by false

It restarts my workspace

https://user-images.githubusercontent.com/436777/112119234-78ff2900-8bbd-11eb-9a86-15f452da2c0f.mp4

Expected behavior

Workspace is stopped

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don’t know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify

Eclipse Che Logs

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
benoitfcommented, Mar 30, 2021

workspace is now stopped (and pods removed)

NAMESPACE   NAME               WORKSPACE ID                PHASE     INFO
user1-che   spring-petclinic   workspaceea5ac4ddc8354c9e   Stopped   Stopped
1reaction
dmytro-ndpcommented, Mar 25, 2021

@benoitf, @amisevsk, @sleshchenko: the issue is duplicating https://github.com/eclipse/che/issues/19379 and had already been fixed by https://github.com/eclipse/che-dashboard/pull/193 in Eclipse Che 7.28.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix the restart of che-code based workspaces #21085 - GitHub
Describe the bug Starting a devworkspace with che-code enabled fails to restart or start (if stopped). Code was enabled with url parameter.
Read more >
devworkspace-webhook-server Pod is in CrashLoopBackoff ...
The devworkspace-webhook-server-* Pod is crashing after removing the Web Terminal Operator: Raw. $ oc get pods -A | egrep -v ...
Read more >
Web terminal | Web console | OpenShift Container Platform 4.10
Uninstall the DevWorkspace Operator and its related custom resources that were added as a ... The Operator stops running and no longer receives...
Read more >
Using Kubectl to Restart a Kubernetes Pod - ContainIQ
... you need to quickly restart the running pod. This tutorial shows you how to use kubectl to do just that. ... Why...
Read more >
Dev workspace setup on Linux (Ubuntu) with Terminator, Oh ...
My working environment recently shifted from OS X to Linux after I joined Rated People as Front End Web Developer. The shift came...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found