{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/1183","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/1183/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/1183/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/1183/events","html_url":"https://github.com/lxc/lxd/issues/1183","id":109451895,"number":1183,"title":"\"lxc stop\" hangs","user":{"login":"joaocc","id":2837860,"avatar_url":"https://avatars.githubusercontent.com/u/2837860?v=3","gravatar_id":"","url":"https://api.github.com/users/joaocc","html_url":"https://github.com/joaocc","followers_url":"https://api.github.com/users/joaocc/followers","following_url":"https://api.github.com/users/joaocc/following{/other_user}","gists_url":"https://api.github.com/users/joaocc/gists{/gist_id}","starred_url":"https://api.github.com/users/joaocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaocc/subscriptions","organizations_url":"https://api.github.com/users/joaocc/orgs","repos_url":"https://api.github.com/users/joaocc/repos","events_url":"https://api.github.com/users/joaocc/events{/privacy}","received_events_url":"https://api.github.com/users/joaocc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2015-10-02T08:38:43Z","updated_at":"2016-07-26T17:37:21Z","closed_at":"2015-10-27T20:44:39Z","body":"Hi,\r\nI have been experimenting with LXD, targeting of moving from \"plain\" LXC.\r\n(using LXD 0.18-0ubuntu2~ubuntu14. from lxd-stable ppa)\r\n\r\n```bash\r\n\r\nlxc profile create my-default\r\nlxc profile device add my-default \"mnt_shared\" disk \"source=/lxd-mounts/guests.shared\"  \"path=/lxd-mnt/_shared\" readonly=false\r\nlxc launch :ubuntu1404 :d-glu -p my-default -p default\r\nlxc stop   :d-glu\r\nlxc config show :d-glu\r\nlxc config  device add :d-glu \"mnt_data\" disk source=/lxd-mounts/guests.data/d-glu path=/lxd-mnt/data  readonly=false\r\nlxc config  device add :d-glu \"mnt_bak\" disk source=/lxd-mounts/guests.bak/d-glu path=/lxd-mnt/bak   readonly=false\r\nlxc config  device add :d-glu \"mnt_glu1\" disk source=/lxd-mounts/d-glu.glu1 path=/lxd-mnt/glu1  readonly=false\r\nlxc config show :d-glu\r\n\r\nlxc config set :d-glu boot.autostart   true\r\nlxc config set :d-glu boot.autostart.delay   10\r\nlxc config set :d-glu boot.autostart.priority   10\r\nlxc config set :d-glu environment.ENV_IS_HERE   yes-it-is\r\nlxc config set :d-glu limits.cpus   2\r\nlxc config set :d-glu limits.memory   1024\r\n```\r\n\r\nTrying to do the actions above, \"lxc stop\" hangs (and the container keeps running).\r\nIf I kill \"lxc stop\" and then try it again it exits with ```error: exit status 254``` even though the container ends up being stopped.\r\n\r\nIdeally I would like to do this w/o having to start/stop the container, ie, by cloning it and leaving it stopped.\r\nSo, alternative ways of creating the container with this strategy would also be appreciated.\r\n\r\nThx"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/235345212","html_url":"https://github.com/lxc/lxd/issues/1183#issuecomment-235345212","issue_url":"https://api.github.com/repos/lxc/lxd/issues/1183","id":235345212,"user":{"login":"pcdummy","id":358074,"avatar_url":"https://avatars.githubusercontent.com/u/358074?v=3","gravatar_id":"","url":"https://api.github.com/users/pcdummy","html_url":"https://github.com/pcdummy","followers_url":"https://api.github.com/users/pcdummy/followers","following_url":"https://api.github.com/users/pcdummy/following{/other_user}","gists_url":"https://api.github.com/users/pcdummy/gists{/gist_id}","starred_url":"https://api.github.com/users/pcdummy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcdummy/subscriptions","organizations_url":"https://api.github.com/users/pcdummy/orgs","repos_url":"https://api.github.com/users/pcdummy/repos","events_url":"https://api.github.com/users/pcdummy/events{/privacy}","received_events_url":"https://api.github.com/users/pcdummy/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T17:37:21Z","updated_at":"2016-07-26T17:37:21Z","body":"@brauner thats a great archivement."}}
{"actor":{"display_login":"pcdummy"}}