LINUX.ORG.RU
ФорумAdmin

lxd не восстанавливает контейнер из бекапа

 ,


1

1

Вот ошибка:

root@lxd:/home/user/backups# /snap/bin/lxc import --debug eee1 eee.tar.xz 
DBUG[09-08|18:42:35] Connecting to a local LXD over a Unix socket 
DBUG[09-08|18:42:35] Sending request to LXD                   etag= method=GET url=http://unix.socket/1.0
DBUG[09-08|18:42:35] Got response struct from LXD 
DBUG[09-08|18:42:35] 
	{
		"config": {
			"core.https_address": "[::]:8443",
			"core.trust_password": true
		},
		"api_extensions": [
			"storage_zfs_remove_snapshots",
			"container_host_shutdown_timeout",
			"container_stop_priority",
			"container_syscall_filtering",
			"auth_pki",
			"container_last_used_at",
			"etag",
			"patch",
			"usb_devices",
			"https_allowed_credentials",
			"image_compression_algorithm",
			"directory_manipulation",
			"container_cpu_time",
			"storage_zfs_use_refquota",
			"storage_lvm_mount_options",
			"network",
			"profile_usedby",
			"container_push",
			"container_exec_recording",
			"certificate_update",
			"container_exec_signal_handling",
			"gpu_devices",
			"container_image_properties",
			"migration_progress",
			"id_map",
			"network_firewall_filtering",
			"network_routes",
			"storage",
			"file_delete",
			"file_append",
			"network_dhcp_expiry",
			"storage_lvm_vg_rename",
			"storage_lvm_thinpool_rename",
			"network_vlan",
			"image_create_aliases",
			"container_stateless_copy",
			"container_only_migration",
			"storage_zfs_clone_copy",
			"unix_device_rename",
			"storage_lvm_use_thinpool",
			"storage_rsync_bwlimit",
			"network_vxlan_interface",
			"storage_btrfs_mount_options",
			"entity_description",
			"image_force_refresh",
			"storage_lvm_lv_resizing",
			"id_map_base",
			"file_symlinks",
			"container_push_target",
			"network_vlan_physical",
			"storage_images_delete",
			"container_edit_metadata",
			"container_snapshot_stateful_migration",
			"storage_driver_ceph",
			"storage_ceph_user_name",
			"resource_limits",
			"storage_volatile_initial_source",
			"storage_ceph_force_osd_reuse",
			"storage_block_filesystem_btrfs",
			"resources",
			"kernel_limits",
			"storage_api_volume_rename",
			"macaroon_authentication",
			"network_sriov",
			"console",
			"restrict_devlxd",
			"migration_pre_copy",
			"infiniband",
			"maas_network",
			"devlxd_events",
			"proxy",
			"network_dhcp_gateway",
			"file_get_symlink",
			"network_leases",
			"unix_device_hotplug",
			"storage_api_local_volume_handling",
			"operation_description",
			"clustering",
			"event_lifecycle",
			"storage_api_remote_volume_handling",
			"nvidia_runtime",
			"container_mount_propagation",
			"container_backup",
			"devlxd_images",
			"container_local_cross_pool_handling",
			"proxy_unix",
			"proxy_udp",
			"clustering_join",
			"proxy_tcp_udp_multi_port_handling",
			"network_state",
			"proxy_unix_dac_properties",
			"container_protection_delete",
			"unix_priv_drop",
			"pprof_http",
			"proxy_haproxy_protocol",
			"network_hwaddr",
			"proxy_nat",
			"network_nat_order",
			"container_full",
			"candid_authentication"
		],
		"api_status": "stable",
		"api_version": "1.0",
		"auth": "trusted",
		"public": false,
		"auth_methods": [
			"tls"
		],
		"environment": {
			"addresses": [
				"198.18.12.2:8443",
				"[2a01:d0:c353:183::2]:8443"
			],
			"architectures": [
				"x86_64",
				"i686"
			],
			"certificate": "-----BEGIN CERTIFICATE-----\nMIIFSTCCAzGgAwIBAgIQfnhbjhIdyPDhNRY0sa4PDjANBgkqhkiG9w0BAQsFADAx\nMRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMREwDwYDVQQDDAhyb290QGx4\nZDAeFw0xODA5MDUyMTAxNThaFw0yODA5MDIyMTAxNThaMDExHDAaBgNVBAoTE2xp\nbnV4Y29udGFpbmVycy5vcmcxETAPBgNVBAMMCHJvb3RAbHhkMIICIjANBgkqhkiG\n9w0BAQEFAAOCAg8AMIICCgKCAgEAylqioKuU5izbhATT0uFKo2pxBnZ+lTVQ4R4v\ngKLgA9Ju/9NcEZiEO7PBEjgZW/rcaA+xwZFjd9sDv43BIbWw8W6ebeLptvBQ80DJ\ntwgAeg/9Nt/OMFTrPCd08tEefuk9QGU08PTbadRmEQuKH3adM6tqte71tkuz6RIj\n7rWVTMaH8Lz31bKhLKmGYcBERbe9P3f4JF1swv5El9xgIyShtYsbnEKyhxyCiFz5\nHple5MTE/uwA3Qhj0+Ke0rKCO5+/rSu7s7QCPKnWKUghMP+w1va5pPG8v8zG4Yfr\n9hbftuOi1KukvsOo/xYtGSWR1OYJwvLhlkBcxpEL3/ez12RAAfRolQ0PYgsYOor/\n21q5GDG71BDg4OeUI1zXSGPBLKjfmIHphzBmz6IrP0+RkbU1bNmk+SDKfyhH8HZO\noLecv3ZT9oXd6Uw20HZSQJGmR/lmD3ZrlMxL/8GEqvCyybp1wIbsjO+olfRSOKC9\npxPS87t7MYuxATNeI1Z+IIIVEvlcacnQ3e8P6lBO9ITCHOvC5j6cUYS98dw+lDWX\n31QSpBk/kwa/7MxfSPTNkQxZZmNKOldSuZyUE4+Cb3CP+EftEStCCQCw5aRxkyw3\nd3Yu6ecwc0KVN6xK3d9/5H+0v0vkKcu2WxcXqyzV8w6n1Z9O0+IWGV0ZezIEu8UJ\nkatC1vcCAwEAAaNdMFswDgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUF\nBwMBMAwGA1UdEwEB/wQCMAAwJgYDVR0RBB8wHYIDbHhkhwTGEgwChxAqAQDQw1MB\ngwAAAAAAAAACMA0GCSqGSIb3DQEBCwUAA4ICAQBnuCIGz0RRZlH5CdGXgTCI25B+\nKHcCxxlRD5NMMOmUxiz8C0Cyye70O+GR5ysfXNrqKlMMAl7jm6GQHRfCTuKnej6g\ngSPZCZK29vI8rNkFRPEnoGVAjkUMV+tsftDoRGaE/BfPUl7HCWG5enAQz+TPRnNB\nDCCWIpCfewtfq6FAOmVCBSKgDLFxjPbMUsH/Ae+mb1j0KTWHrJC1DZJhTmFEHxBO\ngDB7qBA+N9Bf84sIkiy9NMudZ6Wj6C+AeE7cH/YmCuCz0pC7igcs0VgZrr17GN1F\nP3S+X+sDi/eF1HMzcPXR9NDy0aVHwr5e/BHh7tVTqzMjulX9QgoRmtQw49d2Nr7C\nR6g0vFYnQiBqwEe7dgBsCxeeREHclCp6oB3hgat9CP3nIDbe6yBA5UtrmiRf/1LB\nX8eh+jTntqaS60unB7R8o5vgKCbto/1SQL9v/ft12Gl3EApTI30mV6tT2o9CtTgf\n6x0+jzxXjmeOvPhNnbhljHalFMnNkR/loZjio0bSB2prm6g/UKKdamnkV4z2IfM5\nI1HEoi9jbGmqaws48WmtvR4qomV4o8urVNKfoNqc4IZMGOW9gGEhCzLMmW1pldAc\n0BtklWGTQzxuP7cN/xiOiZCuBk+FbtaaiVzgLIdBwLi65+74fcVwjA68l5ROJzS7\nZi/Esyji7m4YUfolhw==\n-----END CERTIFICATE-----\n",
			"certificate_fingerprint": "1634f22966e7fe9e353477c8962b003f9995c142af67da0a6c4b04a0f21316c1",
			"driver": "lxc",
			"driver_version": "3.0.2",
			"kernel": "Linux",
			"kernel_architecture": "x86_64",
			"kernel_version": "4.9.0-7-amd64",
			"server": "lxd",
			"server_pid": 4067,
			"server_version": "3.4",
			"storage": "lvm | dir",
			"storage_version": "2.02.133(2) (2015-10-30) / 1.02.110 (2015-10-30) / 4.35.0 | 1",
			"server_clustered": false,
			"server_name": "lxd"
		}
	} 
DBUG[09-08|18:42:35] Connected to the websocket 
DBUG[09-08|18:42:35] Sending request to LXD                   etag= method=POST url=http://unix.socket/1.0/containers
Importing container: 100% (47.18MB/s)Error: Post http://unix.socket/1.0/containers: EOF

Вот что происходит со стороны сервера:

root@lxd:/home/user/backups# lxd
WARN[09-08|20:39:36] AppArmor support has been disabled because of lack of kernel support 
WARN[09-08|20:39:36] CGroup memory swap accounting is disabled, swap limits will be ignored. 
WARN[09-08|20:39:36] Unable to update backup.yaml at this time name=dns
WARN[09-08|20:39:37] Unable to update backup.yaml at this time name=krasotka01
fatal error: runtime: out of memory

runtime stack:
runtime.throw(0x10ebe6e, 0x16)
	/build/lxd/parts/go/build/src/runtime/panic.go:616 +0x81
runtime.sysMap(0xc461ba0000, 0x40000000, 0x0, 0x1934698)
	/build/lxd/parts/go/build/src/runtime/mem_linux.go:216 +0x20a
runtime.(*mheap).sysAlloc(0x1912be0, 0x40000000, 0x0)
	/build/lxd/parts/go/build/src/runtime/malloc.go:470 +0xd4
runtime.(*mheap).grow(0x1912be0, 0x20000, 0x0)
	/build/lxd/parts/go/build/src/runtime/mheap.go:907 +0x60
runtime.(*mheap).allocSpanLocked(0x1912be0, 0x20000, 0x19346a8, 0xc4201c2f00)
	/build/lxd/parts/go/build/src/runtime/mheap.go:820 +0x301
runtime.(*mheap).alloc_m(0x1912be0, 0x20000, 0xffffffffffff0101, 0x7f67c5c25cd8)
	/build/lxd/parts/go/build/src/runtime/mheap.go:686 +0x118
runtime.(*mheap).alloc.func1()
	/build/lxd/parts/go/build/src/runtime/mheap.go:753 +0x4d
runtime.(*mheap).alloc(0x1912be0, 0x20000, 0x10101, 0xc4202a6300)
	/build/lxd/parts/go/build/src/runtime/mheap.go:752 +0x8a
runtime.largeAlloc(0x3ffffe00, 0x7f67c5c20101, 0xc4208221b0)
	/build/lxd/parts/go/build/src/runtime/malloc.go:826 +0x94
runtime.mallocgc.func1()
	/build/lxd/parts/go/build/src/runtime/malloc.go:721 +0x46
runtime.systemstack(0x7f6700000000)
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:409 +0x79
runtime.mstart()
	/build/lxd/parts/go/build/src/runtime/proc.go:1175

goroutine 1205 [running]:
runtime.systemstack_switch()
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:363 fp=0xc42053dca0 sp=0xc42053dc98 pc=0x462ec0
runtime.mallocgc(0x3ffffe00, 0xf47d00, 0xc461b9e001, 0xc42053dd78)
	/build/lxd/parts/go/build/src/runtime/malloc.go:720 +0x8a2 fp=0xc42053dd40 sp=0xc42053dca0 pc=0x41bf02
runtime.makeslice(0xf47d00, 0x3ffffe00, 0x3ffffe00, 0x4fb5aa, 0xc420182268, 0xc461b9e000)
	/build/lxd/parts/go/build/src/runtime/slice.go:61 +0x77 fp=0xc42053dd70 sp=0xc42053dd40 pc=0x44cea7
bytes.makeSlice(0x3ffffe00, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/bytes/buffer.go:230 +0x6d fp=0xc42053ddb0 sp=0xc42053dd70 pc=0x4bc71d
bytes.(*Buffer).grow(0xc420237d50, 0x200, 0x1e00)
	/build/lxd/parts/go/build/src/bytes/buffer.go:144 +0x151 fp=0xc42053de00 sp=0xc42053ddb0 pc=0x4bc0d1
bytes.(*Buffer).ReadFrom(0xc420237d50, 0x11f83a0, 0xc420182268, 0x7f67cf6b2e18, 0xc420237d50, 0x1)
	/build/lxd/parts/go/build/src/bytes/buffer.go:204 +0x48 fp=0xc42053de70 sp=0xc42053de00 pc=0x4bc538
io.copyBuffer(0x11f6d80, 0xc420237d50, 0x11f83a0, 0xc420182268, 0x0, 0x0, 0x0, 0xc420545cc0, 0x0, 0x114fb70)
	/build/lxd/parts/go/build/src/io/io.go:386 +0x31a fp=0xc42053dee0 sp=0xc42053de70 pc=0x47d19a
io.Copy(0x11f6d80, 0xc420237d50, 0x11f83a0, 0xc420182268, 0x1, 0xc4206d8dc0, 0xb2)
	/build/lxd/parts/go/build/src/io/io.go:362 +0x5a fp=0xc42053df40 sp=0xc42053dee0 pc=0x47cd4a
os/exec.(*Cmd).writerDescriptor.func1(0x114f8d0, 0x0)
	/build/lxd/parts/go/build/src/os/exec/exec.go:275 +0x4d fp=0xc42053dfa0 sp=0xc42053df40 pc=0x71087d
os/exec.(*Cmd).Start.func1(0xc420674c60, 0xc420180280)
	/build/lxd/parts/go/build/src/os/exec/exec.go:396 +0x27 fp=0xc42053dfd0 sp=0xc42053dfa0 pc=0x7108f7
runtime.goexit()
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc42053dfd8 sp=0xc42053dfd0 pc=0x465a51
created by os/exec.(*Cmd).Start
	/build/lxd/parts/go/build/src/os/exec/exec.go:395 +0x5df

goroutine 1 [select, 1 minutes]:
main.(*cmdDaemon).Run(0xc4202963e0, 0xc4202be780, 0x1932970, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main_daemon.go:73 +0x55e
main.(*cmdDaemon).Run-fm(0xc4202be780, 0x1932970, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main_daemon.go:36 +0x52
github.com/spf13/cobra.(*Command).execute(0xc4202be780, 0xc420030210, 0x0, 0x0, 0xc4202be780, 0xc420030210)
	/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:762 +0x468
github.com/spf13/cobra.(*Command).ExecuteC(0xc4202be780, 0x0, 0xc4202c6f00, 0xc4202c6f00)
	/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:852 +0x30a
github.com/spf13/cobra.(*Command).Execute(0xc4202be780, 0xc4202a7e00, 0x1)
	/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:800 +0x2b
main.main()
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main.go:164 +0xea3

goroutine 5 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
	/build/lxd/parts/go/build/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
	/build/lxd/parts/go/build/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
	/build/lxd/parts/go/build/src/os/signal/signal_unix.go:28 +0x41

goroutine 13 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7f67cf6eae30, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4202e8518, 0x72, 0xc42017c100, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4202e8518, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc4202e8500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc4202e8500, 0xc420064e68, 0x40b2c7, 0xc420301f20)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc4202e1da0, 0x462180, 0xc420064eb0, 0xc420064eb8)
	/build/lxd/parts/go/build/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc4202e1da0, 0x114f3a0, 0xc420301ea0, 0x1205160, 0xc42033cd20)
	/build/lxd/parts/go/build/src/net/unixsock.go:253 +0x49
net/http.(*Server).Serve(0xc420193ee0, 0x12021a0, 0xc4202e1da0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/http/server.go:2770 +0x1a5
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0xffffffffffffffff, 0xc4201b61d8)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:268 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc4200c28c0, 0xc4202962c0)
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:163 +0x2b
created by gopkg.in/tomb%2ev2.(*Tomb).Go
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:159 +0xb9

goroutine 19 [select, 1 minutes]:
database/sql.(*DB).connectionOpener(0xc4202af720, 0x12050a0, 0xc4202bd140)
	/build/lxd/parts/go/build/src/database/sql/sql.go:935 +0x119
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:634 +0x178

goroutine 20 [select, 1 minutes]:
database/sql.(*DB).connectionResetter(0xc4202af720, 0x12050a0, 0xc4202bd140)
	/build/lxd/parts/go/build/src/database/sql/sql.go:948 +0x12a
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:635 +0x1ae

goroutine 12 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7f67cf6ead60, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4202e8718, 0x72, 0xc420084000, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4202e8718, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc4202e8700, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc4202e8700, 0xc420543e68, 0x41c1a8, 0x30)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc4202e1e00, 0x575d4a, 0x1047e00, 0xc42033cc60)
	/build/lxd/parts/go/build/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc4202e1e00, 0xc4200380d8, 0xf88b60, 0x18ade40, 0x10b6060)
	/build/lxd/parts/go/build/src/net/unixsock.go:253 +0x49
net/http.(*Server).Serve(0xc4202ca000, 0x12021a0, 0xc4202e1e00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/http/server.go:2770 +0x1a5
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x43e638, 0x114f8d0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:268 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc4200c28c0, 0xc420296160)
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:163 +0x2b
created by gopkg.in/tomb%2ev2.(*Tomb).Go
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:159 +0xb9

goroutine 199 [syscall, 1 minutes]:
syscall.Syscall(0x0, 0x13, 0xc42071c000, 0x64640, 0x7f67cf6b1800, 0x190d640, 0xc420085610)
	/build/lxd/parts/go/build/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x13, 0xc42071c000, 0x64640, 0x64640, 0xf47d00, 0x20001, 0xc42071c000)
	/build/lxd/parts/go/build/src/syscall/zsyscall_linux_amd64.go:749 +0x5f
syscall.Read(0x13, 0xc42071c000, 0x64640, 0x64640, 0x64640, 0x64640, 0xc42003dc20)
	/build/lxd/parts/go/build/src/syscall/syscall_unix.go:162 +0x49
main.deviceInotifyWatcher.func1(0xc4206a6a20, 0xc42003c540)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:1728 +0x8a
created by main.deviceInotifyWatcher
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:1725 +0x67

goroutine 655 [select, 1 minutes, locked to thread]:
runtime.gopark(0x114fa38, 0x0, 0x10d7808, 0x6, 0x18, 0x1)
	/build/lxd/parts/go/build/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc42063c750, 0xc4206a4c60)
	/build/lxd/parts/go/build/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
	/build/lxd/parts/go/build/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:2361 +0x1

goroutine 28 [select]:
github.com/hashicorp/raft.(*Raft).leaderLoop(0xc4201f8840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/raft.go:501 +0x415
github.com/hashicorp/raft.(*Raft).runLeader(0xc4201f8840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/raft.go:420 +0x385
github.com/hashicorp/raft.(*Raft).run(0xc4201f8840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/raft.go:140 +0x67
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.run)-fm()
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/api.go:505 +0x2a
github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc4201f8840, 0xc42016d4a0)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53
created by github.com/hashicorp/raft.(*raftState).goFunc
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66

goroutine 29 [select, 1 minutes]:
github.com/hashicorp/raft.(*Raft).runFSM(0xc4201f8840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/fsm.go:116 +0x1e7
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runFSM)-fm()
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/api.go:506 +0x2a
github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc4201f8840, 0xc42016d4b0)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53
created by github.com/hashicorp/raft.(*raftState).goFunc
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66

goroutine 30 [select, 1 minutes]:
github.com/hashicorp/raft.(*Raft).runSnapshots(0xc4201f8840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/snapshot.go:71 +0x152
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runSnapshots)-fm()
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/api.go:507 +0x2a
github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc4201f8840, 0xc42016d4c0)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53
created by github.com/hashicorp/raft.(*raftState).goFunc
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66

goroutine 31 [syscall, locked to thread]:
github.com/CanonicalLtd/go-dqlite/internal/bindings._Cfunc_dqlite_server_run(0x38d6320, 0x0)
	_cgo_gotypes.go:398 +0x49
github.com/CanonicalLtd/go-dqlite/internal/bindings.(*Server).Run.func1(0x38d6320, 0xc42053b790)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/internal/bindings/server.go:137 +0x56
github.com/CanonicalLtd/go-dqlite/internal/bindings.(*Server).Run(0x38d6320, 0x114f750, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/internal/bindings/server.go:137 +0x2f
github.com/CanonicalLtd/go-dqlite.(*Server).run(0xc4202eb3b0)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:131 +0x54
created by github.com/CanonicalLtd/go-dqlite.NewServer
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:88 +0x2be

goroutine 32 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7f67cf6eaf00, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42018e298, 0x72, 0xc42017c000, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42018e298, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42018e280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc42018e280, 0xc420351f68, 0x7ab9d3, 0xc42000e9a8)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc420233f80, 0xc42000e9a0, 0x0, 0x1400000000)
	/build/lxd/parts/go/build/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc420233f80, 0x120c1c0, 0xc42000e9a0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/unixsock.go:253 +0x49
github.com/CanonicalLtd/go-dqlite.(*Server).acceptLoop(0xc4202eb3b0)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:138 +0x73
created by github.com/CanonicalLtd/go-dqlite.NewServer
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:94 +0x2fb

goroutine 14 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7f67cf6eac90, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4202e8898, 0x72, 0xc42017da00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4202e8898, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc4202e8880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc4202e8880, 0xc42033cd50, 0x0, 0x190d640)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42000e970, 0x114fb70, 0xc4200bc900, 0xc4200c2be0)
	/build/lxd/parts/go/build/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc42000e970, 0xc420537601, 0xc42033cd50, 0xc420537698, 0x575d4a)
	/build/lxd/parts/go/build/src/net/tcpsock.go:259 +0x49
github.com/lxc/lxd/lxd/endpoints.(*networkListener).Accept(0xc42033c060, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/network.go:168 +0x44
net/http.(*Server).Serve(0xc420193ee0, 0x12008e0, 0xc42033c060, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/http/server.go:2770 +0x1a5
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:268 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc4200c28c0, 0xc420296460)
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:163 +0x2b
created by gopkg.in/tomb%2ev2.(*Tomb).Go
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:159 +0xb9

goroutine 15 [select, 1 minutes]:
database/sql.(*DB).connectionOpener(0xc420015860, 0x12050a0, 0xc42017da00)
	/build/lxd/parts/go/build/src/database/sql/sql.go:935 +0x119
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:634 +0x178

goroutine 16 [select, 1 minutes]:
database/sql.(*DB).connectionResetter(0xc420015860, 0x12050a0, 0xc42017da00)
	/build/lxd/parts/go/build/src/database/sql/sql.go:948 +0x12a
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:635 +0x1ae

goroutine 198 [chan receive, 1 minutes]:
main.deviceInotifyHandler(0xc4206a6a20)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:2083 +0x65
created by main.(*Daemon).init
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:632 +0x1400

goroutine 188 [select, 1 minutes]:
main.deviceEventListener(0xc4206d63c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:857 +0x1fc
created by main.(*Daemon).init
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:623 +0x1244

goroutine 164 [syscall, 1 minutes]:
syscall.Syscall(0x0, 0x15, 0xc4206f2000, 0x1000, 0x541b004982f6a069, 0xc420069c78, 0x415c60)
	/build/lxd/parts/go/build/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x15, 0xc4206f2000, 0x1000, 0x1000, 0xc42037b0e8, 0xc42037b0e0, 0xc42037b0e0)
	/build/lxd/parts/go/build/src/syscall/zsyscall_linux_amd64.go:749 +0x5f
syscall.Read(0x15, 0xc4206f2000, 0x1000, 0x1000, 0xc42037b168, 0x0, 0x2)
	/build/lxd/parts/go/build/src/syscall/syscall_unix.go:162 +0x49
main.deviceNetlinkListener.func1(0x800, 0x15, 0xc4202e2480, 0xc4202da060, 0xc4202da0c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:426 +0xc8
created by main.deviceNetlinkListener
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:423 +0x1d9

goroutine 217 [select, 1 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc4202f6d20, 0x12050a0, 0xc4206d03c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc4202f6d20, 0xc4206d31f0, 0xc4202cbbf0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 218 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc4202f6d40, 0x12050a0, 0xc4206d03c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc4202f6d40, 0xc4206d31f0, 0xc4202cbbf0, 0x1)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 219 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc4202f6d60, 0x12050a0, 0xc4206d03c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc4202f6d60, 0xc4206d31f0, 0xc4202cbbf0, 0x2)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 220 [select, 1 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc4202f6d80, 0x12050a0, 0xc4206d03c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc4202f6d80, 0xc4206d31f0, 0xc4202cbbf0, 0x3)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 221 [select, 1 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc4202f6da0, 0x12050a0, 0xc4206d03c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc4202f6da0, 0xc4206d31f0, 0xc4202cbbf0, 0x4)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 222 [select, 1 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc4202f6de0, 0x12050a0, 0xc4206d03c0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc4202f6de0, 0xc4206d31f0, 0xc4202cbbf0, 0x5)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 1224 [syscall, 1 minutes]:
syscall.Syscall6(0xf7, 0x1, 0x10c3, 0xc421b3f2b8, 0x1000004, 0x0, 0x0, 0x0, 0xc42005bc00, 0x0)
	/build/lxd/parts/go/build/src/syscall/asm_linux_amd64.s:44 +0x5
os.(*Process).blockUntilWaitable(0xc421d45a70, 0x0, 0x0, 0x2)
	/build/lxd/parts/go/build/src/os/wait_waitid.go:31 +0x98
os.(*Process).wait(0xc421d45a70, 0xc420180220, 0xc420674d38, 0xc420674d38)
	/build/lxd/parts/go/build/src/os/exec_unix.go:22 +0x3c
os.(*Process).Wait(0xc421d45a70, 0x114f660, 0x114f668, 0x114f658)
	/build/lxd/parts/go/build/src/os/exec.go:123 +0x2b
os/exec.(*Cmd).Wait(0xc420674c60, 0x0, 0x0)
	/build/lxd/parts/go/build/src/os/exec/exec.go:461 +0x5c
os/exec.(*Cmd).Run(0xc420674c60, 0xc420237dc0, 0xc421b3f628)
	/build/lxd/parts/go/build/src/os/exec/exec.go:305 +0x5c
github.com/lxc/lxd/shared.RunCommandWithFds(0x11f83a0, 0xc42000ead0, 0x11f6d80, 0xc420237d50, 0x10d4d3b, 0x4, 0xc421b3f628, 0x1, 0x1, 0xc421b3f638, ...)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/shared/util.go:945 +0x125
main.getBackupInfo(0x11f83a0, 0xc42000ead0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/backup.go:148 +0xcd
main.createFromBackup(0xc4202cbba0, 0x7f67cf654a90, 0xc4202bdb40, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/containers_post.go:555 +0x195
main.containersPost(0xc4202cbba0, 0xc420132300, 0x11fd3e0, 0xc42079b8e0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/containers_post.go:614 +0x103f
main.(*Daemon).createCmd.func1(0x1202460, 0xc420382e00, 0xc420132300)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:303 +0x8d5
net/http.HandlerFunc.ServeHTTP(0xc4200aa550, 0x1202460, 0xc420382e00, 0xc420132300)
	/build/lxd/parts/go/build/src/net/http/server.go:1947 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42021c000, 0x1202460, 0xc420382e00, 0xc420132300)
	/build/lxd/parts/lxd/go/src/github.com/gorilla/mux/mux.go:162 +0xed
main.(*lxdHttpServer).ServeHTTP(0xc4202f54b0, 0x1202460, 0xc420382e00, 0xc4201c9f00)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/api.go:76 +0xa4
net/http.serverHandler.ServeHTTP(0xc420193ee0, 0x1202460, 0xc420382e00, 0xc4201c9f00)
	/build/lxd/parts/go/build/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc420301ea0, 0x12050a0, 0xc4202bda00)
	/build/lxd/parts/go/build/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
	/build/lxd/parts/go/build/src/net/http/server.go:2795 +0x27b

goroutine 1204 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7f67cf6ea7b0, 0x72, 0xc421d33e58)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4201f6498, 0x72, 0xffffffffffffff00, 0x11f9820, 0x18c7800)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4201f6498, 0xc42045a400, 0x1, 0x1)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4201f6480, 0xc42045a4f1, 0x1, 0x1, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc4201f6480, 0xc42045a4f1, 0x1, 0x1, 0x0, 0xc421d33f58, 0xc421d33fa8)
	/build/lxd/parts/go/build/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000eac0, 0xc42045a4f1, 0x1, 0x1, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/net.go:176 +0x6a
net/http.(*connReader).backgroundRead(0xc42045a4e0)
	/build/lxd/parts/go/build/src/net/http/server.go:668 +0x5a
created by net/http.(*connReader).startBackgroundRead
	/build/lxd/parts/go/build/src/net/http/server.go:664 +0xce

goroutine 1219 [chan receive, 1 minutes]:
main.eventsSocket(0xc4201c9e00, 0x1202460, 0xc420382460, 0xfca840, 0xc42000eab8)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/events.go:119 +0x34f
main.(*eventsServe).Render(0xc42000eab8, 0x1202460, 0xc420382460, 0xc42000eab8, 0xffffffffffffffff)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/events.go:83 +0x42
main.(*Daemon).createCmd.func1(0x1202460, 0xc420382460, 0xc4201c9e00)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:317 +0x6dd
net/http.HandlerFunc.ServeHTTP(0xc4200ab5e0, 0x1202460, 0xc420382460, 0xc4201c9e00)
	/build/lxd/parts/go/build/src/net/http/server.go:1947 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc42021c000, 0x1202460, 0xc420382460, 0xc4201c9e00)
	/build/lxd/parts/lxd/go/src/github.com/gorilla/mux/mux.go:162 +0xed
main.(*lxdHttpServer).ServeHTTP(0xc4202f54b0, 0x1202460, 0xc420382460, 0xc4201c9c00)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/api.go:76 +0xa4
net/http.serverHandler.ServeHTTP(0xc420193ee0, 0x1202460, 0xc420382460, 0xc4201c9c00)
	/build/lxd/parts/go/build/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc420301d60, 0x12050a0, 0xc4202bd7c0)
	/build/lxd/parts/go/build/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
	/build/lxd/parts/go/build/src/net/http/server.go:2795 +0x27b

goroutine 1206 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7f67cf6eaaf0, 0x72, 0xc4214fbce8)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42044c798, 0x72, 0xffffffffffffff01, 0x11f9820, 0x18c7800)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42044c798, 0xc420606201, 0x200, 0x200)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42044c780, 0xc420606200, 0x200, 0x200, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:157 +0x17d
os.(*File).read(0xc4201822f0, 0xc420606200, 0x200, 0x200, 0xc420606200, 0x0, 0x0)
	/build/lxd/parts/go/build/src/os/file_unix.go:226 +0x4e
os.(*File).Read(0xc4201822f0, 0xc420606200, 0x200, 0x200, 0xc420545d34, 0xc4214fbeb8, 0xc4214fbe60)
	/build/lxd/parts/go/build/src/os/file.go:107 +0x6a
bytes.(*Buffer).ReadFrom(0xc420237dc0, 0x11f83a0, 0xc4201822f0, 0x7f67cf6b2e18, 0xc420237dc0, 0x438201)
	/build/lxd/parts/go/build/src/bytes/buffer.go:205 +0xa0
io.copyBuffer(0x11f6d80, 0xc420237dc0, 0x11f83a0, 0xc4201822f0, 0x0, 0x0, 0x0, 0xc420167f20, 0x40e766, 0xc420138600)
	/build/lxd/parts/go/build/src/io/io.go:386 +0x31a
io.Copy(0x11f6d80, 0xc420237dc0, 0x11f83a0, 0xc4201822f0, 0x575043, 0xc4214fbf98, 0x40f4cb)
	/build/lxd/parts/go/build/src/io/io.go:362 +0x5a
os/exec.(*Cmd).writerDescriptor.func1(0x7731ae, 0xc4201f6600)
	/build/lxd/parts/go/build/src/os/exec/exec.go:275 +0x4d
os/exec.(*Cmd).Start.func1(0xc420674c60, 0xc4201802e0)
	/build/lxd/parts/go/build/src/os/exec/exec.go:396 +0x27
created by os/exec.(*Cmd).Start
	/build/lxd/parts/go/build/src/os/exec/exec.go:395 +0x5df
root@lxd:/home/user/backups# lxd
WARN[09-08|20:43:02] AppArmor support has been disabled because of lack of kernel support 
WARN[09-08|20:43:02] CGroup memory swap accounting is disabled, swap limits will be ignored. 
fatal error: runtime: out of memory

runtime stack:
runtime.throw(0x10ebe6e, 0x16)
	/build/lxd/parts/go/build/src/runtime/panic.go:616 +0x81
runtime.sysMap(0xc461820000, 0x40000000, 0x0, 0x1934698)
	/build/lxd/parts/go/build/src/runtime/mem_linux.go:216 +0x20a
runtime.(*mheap).sysAlloc(0x1912be0, 0x40000000, 0x0)
	/build/lxd/parts/go/build/src/runtime/malloc.go:470 +0xd4
runtime.(*mheap).grow(0x1912be0, 0x20000, 0x0)
	/build/lxd/parts/go/build/src/runtime/mheap.go:907 +0x60
runtime.(*mheap).allocSpanLocked(0x1912be0, 0x20000, 0x19346a8, 0xc42037c600)
	/build/lxd/parts/go/build/src/runtime/mheap.go:820 +0x301
runtime.(*mheap).alloc_m(0x1912be0, 0x20000, 0xffffffffffff0101, 0x7fdaef86ccd8)
	/build/lxd/parts/go/build/src/runtime/mheap.go:686 +0x118
runtime.(*mheap).alloc.func1()
	/build/lxd/parts/go/build/src/runtime/mheap.go:753 +0x4d
runtime.(*mheap).alloc(0x1912be0, 0x20000, 0x7fdaef010101, 0x447065)
	/build/lxd/parts/go/build/src/runtime/mheap.go:752 +0x8a
runtime.largeAlloc(0x3ffffe00, 0x7fdaf8320101, 0xc400000001)
	/build/lxd/parts/go/build/src/runtime/malloc.go:826 +0x94
runtime.mallocgc.func1()
	/build/lxd/parts/go/build/src/runtime/malloc.go:721 +0x46
runtime.systemstack(0x7fda00000000)
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:409 +0x79
runtime.mstart()
	/build/lxd/parts/go/build/src/runtime/proc.go:1175

goroutine 548 [running]:
runtime.systemstack_switch()
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:363 fp=0xc420388ca0 sp=0xc420388c98 pc=0x462ec0
runtime.mallocgc(0x3ffffe00, 0xf47d00, 0xc46181e001, 0xc420388d78)
	/build/lxd/parts/go/build/src/runtime/malloc.go:720 +0x8a2 fp=0xc420388d40 sp=0xc420388ca0 pc=0x41bf02
runtime.makeslice(0xf47d00, 0x3ffffe00, 0x3ffffe00, 0x4fb5aa, 0xc42000e0e0, 0xc46181e000)
	/build/lxd/parts/go/build/src/runtime/slice.go:61 +0x77 fp=0xc420388d70 sp=0xc420388d40 pc=0x44cea7
bytes.makeSlice(0x3ffffe00, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/bytes/buffer.go:230 +0x6d fp=0xc420388db0 sp=0xc420388d70 pc=0x4bc71d
bytes.(*Buffer).grow(0xc42024c380, 0x200, 0x1e00)
	/build/lxd/parts/go/build/src/bytes/buffer.go:144 +0x151 fp=0xc420388e00 sp=0xc420388db0 pc=0x4bc0d1
bytes.(*Buffer).ReadFrom(0xc42024c380, 0x11f83a0, 0xc42000e0e0, 0x7fdaf8334330, 0xc42024c380, 0x778201)
	/build/lxd/parts/go/build/src/bytes/buffer.go:204 +0x48 fp=0xc420388e70 sp=0xc420388e00 pc=0x4bc538
io.copyBuffer(0x11f6d80, 0xc42024c380, 0x11f83a0, 0xc42000e0e0, 0x0, 0x0, 0x0, 0xc42003c720, 0xc42003c060, 0x20002)
	/build/lxd/parts/go/build/src/io/io.go:386 +0x31a fp=0xc420388ee0 sp=0xc420388e70 pc=0x47d19a
io.Copy(0x11f6d80, 0xc42024c380, 0x11f83a0, 0xc42000e0e0, 0x575043, 0xc420377f98, 0x40f4cb)
	/build/lxd/parts/go/build/src/io/io.go:362 +0x5a fp=0xc420388f40 sp=0xc420388ee0 pc=0x47cd4a
os/exec.(*Cmd).writerDescriptor.func1(0x7731ae, 0xc421d3d980)
	/build/lxd/parts/go/build/src/os/exec/exec.go:275 +0x4d fp=0xc420388fa0 sp=0xc420388f40 pc=0x71087d
os/exec.(*Cmd).Start.func1(0xc4201ba6e0, 0xc42076e1a0)
	/build/lxd/parts/go/build/src/os/exec/exec.go:396 +0x27 fp=0xc420388fd0 sp=0xc420388fa0 pc=0x7108f7
runtime.goexit()
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420388fd8 sp=0xc420388fd0 pc=0x465a51
created by os/exec.(*Cmd).Start
	/build/lxd/parts/go/build/src/os/exec/exec.go:395 +0x5df

goroutine 1 [select]:
main.(*cmdDaemon).Run(0xc42028c3e0, 0xc4202b4780, 0x1932970, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main_daemon.go:73 +0x55e
main.(*cmdDaemon).Run-fm(0xc4202b4780, 0x1932970, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main_daemon.go:36 +0x52
github.com/spf13/cobra.(*Command).execute(0xc4202b4780, 0xc420030210, 0x0, 0x0, 0xc4202b4780, 0xc420030210)
	/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:762 +0x468
github.com/spf13/cobra.(*Command).ExecuteC(0xc4202b4780, 0x0, 0xc4202bcf00, 0xc4202bcf00)
	/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:852 +0x30a
github.com/spf13/cobra.(*Command).Execute(0xc4202b4780, 0xc42029de00, 0x1)
	/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:800 +0x2b
main.main()
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main.go:164 +0xea3

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
	/build/lxd/parts/go/build/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
	/build/lxd/parts/go/build/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
	/build/lxd/parts/go/build/src/os/signal/signal_unix.go:28 +0x41

goroutine 226 [select]:
github.com/lxc/lxd/lxd/cluster.Events.func1(0x12050a0, 0xc42059c280)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/cluster/events.go:32 +0x167
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc42017b280, 0x12050a0, 0xc42059c280)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:74 +0x1c5
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc42017b280, 0xc420174e10, 0xc4202bfd90, 0x2)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 20 [select]:
database/sql.(*DB).connectionOpener(0xc4202a5720, 0x12050a0, 0xc4202ab1c0)
	/build/lxd/parts/go/build/src/database/sql/sql.go:935 +0x119
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:634 +0x178

goroutine 21 [select]:
database/sql.(*DB).connectionResetter(0xc4202a5720, 0x12050a0, 0xc4202ab1c0)
	/build/lxd/parts/go/build/src/database/sql/sql.go:948 +0x12a
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:635 +0x1ae

goroutine 10 [select]:
github.com/hashicorp/raft.(*Raft).runSnapshots(0xc4201ee840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/snapshot.go:71 +0x152
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runSnapshots)-fm()
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/api.go:507 +0x2a
github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc4201ee840, 0xc420174c60)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53
created by github.com/hashicorp/raft.(*raftState).goFunc
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66

goroutine 12 [IO wait]:
internal/poll.runtime_pollWait(0x7fdaf832ff00, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42018a218, 0x72, 0xc4202aa400, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42018a218, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42018a200, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc42018a200, 0xc4201f7f68, 0x7ab9d3, 0xc42017c700)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc420223b00, 0xc42017c6f8, 0x0, 0x1400000000)
	/build/lxd/parts/go/build/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc420223b00, 0x120c1c0, 0xc42017c6f8, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/unixsock.go:253 +0x49
github.com/CanonicalLtd/go-dqlite.(*Server).acceptLoop(0xc4202dc640)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:138 +0x73
created by github.com/CanonicalLtd/go-dqlite.NewServer
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:94 +0x2fb

goroutine 11 [syscall, locked to thread]:
github.com/CanonicalLtd/go-dqlite/internal/bindings._Cfunc_dqlite_server_run(0x7fdae80009a0, 0x7fda00000000)
	_cgo_gotypes.go:398 +0x49
github.com/CanonicalLtd/go-dqlite/internal/bindings.(*Server).Run.func1(0x7fdae80009a0, 0xc420054790)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/internal/bindings/server.go:137 +0x56
github.com/CanonicalLtd/go-dqlite/internal/bindings.(*Server).Run(0x7fdae80009a0, 0x114f750, 0x465a56)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/internal/bindings/server.go:137 +0x2f
github.com/CanonicalLtd/go-dqlite.(*Server).run(0xc4202dc640)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:131 +0x54
created by github.com/CanonicalLtd/go-dqlite.NewServer
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/server.go:88 +0x2be

goroutine 9 [select]:
github.com/hashicorp/raft.(*Raft).runFSM(0xc4201ee840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/fsm.go:116 +0x1e7
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runFSM)-fm()
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/api.go:506 +0x2a
github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc4201ee840, 0xc420174be0)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53
created by github.com/hashicorp/raft.(*raftState).goFunc
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66

goroutine 8 [select]:
github.com/hashicorp/raft.(*Raft).leaderLoop(0xc4201ee840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/raft.go:501 +0x415
github.com/hashicorp/raft.(*Raft).runLeader(0xc4201ee840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/raft.go:420 +0x385
github.com/hashicorp/raft.(*Raft).run(0xc4201ee840)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/raft.go:140 +0x67
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.run)-fm()
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/api.go:505 +0x2a
github.com/hashicorp/raft.(*raftState).goFunc.func1(0xc4201ee840, 0xc420174bc0)
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:146 +0x53
created by github.com/hashicorp/raft.(*raftState).goFunc
	/build/lxd/parts/lxd/go/src/github.com/hashicorp/raft/state.go:144 +0x66

goroutine 227 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc42017b2a0, 0x12050a0, 0xc42059c280)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc42017b2a0, 0xc420174e10, 0xc4202bfd90, 0x3)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 177 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc42017af40, 0x12050a0, 0xc42059c280)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc42017af40, 0xc420174e10, 0xc4202bfd90, 0x1)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 35 [IO wait]:
internal/poll.runtime_pollWait(0x7fdaf832fd60, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42018b218, 0x72, 0xc4202aa600, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42018b218, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42018b200, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc42018b200, 0xc420066e68, 0x41c1a8, 0x30)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc420546a80, 0x575d4a, 0x1047e00, 0xc420300960)
	/build/lxd/parts/go/build/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc420546a80, 0xc4200380d8, 0xf88b60, 0x18ade40, 0x10b6060)
	/build/lxd/parts/go/build/src/net/unixsock.go:253 +0x49
net/http.(*Server).Serve(0xc4200a9c70, 0x12021a0, 0xc420546a80, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/http/server.go:2770 +0x1a5
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:268 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc420542af0, 0xc420119300)
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:163 +0x2b
created by gopkg.in/tomb%2ev2.(*Tomb).Go
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:159 +0xb9

goroutine 36 [IO wait]:
internal/poll.runtime_pollWait(0x7fdaf832fe30, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42018af98, 0x72, 0xc420085d00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42018af98, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42018af80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc42018af80, 0xc42007be68, 0x40b2c7, 0xc42070f8e0)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc420546960, 0x462180, 0xc42007beb0, 0xc42007beb8)
	/build/lxd/parts/go/build/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc420546960, 0x114f3a0, 0xc42070f860, 0x1205160, 0xc4205475c0)
	/build/lxd/parts/go/build/src/net/unixsock.go:253 +0x49
net/http.(*Server).Serve(0xc4200a9ba0, 0x12021a0, 0xc420546960, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/http/server.go:2770 +0x1a5
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:268 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc420542af0, 0xc420119440)
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:163 +0x2b
created by gopkg.in/tomb%2ev2.(*Tomb).Go
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:159 +0xb9

goroutine 37 [IO wait]:
internal/poll.runtime_pollWait(0x7fdaf832fc90, 0x72, 0x0)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42018b398, 0x72, 0xc420085e00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42018b398, 0xffffffffffffff00, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42018b380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc42018b380, 0xc4205475f0, 0x0, 0xc42005b000)
	/build/lxd/parts/go/build/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42017c6d0, 0x114fb70, 0xc42078f800, 0xc4200b02d0)
	/build/lxd/parts/go/build/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc42017c6d0, 0xc420531e01, 0xc4205475f0, 0xc420531e98, 0x575d4a)
	/build/lxd/parts/go/build/src/net/tcpsock.go:259 +0x49
github.com/lxc/lxd/lxd/endpoints.(*networkListener).Accept(0xc420546b40, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/network.go:168 +0x44
net/http.(*Server).Serve(0xc4200a9ba0, 0x12008e0, 0xc420546b40, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/http/server.go:2770 +0x1a5
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:268 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc420542af0, 0xc420119520)
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:163 +0x2b
created by gopkg.in/tomb%2ev2.(*Tomb).Go
	/build/lxd/parts/lxd/go/src/gopkg.in/tomb.v2/tomb.go:159 +0xb9

goroutine 38 [select]:
database/sql.(*DB).connectionOpener(0xc42079f860, 0x12050a0, 0xc420177880)
	/build/lxd/parts/go/build/src/database/sql/sql.go:935 +0x119
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:634 +0x178

goroutine 39 [select]:
database/sql.(*DB).connectionResetter(0xc42079f860, 0x12050a0, 0xc420177880)
	/build/lxd/parts/go/build/src/database/sql/sql.go:948 +0x12a
created by database/sql.OpenDB
	/build/lxd/parts/go/build/src/database/sql/sql.go:635 +0x1ae

goroutine 176 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc42017af20, 0x12050a0, 0xc42059c280)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc42017af20, 0xc420174e10, 0xc4202bfd90, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 549 [IO wait]:
internal/poll.runtime_pollWait(0x7fdaf832f7b0, 0x72, 0xc420373ce8)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4200b0ce8, 0x72, 0xffffffffffffff01, 0x11f9820, 0x18c7800)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4200b0ce8, 0xc4206a6601, 0x200, 0x200)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4200b0cd0, 0xc4206a6600, 0x200, 0x200, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:157 +0x17d
os.(*File).read(0xc42000e108, 0xc4206a6600, 0x200, 0x200, 0xc4206a6600, 0x0, 0x0)
	/build/lxd/parts/go/build/src/os/file_unix.go:226 +0x4e
os.(*File).Read(0xc42000e108, 0xc4206a6600, 0x200, 0x200, 0xa, 0x7fdaf8392bf8, 0xc420373e60)
	/build/lxd/parts/go/build/src/os/file.go:107 +0x6a
bytes.(*Buffer).ReadFrom(0xc42024c3f0, 0x11f83a0, 0xc42000e108, 0x7fdaf8334330, 0xc42024c3f0, 0x438201)
	/build/lxd/parts/go/build/src/bytes/buffer.go:205 +0xa0
io.copyBuffer(0x11f6d80, 0xc42024c3f0, 0x11f83a0, 0xc42000e108, 0x0, 0x0, 0x0, 0xc4202d2c00, 0x40e766, 0xc42078e480)
	/build/lxd/parts/go/build/src/io/io.go:386 +0x31a
io.Copy(0x11f6d80, 0xc42024c3f0, 0x11f83a0, 0xc42000e108, 0x575043, 0xc420373f98, 0x40f4cb)
	/build/lxd/parts/go/build/src/io/io.go:362 +0x5a
os/exec.(*Cmd).writerDescriptor.func1(0x7731ae, 0xc420556b00)
	/build/lxd/parts/go/build/src/os/exec/exec.go:275 +0x4d
os/exec.(*Cmd).Start.func1(0xc4201ba6e0, 0xc42076e200)
	/build/lxd/parts/go/build/src/os/exec/exec.go:396 +0x27
created by os/exec.(*Cmd).Start
	/build/lxd/parts/go/build/src/os/exec/exec.go:395 +0x5df

goroutine 306 [select, locked to thread]:
runtime.gopark(0x114fa38, 0x0, 0x10d7808, 0x6, 0x18, 0x1)
	/build/lxd/parts/go/build/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc420531750, 0xc42003d080)
	/build/lxd/parts/go/build/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
	/build/lxd/parts/go/build/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
	/build/lxd/parts/go/build/src/runtime/asm_amd64.s:2361 +0x1

goroutine 215 [syscall]:
syscall.Syscall(0x0, 0x13, 0xc4205c0000, 0x64640, 0x7fdaf8330808, 0xc42005b400, 0xc42059d110)
	/build/lxd/parts/go/build/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x13, 0xc4205c0000, 0x64640, 0x64640, 0xf47d00, 0x20001, 0xc4205c0000)
	/build/lxd/parts/go/build/src/syscall/zsyscall_linux_amd64.go:749 +0x5f
syscall.Read(0x13, 0xc4205c0000, 0x64640, 0x64640, 0x64640, 0x64640, 0xc42003c420)
	/build/lxd/parts/go/build/src/syscall/syscall_unix.go:162 +0x49
main.deviceInotifyWatcher.func1(0xc42036f800, 0xc42003c840)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:1728 +0x8a
created by main.deviceInotifyWatcher
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:1725 +0x67

goroutine 214 [chan receive]:
main.deviceInotifyHandler(0xc42036f800)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:2083 +0x65
created by main.(*Daemon).init
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:632 +0x1400

goroutine 192 [select]:
main.deviceEventListener(0xc42036e120)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:857 +0x1fc
created by main.(*Daemon).init
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:623 +0x1244

goroutine 210 [syscall]:
syscall.Syscall(0x0, 0x15, 0xc420382000, 0x1000, 0xb6a80a08a36494b5, 0xc42006ac78, 0x415c60)
	/build/lxd/parts/go/build/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x15, 0xc420382000, 0x1000, 0x1000, 0xc4202cdd68, 0xc4202cdd40, 0xc4202cdd40)
	/build/lxd/parts/go/build/src/syscall/zsyscall_linux_amd64.go:749 +0x5f
syscall.Read(0x15, 0xc420382000, 0x1000, 0x1000, 0xc4202cdde8, 0x0, 0x2)
	/build/lxd/parts/go/build/src/syscall/syscall_unix.go:162 +0x49
main.deviceNetlinkListener.func1(0x800, 0x15, 0xc4202d39e0, 0xc42003c780, 0xc42003c7e0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:426 +0xc8
created by main.deviceNetlinkListener
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/devices.go:423 +0x1d9

goroutine 591 [runnable]:
github.com/CanonicalLtd/go-dqlite.(*Conn).ExecContext(0xc420229340, 0x12050e0, 0xc4200380d8, 0x10d5029, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/driver.go:281 +0x1cc
github.com/CanonicalLtd/go-dqlite.(*Conn).BeginTx(0xc420229340, 0x12050e0, 0xc4200380d8, 0x0, 0xc420229300, 0x774801, 0x0, 0x12050e0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/CanonicalLtd/go-dqlite/driver.go:335 +0x6c
database/sql.ctxDriverBegin(0x12050e0, 0xc4200380d8, 0x0, 0x12000a0, 0xc420229340, 0xc4203859f0, 0x434e89, 0xc400000008, 0xc4202aa900)
	/build/lxd/parts/go/build/src/database/sql/ctxutil.go:106 +0xa0
database/sql.(*DB).beginDC.func1()
	/build/lxd/parts/go/build/src/database/sql/sql.go:1577 +0x6b
database/sql.withLock(0x11fc8e0, 0xc420556080, 0xc420385a70)
	/build/lxd/parts/go/build/src/database/sql/sql.go:3032 +0x63
database/sql.(*DB).beginDC(0xc42079f860, 0x12050e0, 0xc4200380d8, 0xc420556080, 0xc42075a140, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/database/sql/sql.go:1576 +0xac
database/sql.(*DB).begin(0xc42079f860, 0x12050e0, 0xc4200380d8, 0x0, 0x1, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/database/sql/sql.go:1570 +0xd8
database/sql.(*DB).BeginTx(0xc42079f860, 0x12050e0, 0xc4200380d8, 0x0, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/database/sql/sql.go:1548 +0x8a
database/sql.(*DB).Begin(0xc42079f860, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/database/sql/sql.go:1562 +0x4c
github.com/lxc/lxd/lxd/db/query.Transaction(0xc42079f860, 0xc420385c40, 0x0, 0x8)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/db/query/transaction.go:12 +0x2f
github.com/lxc/lxd/lxd/db.(*Cluster).transaction.func1(0x7fdaf838b6c8, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/db/db.go:307 +0x55
github.com/lxc/lxd/lxd/db/query.Retry(0xc420385cf0, 0xc42075a130, 0x434e89)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/db/query/retry.go:20 +0xae
github.com/lxc/lxd/lxd/db.(*Cluster).transaction(0xc4206b9620, 0xc420374e80, 0xc4206b9630, 0x2)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/db/db.go:306 +0x6d
github.com/lxc/lxd/lxd/db.(*Cluster).Transaction(0xc4206b9620, 0xc420374e80, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/db/db.go:270 +0x80
github.com/lxc/lxd/lxd/cluster.eventsUpdateListeners(0xc420177700, 0xc4206b9620, 0xc420222120, 0x114ecf8)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/cluster/events.go:49 +0x9c
github.com/lxc/lxd/lxd/cluster.Events.func1.1(0xc420177700, 0xc4206b9620, 0xc420222120, 0x114ecf8, 0xc421b75620)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/cluster/events.go:29 +0x49
created by github.com/lxc/lxd/lxd/cluster.Events.func1
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/cluster/events.go:28 +0xbb

goroutine 228 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc42017b2c0, 0x12050a0, 0xc42059c280)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc42017b2c0, 0xc420174e10, 0xc4202bfd90, 0x4)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 229 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc42017b2e0, 0x12050a0, 0xc42059c280)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/task.go:68 +0x181
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc42017b2e0, 0xc420174e10, 0xc4202bfd90, 0x5)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:45 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/task/group.go:44 +0x166

goroutine 547 [IO wait]:
internal/poll.runtime_pollWait(0x7fdaf832f880, 0x72, 0xc421befe58)
	/build/lxd/parts/go/build/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42018b318, 0x72, 0xffffffffffffff00, 0x11f9820, 0x18c7800)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42018b318, 0xc420368a00, 0x1, 0x1)
	/build/lxd/parts/go/build/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42018b300, 0xc420368ac1, 0x1, 0x1, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42018b300, 0xc420368ac1, 0x1, 0x1, 0xc421beffa0, 0x0, 0xc42003c060)
	/build/lxd/parts/go/build/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42017c5a0, 0xc420368ac1, 0x1, 0x1, 0x0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/net/net.go:176 +0x6a
net/http.(*connReader).backgroundRead(0xc420368ab0)
	/build/lxd/parts/go/build/src/net/http/server.go:668 +0x5a
created by net/http.(*connReader).startBackgroundRead
	/build/lxd/parts/go/build/src/net/http/server.go:664 +0xce

goroutine 523 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x1107, 0xc421d0b2b8, 0x1000004, 0x0, 0x0, 0x0, 0xc420093000, 0x0)
	/build/lxd/parts/go/build/src/syscall/asm_linux_amd64.s:44 +0x5
os.(*Process).blockUntilWaitable(0xc421cc6630, 0x0, 0x0, 0x2)
	/build/lxd/parts/go/build/src/os/wait_waitid.go:31 +0x98
os.(*Process).wait(0xc421cc6630, 0xc42076e180, 0xc4201ba7b8, 0xc4201ba7b8)
	/build/lxd/parts/go/build/src/os/exec_unix.go:22 +0x3c
os.(*Process).Wait(0xc421cc6630, 0x114f660, 0x114f668, 0x114f658)
	/build/lxd/parts/go/build/src/os/exec.go:123 +0x2b
os/exec.(*Cmd).Wait(0xc4201ba6e0, 0x0, 0x0)
	/build/lxd/parts/go/build/src/os/exec/exec.go:461 +0x5c
os/exec.(*Cmd).Run(0xc4201ba6e0, 0xc42024c3f0, 0xc421d0b628)
	/build/lxd/parts/go/build/src/os/exec/exec.go:305 +0x5c
github.com/lxc/lxd/shared.RunCommandWithFds(0x11f83a0, 0xc42017c5b0, 0x11f6d80, 0xc42024c380, 0x10d4d3b, 0x4, 0xc421d0b628, 0x1, 0x1, 0xc421d0b638, ...)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/shared/util.go:945 +0x125
main.getBackupInfo(0x11f83a0, 0xc42017c5b0, 0x0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/backup.go:148 +0xcd
main.createFromBackup(0xc4202bfd40, 0x7fdaf8290b68, 0xc4200854c0, 0x0, 0x0)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/containers_post.go:555 +0x195
main.containersPost(0xc4202bfd40, 0xc42199a000, 0x11fd3e0, 0xc420767b20)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/containers_post.go:614 +0x103f
main.(*Daemon).createCmd.func1(0x1202460, 0xc420705a40, 0xc42199a000)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:303 +0x8d5
net/http.HandlerFunc.ServeHTTP(0xc4202dc910, 0x1202460, 0xc420705a40, 0xc42199a000)
	/build/lxd/parts/go/build/src/net/http/server.go:1947 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc4201fcb60, 0x1202460, 0xc420705a40, 0xc42199a000)
	/build/lxd/parts/lxd/go/src/github.com/gorilla/mux/mux.go:162 +0xed
main.(*lxdHttpServer).ServeHTTP(0xc4202e7f80, 0x1202460, 0xc420705a40, 0xc42018fe00)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/api.go:76 +0xa4
net/http.serverHandler.ServeHTTP(0xc4200a9ba0, 0x1202460, 0xc420705a40, 0xc42018fe00)
	/build/lxd/parts/go/build/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc42070f860, 0x12050a0, 0xc420084040)
	/build/lxd/parts/go/build/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
	/build/lxd/parts/go/build/src/net/http/server.go:2795 +0x27b

goroutine 518 [chan receive]:
main.eventsSocket(0xc42018fd00, 0x1202460, 0xc420705260, 0xfca840, 0xc42017c598)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/events.go:119 +0x34f
main.(*eventsServe).Render(0xc42017c598, 0x1202460, 0xc420705260, 0xc42017c598, 0xffffffffffffffff)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/events.go:83 +0x42
main.(*Daemon).createCmd.func1(0x1202460, 0xc420705260, 0xc42018fd00)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/daemon.go:317 +0x6dd
net/http.HandlerFunc.ServeHTTP(0xc4202ddb80, 0x1202460, 0xc420705260, 0xc42018fd00)
	/build/lxd/parts/go/build/src/net/http/server.go:1947 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc4201fcb60, 0x1202460, 0xc420705260, 0xc42018fd00)
	/build/lxd/parts/lxd/go/src/github.com/gorilla/mux/mux.go:162 +0xed
main.(*lxdHttpServer).ServeHTTP(0xc4202e7f80, 0x1202460, 0xc420705260, 0xc42018fb00)
	/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/api.go:76 +0xa4
net/http.serverHandler.ServeHTTP(0xc4200a9ba0, 0x1202460, 0xc420705260, 0xc42018fb00)
	/build/lxd/parts/go/build/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc42070f7c0, 0x12050a0, 0xc420177e00)
	/build/lxd/parts/go/build/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
	/build/lxd/parts/go/build/src/net/http/server.go:2795 +0x27b
★★★★★

Последнее исправление: ne-vlezay (всего исправлений: 2)
Ответ на: комментарий от anonymous

Я пробывал убрать, что то не выходит

ne-vlezay ★★★★★
() автор топика

А шо там с backup.yaml может девайс какой конфлктный подключен?

WARN[09-08|20:39:36] Unable to update backup.yaml at this time name=dns
WARN[09-08|20:39:37] Unable to update backup.yaml at this time name=krasotka01
fatal error: runtime: out of memory

WoozyMasta
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.