{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/2492","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/2492/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/2492/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/2492/events","html_url":"https://github.com/eclipse/che/issues/2492","id":177827813,"number":2492,"title":"\"undefined\" workspace name in modal dialog in case of error of starting workspace in Dashboard","user":{"login":"dmytro-ndp","id":1197777,"avatar_url":"https://avatars.githubusercontent.com/u/1197777?v=3","gravatar_id":"","url":"https://api.github.com/users/dmytro-ndp","html_url":"https://github.com/dmytro-ndp","followers_url":"https://api.github.com/users/dmytro-ndp/followers","following_url":"https://api.github.com/users/dmytro-ndp/following{/other_user}","gists_url":"https://api.github.com/users/dmytro-ndp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmytro-ndp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmytro-ndp/subscriptions","organizations_url":"https://api.github.com/users/dmytro-ndp/orgs","repos_url":"https://api.github.com/users/dmytro-ndp/repos","events_url":"https://api.github.com/users/dmytro-ndp/events{/privacy}","received_events_url":"https://api.github.com/users/dmytro-ndp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/che/labels/kind/bug","name":"kind/bug","color":"fc2929"},{"url":"https://api.github.com/repos/eclipse/che/labels/sprint/current-sprint","name":"sprint/current-sprint","color":"FFFFFF"},{"url":"https://api.github.com/repos/eclipse/che/labels/team/plugin","name":"team/plugin","color":"c2e0c6"}],"state":"closed","locked":false,"assignee":{"login":"olexii4","id":6310786,"avatar_url":"https://avatars.githubusercontent.com/u/6310786?v=3","gravatar_id":"","url":"https://api.github.com/users/olexii4","html_url":"https://github.com/olexii4","followers_url":"https://api.github.com/users/olexii4/followers","following_url":"https://api.github.com/users/olexii4/following{/other_user}","gists_url":"https://api.github.com/users/olexii4/gists{/gist_id}","starred_url":"https://api.github.com/users/olexii4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olexii4/subscriptions","organizations_url":"https://api.github.com/users/olexii4/orgs","repos_url":"https://api.github.com/users/olexii4/repos","events_url":"https://api.github.com/users/olexii4/events{/privacy}","received_events_url":"https://api.github.com/users/olexii4/received_events","type":"User","site_admin":false},"assignees":[{"login":"olexii4","id":6310786,"avatar_url":"https://avatars.githubusercontent.com/u/6310786?v=3","gravatar_id":"","url":"https://api.github.com/users/olexii4","html_url":"https://github.com/olexii4","followers_url":"https://api.github.com/users/olexii4/followers","following_url":"https://api.github.com/users/olexii4/following{/other_user}","gists_url":"https://api.github.com/users/olexii4/gists{/gist_id}","starred_url":"https://api.github.com/users/olexii4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olexii4/subscriptions","organizations_url":"https://api.github.com/users/olexii4/orgs","repos_url":"https://api.github.com/users/olexii4/repos","events_url":"https://api.github.com/users/olexii4/events{/privacy}","received_events_url":"https://api.github.com/users/olexii4/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/eclipse/che/milestones/15","html_url":"https://github.com/eclipse/che/milestones/5.0.0-M5","labels_url":"https://api.github.com/repos/eclipse/che/milestones/15/labels","id":2031728,"number":15,"title":"5.0.0-M5","description":null,"creator":{"login":"riuvshin","id":1636732,"avatar_url":"https://avatars.githubusercontent.com/u/1636732?v=3","gravatar_id":"","url":"https://api.github.com/users/riuvshin","html_url":"https://github.com/riuvshin","followers_url":"https://api.github.com/users/riuvshin/followers","following_url":"https://api.github.com/users/riuvshin/following{/other_user}","gists_url":"https://api.github.com/users/riuvshin/gists{/gist_id}","starred_url":"https://api.github.com/users/riuvshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riuvshin/subscriptions","organizations_url":"https://api.github.com/users/riuvshin/orgs","repos_url":"https://api.github.com/users/riuvshin/repos","events_url":"https://api.github.com/users/riuvshin/events{/privacy}","received_events_url":"https://api.github.com/users/riuvshin/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":21,"state":"open","created_at":"2016-09-27T13:01:08Z","updated_at":"2016-09-29T10:03:23Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-19T16:11:26Z","updated_at":"2016-09-29T10:03:23Z","closed_at":"2016-09-29T10:03:23Z","body":"**Reproduction Steps:**\r\n\r\n1. Create workspace **workspace1** with _RAM_ out of system resources.\r\n2. Start workspace.\r\n\r\n**Expected behavior:**\r\nModal dialog with error message:\r\n> Unable to start workspace. Error when trying to start the workspace: workspace1.\r\n\r\n**Observed behavior:**\r\nModal dialog with **\"undefined\"** workspace name inside:\r\n> Unable to start workspace. Error when trying to start the workspace: undefined.\r\n![undefined-workspace-name_2016-09-19](https://cloud.githubusercontent.com/assets/1197777/18639469/b2da9674-7e9c-11e6-848b-54d95016b0ee.png)\r\n\r\nWebSocket messages:\r\n\r\n> {\"headers\":[{\"name\":\"x-everrest-websocket-channel\",\"value\":\"workspace:workspace8fn7wdpy7oqedsny:machines_statuses\"},{\"name\":\"x-everrest-websocket-message-type\",\"value\":\"none\"}],\"responseCode\":0,\"body\":\"{\\\"machineId\\\":\\\"machinegewvl0lsmw21uin5\\\",\\\"eventType\\\":\\\"ERROR\\\",\\\"dev\\\":true,\\\"machineName\\\":\\\"dev-machine\\\",\\\"workspaceId\\\":\\\"workspace8fn7wdpy7oqedsny\\\"}\"}\r\n> \r\n> {\"headers\":[{\"name\":\"x-everrest-websocket-channel\",\"value\":\"workspace:workspace8fn7wdpy7oqedsny\"},{\"name\":\"x-everrest-websocket-message-type\",\"value\":\"none\"}],\"responseCode\":0,\"body\":\"{\\\"error\\\":\\\"Start of environment default failed. Error: The system is out of resources. Please contact your system admin.\\\",\\\"eventType\\\":\\\"ERROR\\\",\\\"workspaceId\\\":\\\"workspace8fn7wdpy7oqedsny\\\"}\"}\r\n> \r\n> \r\n\r\nWS Master error log:\r\n```\r\n2016-09-29 08:59:01,919[kspaceManager-0]  [ERROR] [o.e.c.a.w.s.WorkspaceManager 634]    - Start of environment workspace1 failed. Error: The system is out of resources. Please contact your\r\n system admin.\r\norg.eclipse.che.api.core.ServerException: Start of environment default failed. Error: The system is out of resources. Please contact your system admin.\r\n        at org.eclipse.che.api.workspace.server.WorkspaceRuntimes.start(WorkspaceRuntimes.java:277) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.api.workspace.server.WorkspaceManager.lambda$performAsyncStart$1(WorkspaceManager.java:618) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.api.workspace.server.WorkspaceManager$$Lambda$121/393050409.run(Unknown Source) [che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:28) [che-core-commons-lang-5.0.0-M3.jar:5.0.0-M3]\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]\r\n        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]\r\nCaused by: org.eclipse.che.api.core.ServerException: The system is out of resources. Please contact your system admin.\r\n        at org.eclipse.che.api.environment.server.CheEnvironmentEngine.startEnvironmentQueue(CheEnvironmentEngine.java:790) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.api.environment.server.CheEnvironmentEngine.start(CheEnvironmentEngine.java:242) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.api.workspace.server.WorkspaceRuntimes.start(WorkspaceRuntimes.java:246) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        ... 6 common frames omitted\r\nCaused by: org.eclipse.che.api.core.ServerException: The system is out of resources. Please contact your system admin.\r\n        at org.eclipse.che.api.environment.server.CheEnvironmentEngine.startInstance(CheEnvironmentEngine.java:879) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.api.environment.server.CheEnvironmentEngine.startEnvironmentQueue(CheEnvironmentEngine.java:725) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        ... 8 common frames omitted\r\nCaused by: org.eclipse.che.api.core.ServerException: The system is out of resources. Please contact your system admin.\r\n        at org.eclipse.che.plugin.docker.machine.MachineProviderImpl.startService(MachineProviderImpl.java:326) ~[che-plugin-docker-machine-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.api.environment.server.CheEnvironmentEngine.lambda$startEnvironmentQueue$8(CheEnvironmentEngine.java:699) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.api.environment.server.CheEnvironmentEngine$$Lambda$131/538914490.startMachine(Unknown Source) ~[na:na]\r\n        at org.eclipse.che.api.environment.server.CheEnvironmentEngine.startInstance(CheEnvironmentEngine.java:827) ~[che-core-api-workspace-5.0.0-M3.jar:5.0.0-M3]\r\n        ... 9 common frames omitted\r\nCaused by: org.eclipse.che.api.machine.server.exception.MachineException: The system is out of resources. Please contact your system admin.\r\n        at com.codenvy.machine.HostedMachineProviderImpl.pullImage(HostedMachineProviderImpl.java:153) ~[codenvy-machine-hosted-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.plugin.docker.machine.MachineProviderImpl.prepareImage(MachineProviderImpl.java:369) ~[che-plugin-docker-machine-5.0.0-M3.jar:5.0.0-M3]\r\n        at org.eclipse.che.plugin.docker.machine.MachineProviderImpl.startService(MachineProviderImpl.java:263) ~[che-plugin-docker-machine-5.0.0-M3.jar:5.0.0-M3]\r\n        ... 12 common frames omitted\r\nCaused by: org.eclipse.che.plugin.docker.client.exception.DockerException: The system is out of resources. Please contact your system admin.\r\n        at com.codenvy.swarm.client.SwarmDockerConnector.decorateMessage(SwarmDockerConnector.java:104) ~[codenvy-machine-hosted-5.0.0-M3.jar:5.0.0-M3]\r\n        at com.codenvy.swarm.client.SwarmDockerConnector.buildImage(SwarmDockerConnector.java:87) ~[codenvy-machine-hosted-5.0.0-M3.jar:5.0.0-M3]\r\n        at com.codenvy.machine.HostedMachineProviderImpl.pullImage(HostedMachineProviderImpl.java:142) ~[codenvy-machine-hosted-5.0.0-M3.jar:5.0.0-M3]\r\n        ... 14 common frames omitted\r\n\r\n```\r\n\r\n**Che version:**     5.0.0-M1\r\n**OS and version:** Ubuntu OS\r\n**Che install:**    Codenvy on-prem\r\n\r\n**Additional information:**\r\n\r\n* Problem started happening recently, didn't happen in an older version of Che: [No]\r\nIt is 5.0.0-M1 specific problem.\r\n\r\n* Problem can be reliably reproduced, doesn't happen randomly: [Yes]\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/250424022","html_url":"https://github.com/eclipse/che/issues/2492#issuecomment-250424022","issue_url":"https://api.github.com/repos/eclipse/che/issues/2492","id":250424022,"user":{"login":"olexii4","id":6310786,"avatar_url":"https://avatars.githubusercontent.com/u/6310786?v=3","gravatar_id":"","url":"https://api.github.com/users/olexii4","html_url":"https://github.com/olexii4","followers_url":"https://api.github.com/users/olexii4/followers","following_url":"https://api.github.com/users/olexii4/following{/other_user}","gists_url":"https://api.github.com/users/olexii4/gists{/gist_id}","starred_url":"https://api.github.com/users/olexii4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olexii4/subscriptions","organizations_url":"https://api.github.com/users/olexii4/orgs","repos_url":"https://api.github.com/users/olexii4/repos","events_url":"https://api.github.com/users/olexii4/events{/privacy}","received_events_url":"https://api.github.com/users/olexii4/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T10:03:22Z","updated_at":"2016-09-29T10:03:22Z","body":"2h"}}
{"actor":{"display_login":"olexii4"}}