{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/3168","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/3168/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/3168/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/3168/events","html_url":"https://github.com/lxc/lxd/issues/3168","id":221109991,"number":3168,"title":"copying between ZFS and LVM hosts fail","user":{"login":"MarkGavalda","id":5671079,"avatar_url":"https://avatars3.githubusercontent.com/u/5671079?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkGavalda","html_url":"https://github.com/MarkGavalda","followers_url":"https://api.github.com/users/MarkGavalda/followers","following_url":"https://api.github.com/users/MarkGavalda/following{/other_user}","gists_url":"https://api.github.com/users/MarkGavalda/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkGavalda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkGavalda/subscriptions","organizations_url":"https://api.github.com/users/MarkGavalda/orgs","repos_url":"https://api.github.com/users/MarkGavalda/repos","events_url":"https://api.github.com/users/MarkGavalda/events{/privacy}","received_events_url":"https://api.github.com/users/MarkGavalda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"assignees":[{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false}],"milestone":null,"comments":35,"created_at":"2017-04-11T23:33:19Z","updated_at":"2017-04-18T18:27:59Z","closed_at":null,"body":"Trying to copy a non-running snapshot/container from a ZFS to an LVM storage pool based machine we get the following:\r\n```\r\ncommand fails with:\r\nerror: Migration failed on target host: Error transferring container data: websocket: bad handshake\r\n\r\nrelevant entry from lxd.log:\r\nlvl=eror msg=\"Rsync receive failed: /var/lib/lxd/containers/gRG-test/: exit status 10: rsync: [generator] write error: Broken pipe (32)\\nrsync error: error in socket IO (code 10) at io.c(820) [generator=3.1.1]\\n\" t=2017-04-11T23:25:35+0000\r\n```\r\n\r\n# Required information\r\n\r\n * Distribution: Ubuntu\r\n * Distribution version: 16.04.2\r\n\r\n## Sender\r\nconfig:\r\n  core.https_address: 10.0.0.1\r\n  core.trust_password: true\r\napi_extensions:\r\n- storage_zfs_remove_snapshots\r\n- container_host_shutdown_timeout\r\n- container_syscall_filtering\r\n- auth_pki\r\n- container_last_used_at\r\n- etag\r\n- patch\r\n- usb_devices\r\n- https_allowed_credentials\r\n- image_compression_algorithm\r\n- directory_manipulation\r\n- container_cpu_time\r\n- storage_zfs_use_refquota\r\n- storage_lvm_mount_options\r\n- network\r\n- profile_usedby\r\n- container_push\r\n- container_exec_recording\r\n- certificate_update\r\n- container_exec_signal_handling\r\n- gpu_devices\r\n- container_image_properties\r\n- migration_progress\r\n- id_map\r\n- network_firewall_filtering\r\n- network_routes\r\n- storage\r\n- file_delete\r\n- file_append\r\n- network_dhcp_expiry\r\n- storage_lvm_vg_rename\r\n- storage_lvm_thinpool_rename\r\n- network_vlan\r\n- image_create_aliases\r\n- container_stateless_copy\r\napi_status: stable\r\napi_version: \"1.0\"\r\nauth: trusted\r\npublic: false\r\nenvironment:\r\n  addresses:\r\n  - 10.0.0.1:8443\r\n  architectures:\r\n  - x86_64\r\n  - i686\r\n  driver: lxc\r\n  driver_version: 2.0.7\r\n  kernel: Linux\r\n  kernel_architecture: x86_64\r\n  kernel_version: 4.4.0-72-generic\r\n  server: lxd\r\n  server_pid: 3719\r\n  server_version: \"2.12\"\r\n  storage: zfs\r\n  storage_version: 0.6.5.6-0ubuntu15\r\n\r\n## Receiver:\r\nconfig:\r\n  core.https_address: 10.0.0.2\r\n  core.trust_password: true\r\napi_extensions:\r\n- storage_zfs_remove_snapshots\r\n- container_host_shutdown_timeout\r\n- container_syscall_filtering\r\n- auth_pki\r\n- container_last_used_at\r\n- etag\r\n- patch\r\n- usb_devices\r\n- https_allowed_credentials\r\n- image_compression_algorithm\r\n- directory_manipulation\r\n- container_cpu_time\r\n- storage_zfs_use_refquota\r\n- storage_lvm_mount_options\r\n- network\r\n- profile_usedby\r\n- container_push\r\n- container_exec_recording\r\n- certificate_update\r\n- container_exec_signal_handling\r\n- gpu_devices\r\n- container_image_properties\r\n- migration_progress\r\n- id_map\r\n- network_firewall_filtering\r\n- network_routes\r\n- storage\r\n- file_delete\r\n- file_append\r\n- network_dhcp_expiry\r\n- storage_lvm_vg_rename\r\n- storage_lvm_thinpool_rename\r\n- network_vlan\r\n- image_create_aliases\r\n- container_stateless_copy\r\napi_status: stable\r\napi_version: \"1.0\"\r\nauth: trusted\r\npublic: false\r\nenvironment:\r\n  addresses:\r\n  - 10.0.0.2:8443\r\n  architectures:\r\n  - x86_64\r\n  - i686\r\n  driver: lxc\r\n  driver_version: 2.0.7\r\n  kernel: Linux\r\n  kernel_architecture: x86_64\r\n  kernel_version: 4.8.0-46-generic\r\n  server: lxd\r\n  server_pid: 2394\r\n  server_version: \"2.12\"\r\n  storage: lvm\r\n  storage_version: 2.02.133(2) (2015-10-30) / 1.02.110 (2015-10-30) / 4.35.0"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/294937958","html_url":"https://github.com/lxc/lxd/issues/3168#issuecomment-294937958","issue_url":"https://api.github.com/repos/lxc/lxd/issues/3168","id":294937958,"user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T18:27:59Z","updated_at":"2017-04-18T18:27:59Z","body":"@MarkGavalda, replied to your mail just now."}}
{"actor":{"display_login":"brauner"}}