{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/4465","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/4465/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/4465/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/4465/events","html_url":"https://github.com/lxc/lxd/issues/4465","id":315000225,"node_id":"MDU6SXNzdWUzMTUwMDAyMjU=","number":4465,"title":"Unable to access containers after reboot ","user":{"login":"HW-Siew","id":10137637,"node_id":"MDQ6VXNlcjEwMTM3NjM3","avatar_url":"https://avatars1.githubusercontent.com/u/10137637?v=4","gravatar_id":"","url":"https://api.github.com/users/HW-Siew","html_url":"https://github.com/HW-Siew","followers_url":"https://api.github.com/users/HW-Siew/followers","following_url":"https://api.github.com/users/HW-Siew/following{/other_user}","gists_url":"https://api.github.com/users/HW-Siew/gists{/gist_id}","starred_url":"https://api.github.com/users/HW-Siew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HW-Siew/subscriptions","organizations_url":"https://api.github.com/users/HW-Siew/orgs","repos_url":"https://api.github.com/users/HW-Siew/repos","events_url":"https://api.github.com/users/HW-Siew/events{/privacy}","received_events_url":"https://api.github.com/users/HW-Siew/received_events","type":"User","site_admin":false},"labels":[{"id":144672267,"node_id":"MDU6TGFiZWwxNDQ2NzIyNjc=","url":"https://api.github.com/repos/lxc/lxd/labels/Bug","name":"Bug","color":"eb6420","default":false},{"id":145665855,"node_id":"MDU6TGFiZWwxNDU2NjU4NTU=","url":"https://api.github.com/repos/lxc/lxd/labels/Incomplete","name":"Incomplete","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"freeekanayaka","id":598445,"node_id":"MDQ6VXNlcjU5ODQ0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/598445?v=4","gravatar_id":"","url":"https://api.github.com/users/freeekanayaka","html_url":"https://github.com/freeekanayaka","followers_url":"https://api.github.com/users/freeekanayaka/followers","following_url":"https://api.github.com/users/freeekanayaka/following{/other_user}","gists_url":"https://api.github.com/users/freeekanayaka/gists{/gist_id}","starred_url":"https://api.github.com/users/freeekanayaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeekanayaka/subscriptions","organizations_url":"https://api.github.com/users/freeekanayaka/orgs","repos_url":"https://api.github.com/users/freeekanayaka/repos","events_url":"https://api.github.com/users/freeekanayaka/events{/privacy}","received_events_url":"https://api.github.com/users/freeekanayaka/received_events","type":"User","site_admin":false},"assignees":[{"login":"freeekanayaka","id":598445,"node_id":"MDQ6VXNlcjU5ODQ0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/598445?v=4","gravatar_id":"","url":"https://api.github.com/users/freeekanayaka","html_url":"https://github.com/freeekanayaka","followers_url":"https://api.github.com/users/freeekanayaka/followers","following_url":"https://api.github.com/users/freeekanayaka/following{/other_user}","gists_url":"https://api.github.com/users/freeekanayaka/gists{/gist_id}","starred_url":"https://api.github.com/users/freeekanayaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeekanayaka/subscriptions","organizations_url":"https://api.github.com/users/freeekanayaka/orgs","repos_url":"https://api.github.com/users/freeekanayaka/repos","events_url":"https://api.github.com/users/freeekanayaka/events{/privacy}","received_events_url":"https://api.github.com/users/freeekanayaka/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/lxc/lxd/milestones/68","html_url":"https://github.com/lxc/lxd/milestone/68","labels_url":"https://api.github.com/repos/lxc/lxd/milestones/68/labels","id":3231255,"node_id":"MDk6TWlsZXN0b25lMzIzMTI1NQ==","number":68,"title":"lxd-3.1","description":"","creator":{"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},"open_issues":0,"closed_issues":22,"state":"closed","created_at":"2018-03-30T14:59:21Z","updated_at":"2018-05-15T16:50:03Z","due_on":"2018-05-15T07:00:00Z","closed_at":"2018-05-15T16:50:03Z"},"comments":23,"created_at":"2018-04-17T10:32:13Z","updated_at":"2018-07-20T16:19:22Z","closed_at":"2018-05-14T01:21:02Z","author_association":"NONE","body":"# Required information\r\n\r\n * Distribution: ubuntu \r\n * Distribution version: 16.04\r\n * The output of \"lxc info\" or if that fails:\r\n   * Kernel version: 4.4.0-1054-aws x86_64\r\n   * LXC version: 3.0.0\r\n   * LXD version: 3.0.0\r\n   * Storage backend in use : zfs\r\n\r\n# Issue description\r\n\r\nAfter reboot my machine, I tried to list the containers on the machine. it showed an error message below. \r\n\r\nlxc list\r\n`Error: Get http://unix.socket/1.0: dial unix /var/snap/lxd/common/lxd/unix.socket: connect: connection refused`\r\n\r\nNot really sure how to reproduce this. It happens right after I rebooted my machine.\r\n\r\nAdditional information\r\n\r\n```\r\nsudo lxd --group lxd\r\n`goroutine 31 [running]:\r\ngithub.com/CanonicalLtd/dqlite/internal/trace.(*Tracer).Panic(0xc4202b8dc0, 0xfbfd61, 0xd, 0x0, 0x0, 0x0)\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/CanonicalLtd/dqlite/internal/trace/tracer.go:57 +0x12c\r\ngithub.com/CanonicalLtd/dqlite/internal/replication.(*FSM).applyUndo(0xc4202815e0, 0xc4202b8dc0, 0xc421163058, 0x1, 0xc4202b8c80)\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/CanonicalLtd/dqlite/internal/replication/fsm.go:296 +0x209\r\ngithub.com/CanonicalLtd/dqlite/internal/replication.(*FSM).apply(0xc4202815e0, 0xc4202b8c80, 0xc420ff47b0, 0x6, 0x2ae219f700000001)\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/CanonicalLtd/dqlite/internal/replication/fsm.go:116 +0x4b6\r\ngithub.com/CanonicalLtd/dqlite/internal/replication.(*FSM).Apply(0xc4202815e0, 0xc420ff47b0, 0x0, 0x0)\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/CanonicalLtd/dqlite/internal/replication/fsm.go:81 +0xe2\r\ngithub.com/hashicorp/raft.(*Raft).runFSM.func1(0xc42023f360)\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/hashicorp/raft/fsm.go:57 +0x15a\r\ngithub.com/hashicorp/raft.(*Raft).runFSM(0xc42020d080)\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/hashicorp/raft/fsm.go:120 +0x2fa\r\ngithub.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runFSM)-fm()\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/hashicorp/raft/api.go:506 +0x2a\r\ngithub.com/hashicorp/raft.(*raftState).goFunc.func1(0xc42020d080, 0xc42018fe40)\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53\r\ncreated by github.com/hashicorp/raft.(*raftState).goFunc\r\n        /build/lxd-latest-candidate/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66`\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/406650608","html_url":"https://github.com/lxc/lxd/issues/4465#issuecomment-406650608","issue_url":"https://api.github.com/repos/lxc/lxd/issues/4465","id":406650608,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjY1MDYwOA==","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-07-20T16:19:22Z","updated_at":"2018-07-20T16:19:22Z","author_association":"MEMBER","body":"@krzysztofp @freeekanayaka may be able to help here. The easiest way for us to track this down and get you online as fast as possible is to make a tarball of /var/lib/lxd/database and send that to us.\r\n\r\nYou can send it to me at stgraber_at_ubuntu_dot_com and I'll forward it to @freeekanayaka "}}
{"actor":{"display_login":"stgraber"}}