{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/401","repository_url":"https://api.github.com/repos/lxc/lxc","labels_url":"https://api.github.com/repos/lxc/lxc/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/401/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/401/events","html_url":"https://github.com/lxc/lxc/issues/401","id":54564406,"number":401,"title":"zfs snapshot does not deleted when deleting clone","user":{"login":"redixin","id":103634,"avatar_url":"https://avatars.githubusercontent.com/u/103634?v=3","gravatar_id":"","url":"https://api.github.com/users/redixin","html_url":"https://github.com/redixin","followers_url":"https://api.github.com/users/redixin/followers","following_url":"https://api.github.com/users/redixin/following{/other_user}","gists_url":"https://api.github.com/users/redixin/gists{/gist_id}","starred_url":"https://api.github.com/users/redixin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redixin/subscriptions","organizations_url":"https://api.github.com/users/redixin/orgs","repos_url":"https://api.github.com/users/redixin/repos","events_url":"https://api.github.com/users/redixin/events{/privacy}","received_events_url":"https://api.github.com/users/redixin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lxc/lxc/labels/Bug","name":"Bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lxc/lxc/milestones/12","html_url":"https://github.com/lxc/lxc/milestones/lxc-1.0.8","labels_url":"https://api.github.com/repos/lxc/lxc/milestones/12/labels","id":950819,"number":12,"title":"lxc-1.0.8","description":"","creator":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":1,"state":"closed","created_at":"2015-01-26T05:13:54Z","updated_at":"2016-03-04T14:38:56Z","due_on":null,"closed_at":"2016-02-01T10:40:22Z"},"comments":1,"created_at":"2015-01-16T11:13:17Z","updated_at":"2016-03-29T03:02:23Z","closed_at":null,"body":" # lxc-create -B zfs -n orig -t ubuntu\r\n ## ... skipped ...\r\n # lxc-clone -s orig snapshot\r\n could not find any snapshots to destroy; check snapshot names. # https://github.com/lxc/lxc/issues/213\r\n Created container snapshot as snapshot of orig\r\n # zfs list -t snapshot\r\n NAME                              USED  AVAIL  REFER  MOUNTPOINT\r\n tank/lxc/orig@snapshot               0      -   322M  -\r\n # lxc-destroy -n snapshot\r\n # zfs list -t snapshot\r\n NAME                              USED  AVAIL  REFER  MOUNTPOINT\r\n tank/lxc/orig@snapshot               0      -   322M  -\r\n # lxc-destroy -n orig\r\n cannot destroy 'tank/lxc/orig': filesystem has children\r\n use '-r' to destroy the following datasets:\r\n tank/lxc/orig@snapshot\r\n lxc_container: Error destroying rootfs for orig\r\n Destroying orig failed\r\n # lxc-create --version\r\n 1.0.6\r\n # cat /etc/issue\r\n Ubuntu 14.04.1 LTS \\n \\l"},"comment":{"url":"https://api.github.com/repos/lxc/lxc/issues/comments/202682716","html_url":"https://github.com/lxc/lxc/issues/401#issuecomment-202682716","issue_url":"https://api.github.com/repos/lxc/lxc/issues/401","id":202682716,"user":{"login":"naisanza","id":1614425,"avatar_url":"https://avatars.githubusercontent.com/u/1614425?v=3","gravatar_id":"","url":"https://api.github.com/users/naisanza","html_url":"https://github.com/naisanza","followers_url":"https://api.github.com/users/naisanza/followers","following_url":"https://api.github.com/users/naisanza/following{/other_user}","gists_url":"https://api.github.com/users/naisanza/gists{/gist_id}","starred_url":"https://api.github.com/users/naisanza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naisanza/subscriptions","organizations_url":"https://api.github.com/users/naisanza/orgs","repos_url":"https://api.github.com/users/naisanza/repos","events_url":"https://api.github.com/users/naisanza/events{/privacy}","received_events_url":"https://api.github.com/users/naisanza/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T03:02:23Z","updated_at":"2016-03-29T03:02:23Z","body":"Experiencing the same thing\r\n\r\n```\r\nLinux lxc 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n\r\nSnapshots created by lxc-copy are not destroyed when using lxc-destroy\r\n\r\n\r\n```\r\nroot@lxc:~# lxc version\r\n2.0.0.rc6\r\n```"}}