Restart workspace fail (OpenShift Dedicated, minishift)
See original GitHub issueDescribe 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
- Create workspace
- Stop workspace
- 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
andkubectl version
) - minishift (include output of
minishift version
andoc version
) - docker-desktop + K8S (include output of
docker version
andkubectl 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
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
Additional context
Could not reproduce before this commit: https://github.com/eclipse/che/commit/db46ad4979f6a82ac2278b410e73659c6463d676
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (25 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tolusha @ibuziuk yes have reproduced it with
chectl
andminishift
Deploy script is deprecated and removed. Any issues caused by that script make no sense.