I have several factors that seem to be making things difficult when trying to move containers to a new server.
Existing server:
LXD is installed as an apt package.
$ lxd version
3.0.3
New server:
LXD is installed as a snap package.
$ lxd version
5.0.1
I thought I could just configure the existing server to include the new server as a remote host with:
lxc remote add newserver [ip_of_newserver]
but I got this:
Error: Get https://[ip_of_newserver]:8443: remote error: tls: protocol version not supported
I understand that this is related to the versions being so different. I read that I can just set LXD_INSECURE_TLS=true
in the environment of the LXD 5.0 system, which I will do (in the hope that I can copy containers from existing to new). But ultimately I would like to upgrade the existing server to 5.0 using snap so I can easily copy containers between the two and not set that value (which at least seems insecure).
Is there guidance somewhere on doing such an upgrade? Is this a reasonable approach that will result in two systems that can easily exchange containers?
Thanks.