[lxc-users] Error transferring container data:

Stéphane Graber stgraber at ubuntu.com
Sat Aug 18 14:16:52 UTC 2018


On Sat, Aug 18, 2018 at 12:02:02PM +0200, Pierre Couderc wrote:
> I have this error. All is here :
> 
> nous at couderc:~$ lxc version
> Client version: 3.3
> Server version: 3.3
> nous at couderc:~$ lxc version 192.168.163.1:
> Client version: 3.3
> Server version: 2.21
> nous at couderc:~$ lxc list 192.168.163.1:
> +-----------+---------+-----------------------+----------------------------------------------+------------+-----------+
> |   NAME    |  STATE  |         IPV4          |                     IPV6                     |    TYPE    | SNAPSHOTS |
> +-----------+---------+-----------------------+----------------------------------------------+------------+-----------+
> | bbbb      | RUNNING | 192.168.163.30 (eth0) | 2a01:e34:eeaf:c5f0:216:3eff:fe92:44 (eth0)   | PERSISTENT | 0         |
> +-----------+---------+-----------------------+----------------------------------------------+------------+-----------+
> | debian    | STOPPED |                       |                                              | PERSISTENT | 0         |
> +-----------+---------+-----------------------+----------------------------------------------+------------+-----------+
> | gggg      | STOPPED |                       |                                              | PERSISTENT | 0         |
> +-----------+---------+-----------------------+----------------------------------------------+------------+-----------+
> nous at couderc:~$ lxc list
> +------+-------+------+------+------+-----------+
> | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
> +------+-------+------+------+------+-----------+
> nous at couderc:~$ lxc copy  192.168.163.1:debian debian
> Error: Failed container creation:
>  - https://192.168.163.1:8443: Error transferring container data: exit status 12
>  - https://[2a01:a34:eaaf:c5f0:ca60:ff:fa5a:fd23]:8443: Error transferring container data: websocket: bad handshake
> nous at couderc:~$
> 
> Thanks for any help
> PC

exit status 12 usually indicates rsync having been a bit unhappy, it's
"Error in rsync protocol data stream".

Try running:
 - lxc monitor
 - lxc monitor 192.168.163.1:

In two terminals while running the copy again, this may catch a longer
version of that rsync error.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180818/bcc740cc/attachment.sig>


More information about the lxc-users mailing list