{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/5350","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/5350/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/5350/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/5350/events","html_url":"https://github.com/lxc/lxd/pull/5350","id":389999406,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3ODYzMTY0","number":5350,"title":"LXD init: Verify ZFS pool when in interactive mode.","user":{"login":"dnegreira","id":5215383,"node_id":"MDQ6VXNlcjUyMTUzODM=","avatar_url":"https://avatars3.githubusercontent.com/u/5215383?v=4","gravatar_id":"","url":"https://api.github.com/users/dnegreira","html_url":"https://github.com/dnegreira","followers_url":"https://api.github.com/users/dnegreira/followers","following_url":"https://api.github.com/users/dnegreira/following{/other_user}","gists_url":"https://api.github.com/users/dnegreira/gists{/gist_id}","starred_url":"https://api.github.com/users/dnegreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnegreira/subscriptions","organizations_url":"https://api.github.com/users/dnegreira/orgs","repos_url":"https://api.github.com/users/dnegreira/repos","events_url":"https://api.github.com/users/dnegreira/events{/privacy}","received_events_url":"https://api.github.com/users/dnegreira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-11T23:29:50Z","updated_at":"2018-12-12T21:39:04Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/lxc/lxd/pulls/5350","html_url":"https://github.com/lxc/lxd/pull/5350","diff_url":"https://github.com/lxc/lxd/pull/5350.diff","patch_url":"https://github.com/lxc/lxd/pull/5350.patch"},"body":"Follow up of: https://github.com/lxc/lxd/pull/5345\r\nThe ZFS pool is only verified at a later stage as soon LXD tries to create it.\r\n\r\nThis causes some frustration as we need to go through the whole lxd init process only to find out a mistake was made at a later stage.\r\n\r\nThis PR implements a function to verify if a ZFS pool exists and a check on the `lxd init` interactive process that calls that same function when a user defines the pool setting to have a ZFS backend."},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/446754038","html_url":"https://github.com/lxc/lxd/pull/5350#issuecomment-446754038","issue_url":"https://api.github.com/repos/lxc/lxd/issues/5350","id":446754038,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njc1NDAzOA==","user":{"login":"stgraber","id":2230599,"node_id":"MDQ6VXNlcjIyMzA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2230599?v=4","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},"created_at":"2018-12-12T21:39:04Z","updated_at":"2018-12-12T21:39:04Z","author_association":"MEMBER","body":"jenkins: test this please"}}
{"actor":{"display_login":"stgraber"}}