{"action":"created","issue":{"url":"https://api.github.com/repos/roboconf/roboconf-platform/issues/389","labels_url":"https://api.github.com/repos/roboconf/roboconf-platform/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/roboconf/roboconf-platform/issues/389/comments","events_url":"https://api.github.com/repos/roboconf/roboconf-platform/issues/389/events","html_url":"https://github.com/roboconf/roboconf-platform/issues/389","id":94034415,"number":389,"title":"Target handler should detect when the agent cannot be started","user":{"login":"bourretp","id":613344,"avatar_url":"https://avatars.githubusercontent.com/u/613344?v=3","gravatar_id":"","url":"https://api.github.com/users/bourretp","html_url":"https://github.com/bourretp","followers_url":"https://api.github.com/users/bourretp/followers","following_url":"https://api.github.com/users/bourretp/following{/other_user}","gists_url":"https://api.github.com/users/bourretp/gists{/gist_id}","starred_url":"https://api.github.com/users/bourretp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bourretp/subscriptions","organizations_url":"https://api.github.com/users/bourretp/orgs","repos_url":"https://api.github.com/users/bourretp/repos","events_url":"https://api.github.com/users/bourretp/events{/privacy}","received_events_url":"https://api.github.com/users/bourretp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/roboconf/roboconf-platform/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"bourretp","id":613344,"avatar_url":"https://avatars.githubusercontent.com/u/613344?v=3","gravatar_id":"","url":"https://api.github.com/users/bourretp","html_url":"https://github.com/bourretp","followers_url":"https://api.github.com/users/bourretp/followers","following_url":"https://api.github.com/users/bourretp/following{/other_user}","gists_url":"https://api.github.com/users/bourretp/gists{/gist_id}","starred_url":"https://api.github.com/users/bourretp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bourretp/subscriptions","organizations_url":"https://api.github.com/users/bourretp/orgs","repos_url":"https://api.github.com/users/bourretp/repos","events_url":"https://api.github.com/users/bourretp/events{/privacy}","received_events_url":"https://api.github.com/users/bourretp/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/roboconf/roboconf-platform/milestones/5","html_url":"https://github.com/roboconf/roboconf-platform/milestones/0.5","labels_url":"https://api.github.com/repos/roboconf/roboconf-platform/milestones/5/labels","id":1020893,"number":5,"title":"0.5","description":"The version 0.5 of the Roboconf platform","creator":{"login":"vincent-zurczak","id":1104790,"avatar_url":"https://avatars.githubusercontent.com/u/1104790?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent-zurczak","html_url":"https://github.com/vincent-zurczak","followers_url":"https://api.github.com/users/vincent-zurczak/followers","following_url":"https://api.github.com/users/vincent-zurczak/following{/other_user}","gists_url":"https://api.github.com/users/vincent-zurczak/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-zurczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-zurczak/subscriptions","organizations_url":"https://api.github.com/users/vincent-zurczak/orgs","repos_url":"https://api.github.com/users/vincent-zurczak/repos","events_url":"https://api.github.com/users/vincent-zurczak/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-zurczak/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":5,"state":"open","created_at":"2015-03-13T20:07:47Z","updated_at":"2015-07-09T12:32:18Z","due_on":"2015-09-21T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-07-09T12:24:24Z","updated_at":"2015-07-09T14:46:20Z","closed_at":null,"body":"Issue #367 revealed that a the DM does not detect an error while starting the agent on a VM (cause was missing JVM). Result was that the VM keep staying in the `being deplyed` state... forever...\r\n\r\nA target handler *must* detect a fault in the agent startup, otherwise DM is polluted with unreachable/non-existing VMs, that cannot be removed/undeployed.\r\n\r\nWith docker, things should be pretty easy, as we keep a hand on the `docker run` process, and could analyse its output. However I don't know if other targets will be able to do so, mainly because things are getting truly distributed, and the DM may not distinguish a looooooooong agent startup from a failed one. Maybe a timeout would help?"},"comment":{"url":"https://api.github.com/repos/roboconf/roboconf-platform/issues/comments/120008914","html_url":"https://github.com/roboconf/roboconf-platform/issues/389#issuecomment-120008914","issue_url":"https://api.github.com/repos/roboconf/roboconf-platform/issues/389","id":120008914,"user":{"login":"bourretp","id":613344,"avatar_url":"https://avatars.githubusercontent.com/u/613344?v=3","gravatar_id":"","url":"https://api.github.com/users/bourretp","html_url":"https://github.com/bourretp","followers_url":"https://api.github.com/users/bourretp/followers","following_url":"https://api.github.com/users/bourretp/following{/other_user}","gists_url":"https://api.github.com/users/bourretp/gists{/gist_id}","starred_url":"https://api.github.com/users/bourretp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bourretp/subscriptions","organizations_url":"https://api.github.com/users/bourretp/orgs","repos_url":"https://api.github.com/users/bourretp/repos","events_url":"https://api.github.com/users/bourretp/events{/privacy}","received_events_url":"https://api.github.com/users/bourretp/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T14:46:20Z","updated_at":"2015-07-09T14:46:20Z","body":"Ok, renaming issue then..."}}