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

Workspace can not be started on DevSandbox - timed out waiting for the condition

XMLWordPrintable

    • False
    • False
    • Undefined

      The workspace fails to load sometimes, having a message in UI saying:

      Workspace failed to start
      Failure executing: POST at: https://172.30.0.1/api/v1/namespaces/codeready-workspaces-operator/configmaps. Message: timed out waiting for the condition. Received status: Status(apiVersion=v1, code=500, details=null, kind=Status, message=timed out waiting for the condition, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=null, status=Failure, additionalProperties={}).

      Logs from the server:

      2021-07-15 12:40:50,093[nio-8080-exec-7]  [INFO ] [o.e.c.a.w.s.WorkspaceManager 694]    - Workspace 'osio-ci-devsandbox-periodic/java-eap-maven-7hn7m' with id 'workspace71tn0aezdompty02' created by user 'osio-ci-devsandbox-periodic'
      2021-07-15 12:40:51,029[io-8080-exec-12]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 480]   - Starting workspace 'osio-ci-devsandbox-periodic/java-eap-maven-7hn7m' with id 'workspace71tn0aezdompty02' by user 'osio-ci-devsandbox-periodic'
      2021-07-15 12:42:21,858[ceSharedPool-28]  [WARN ] [.i.k.KubernetesInternalRuntime 257]  - Failed to start Kubernetes runtime of workspace workspace71tn0aezdompty02.
      io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://172.30.0.1/api/v1/namespaces/codeready-workspaces-operator/configmaps. Message: timed out waiting for the condition. Received status: Status(apiVersion=v1, code=500, details=null, kind=Status, message=timed out waiting for the condition, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=null, status=Failure, additionalProperties={}).
      	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:568)
      	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:507)
      	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:471)
      	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:430)
      	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:251)
      	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:815)
      	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:333)
      	at org.eclipse.che.workspace.infrastructure.kubernetes.namespace.CheNamespace.createConfigMap(CheNamespace.java:84)
      	at org.eclipse.che.workspace.infrastructure.kubernetes.namespace.CheNamespace.createConfigMaps(CheNamespace.java:111)
      	at org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime.createConfigMaps(KubernetesInternalRuntime.java:710)
      	at org.eclipse.che.workspace.infrastructure.openshift.OpenShiftInternalRuntime.startMachines(OpenShiftInternalRuntime.java:126)
      	at org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInternalRuntime.internalStart(KubernetesInternalRuntime.java:214)
      	at org.eclipse.che.api.workspace.server.spi.InternalRuntime.start(InternalRuntime.java:141)
      	at org.eclipse.che.api.workspace.server.WorkspaceRuntimes$StartRuntimeTask.run(WorkspaceRuntimes.java:969)
      	at org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:38)
      	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
      	at io.micrometer.core.instrument.internal.TimedRunnable.run(TimedRunnable.java:44)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at org.eclipse.che.commons.observability.CountedThreadFactory.lambda$newThread$0(CountedThreadFactory.java:75)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      2021-07-15 12:42:22,263[ceSharedPool-28]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 995]   - Workspace 'osio-ci-devsandbox-periodic:java-eap-maven-7hn7m' with id 'workspace71tn0aezdompty02' start failed 

      Test job with artifacts that caught it is here

              ibuziuk@redhat.com Ilya Buziuk
              kkanova Kateřina Foniok
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: