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.

Restart workspace fail (OpenShift Dedicated, minishift)

See original GitHub issue

Describe the bug

Got error message during restarting early created workspaces. This reproduced not each time need to repeat restarting several times.

Che version

  • latest
  • nightly - 7.11.0-SNAPSHOT
  • other: please specify

Steps to reproduce

  1. Create workspace
  2. Stop workspace
  3. Try to restart it (probably need to repeat several times)

Got this error log:

Error: Failed to run the workspace: "Failure executing: POST at: https://172.30.0.1/api/v1/namespaces/eclipse-che/secrets. Message: object is being deleted: secrets "workspacetim1cx2edjv0re97-sshprivatekeys" already exists. Received status: Status(apiVersion=v1, code=409, details=StatusDetails(causes=[], group=null, kind=secrets, name=workspacetim1cx2edjv0re97-sshprivatekeys, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=object is being deleted: secrets "workspacetim1cx2edjv0re97-sshprivatekeys" already exists, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=AlreadyExists, status=Failure, additionalProperties={})."

Expected behavior

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)
oc version

Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0+b4261e0", GitCommit:"b4261e07ed", GitTreeState:"clean", BuildDate:"2019-07-06T03:16:01Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"darwin/amd64"}

Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.2", GitCommit:"4320e48", GitTreeState:"clean", BuildDate:"2020-01-21T19:50:59Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Screenshots

error-log

Installation method

  • chectl
  • che-operator
  • minishift-addon
  • I don’t know
  • oc apply for che-server, plugin and devfile registry

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (OCD che-dev Cluster)
  • other: please specify

Eclipse Che Logs

che-2-5kqgc-che.log

Additional context

Could not reproduce before this commit: https://github.com/eclipse/che/commit/db46ad4979f6a82ac2278b410e73659c6463d676

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
vparfonovcommented, Apr 3, 2020

@tolusha @ibuziuk yes have reproduced it with chectl and minishift

1reaction
tolushacommented, Apr 3, 2020

Deploy script is deprecated and removed. Any issues caused by that script make no sense.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Administration Guide Red Hat CodeReady Workspaces 2.0
In the OpenShift web console, click Applications → Pods to see a list of all the active workspaces. · Click on the name...
Read more >
minishift openshift restart - Command Reference | OKD 3.11
Synopsis. Restarts the OpenShift cluster and maintains the state of the Minishift VM.
Read more >
Pipelines | CI/CD | OpenShift Container Platform 4.8
The Buildah cluster task can fail when associated with a different service account with insufficient permissions. PipelineRun. A PipelineRun is a type of ......
Read more >
Developing Minishift - Contributing to Minishift | Minishift | OpenShift ...
Contains Go source files. Add the path of the root workspace directory to the GOPATH environment variable. For example: $ export GOPATH=$HOME/work.
Read more >
Red Hat CodeReady Workspacesをminishift環境で - Qiita
A running instance of Red Hat OpenShift Container Platform 3.11 or OpenShift Dedicated 3.11. To install OpenShift Container Platform, ...
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