{"action":"created","issue":{"url":"https://api.github.com/repos/sandia-minimega/minimega/issues/469","repository_url":"https://api.github.com/repos/sandia-minimega/minimega","labels_url":"https://api.github.com/repos/sandia-minimega/minimega/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/sandia-minimega/minimega/issues/469/comments","events_url":"https://api.github.com/repos/sandia-minimega/minimega/issues/469/events","html_url":"https://github.com/sandia-minimega/minimega/issues/469","id":143359786,"number":469,"title":"minimega: vm start should wait for vm launch","user":{"login":"jcrussell","id":831629,"avatar_url":"https://avatars.githubusercontent.com/u/831629?v=3","gravatar_id":"","url":"https://api.github.com/users/jcrussell","html_url":"https://github.com/jcrussell","followers_url":"https://api.github.com/users/jcrussell/followers","following_url":"https://api.github.com/users/jcrussell/following{/other_user}","gists_url":"https://api.github.com/users/jcrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrussell/subscriptions","organizations_url":"https://api.github.com/users/jcrussell/orgs","repos_url":"https://api.github.com/users/jcrussell/repos","events_url":"https://api.github.com/users/jcrussell/events{/privacy}","received_events_url":"https://api.github.com/users/jcrussell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sandia-minimega/minimega/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jcrussell","id":831629,"avatar_url":"https://avatars.githubusercontent.com/u/831629?v=3","gravatar_id":"","url":"https://api.github.com/users/jcrussell","html_url":"https://github.com/jcrussell","followers_url":"https://api.github.com/users/jcrussell/followers","following_url":"https://api.github.com/users/jcrussell/following{/other_user}","gists_url":"https://api.github.com/users/jcrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrussell/subscriptions","organizations_url":"https://api.github.com/users/jcrussell/orgs","repos_url":"https://api.github.com/users/jcrussell/repos","events_url":"https://api.github.com/users/jcrussell/events{/privacy}","received_events_url":"https://api.github.com/users/jcrussell/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sandia-minimega/minimega/milestones/4","html_url":"https://github.com/sandia-minimega/minimega/milestones/2.3","labels_url":"https://api.github.com/repos/sandia-minimega/minimega/milestones/4/labels","id":1268480,"number":4,"title":"2.3","description":"","creator":{"login":"djfritz","id":4811604,"avatar_url":"https://avatars.githubusercontent.com/u/4811604?v=3","gravatar_id":"","url":"https://api.github.com/users/djfritz","html_url":"https://github.com/djfritz","followers_url":"https://api.github.com/users/djfritz/followers","following_url":"https://api.github.com/users/djfritz/following{/other_user}","gists_url":"https://api.github.com/users/djfritz/gists{/gist_id}","starred_url":"https://api.github.com/users/djfritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djfritz/subscriptions","organizations_url":"https://api.github.com/users/djfritz/orgs","repos_url":"https://api.github.com/users/djfritz/repos","events_url":"https://api.github.com/users/djfritz/events{/privacy}","received_events_url":"https://api.github.com/users/djfritz/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":4,"state":"open","created_at":"2015-08-24T01:29:41Z","updated_at":"2016-03-25T13:49:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-03-24T21:07:41Z","updated_at":"2016-03-25T15:27:24Z","closed_at":null,"body":"Don't think this works anymore with namespaces."},"comment":{"url":"https://api.github.com/repos/sandia-minimega/minimega/issues/comments/201332803","html_url":"https://github.com/sandia-minimega/minimega/issues/469#issuecomment-201332803","issue_url":"https://api.github.com/repos/sandia-minimega/minimega/issues/469","id":201332803,"user":{"login":"jcrussell","id":831629,"avatar_url":"https://avatars.githubusercontent.com/u/831629?v=3","gravatar_id":"","url":"https://api.github.com/users/jcrussell","html_url":"https://github.com/jcrussell","followers_url":"https://api.github.com/users/jcrussell/followers","following_url":"https://api.github.com/users/jcrussell/following{/other_user}","gists_url":"https://api.github.com/users/jcrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/jcrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcrussell/subscriptions","organizations_url":"https://api.github.com/users/jcrussell/orgs","repos_url":"https://api.github.com/users/jcrussell/repos","events_url":"https://api.github.com/users/jcrussell/events{/privacy}","received_events_url":"https://api.github.com/users/jcrussell/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T15:27:24Z","updated_at":"2016-03-25T15:27:24Z","body":"Tried adding a `vmLaunch` Waitgroup to each namespace and having `cliVmStart` block on it for the active namespace so the scheduler can complete before we start anything. This creates a deadlock though since the thread running `cliVmStart` holds the `cmdLock` and is waiting on the scheduler to finish but that needs the `cmdLock` to finish. Should we unlock the `cmdLock` before waiting and then relock it?\r\n\r\nThere are so many locks, are we doing something wrong? The endless dance with `sync` continues..."}}