<div dir="ltr">Greetings,<div><br></div><div>I'm running lxd version 2.0.3-0ubuntu1~ubuntu16.04.2</div><div><br></div><div>I'm trying to get lxd to correctly execute a move of a container from one lxd host to another. I have two ubuntu 16.04 hosts, ronnie (designated as lxd1) and olympia (designated as lxd2):</div><div><br></div><div><div>root@olympia:~# lxc remote list</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>|      NAME       |                   URL                    |   PROTOCOL    | PUBLIC | STATIC |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| images          | <a href="https://images.linuxcontainers.org">https://images.linuxcontainers.org</a>       | lxd           | YES    | NO     |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| local (default) | unix://                                  | lxd           | NO     | YES    |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| lxd1            | <a href="https://192.168.111.20:8443">https://192.168.111.20:8443</a>              | lxd           | NO     | NO     |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| ubuntu          | <a href="https://cloud-images.ubuntu.com/releases">https://cloud-images.ubuntu.com/releases</a> | simplestreams | YES    | YES    |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| ubuntu-daily    | <a href="https://cloud-images.ubuntu.com/daily">https://cloud-images.ubuntu.com/daily</a>    | simplestreams | YES    | YES    |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div><br></div></div><div><div>root@ronnie:~# lxc remote list</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>|      NAME       |                   URL                    |   PROTOCOL    | PUBLIC | STATIC |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| images          | <a href="https://images.linuxcontainers.org">https://images.linuxcontainers.org</a>       | lxd           | YES    | NO     |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| local (default) | unix://                                  | lxd           | NO     | YES    |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| lxd2            | <a href="https://192.168.111.193:8443">https://192.168.111.193:8443</a>             | lxd           | NO     | NO     |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| ubuntu          | <a href="https://cloud-images.ubuntu.com/releases">https://cloud-images.ubuntu.com/releases</a> | simplestreams | YES    | YES    |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div><div>| ubuntu-daily    | <a href="https://cloud-images.ubuntu.com/daily">https://cloud-images.ubuntu.com/daily</a>    | simplestreams | YES    | YES    |</div><div>+-----------------+------------------------------------------+---------------+--------+--------+</div></div><div><br></div><div>You can see that the remotes are configured with their local lan addresses. So far so good?</div><div><br></div><div><br></div><div><br></div><div>Here are the 2 containers currently on lxd2:</div><div><div>root@olympia:~# lxc list</div><div>+--------+---------+-----------------------+------+------------+-----------+</div><div>|  NAME  |  STATE  |         IPV4          | IPV6 |    TYPE    | SNAPSHOTS |</div><div>+--------+---------+-----------------------+------+------------+-----------+</div><div>| akita  | RUNNING | 192.168.111.22 (eth0) |      | PERSISTENT | 0         |</div><div>+--------+---------+-----------------------+------+------------+-----------+</div><div>| kangal | RUNNING | 192.168.111.44 (eth0) |      | PERSISTENT | 0         |</div><div>+--------+---------+-----------------------+------+------------+-----------+</div><div><br></div></div><div><br></div><div><br></div><div>Now, I try to move a container from lxd2 to lxd1:</div><div><div>root@olympia:~# lxc move kangal lxd1:</div><div>error: Error transferring container data: Unable to connect to: <a href="http://192.168.1.8:8443">192.168.1.8:8443</a></div></div><div><br></div><div>Why is it trying to connect to 192.168.1.8? That is a local wireless address on lxd2, but it was never mentioned in any lxd configuration:</div><div><br></div><div><div>root@olympia:~# ifconfig wlp3s0</div><div>wlp3s0    Link encap:Ethernet  HWaddr 80:56:f2:05:ce:6c  </div><div>          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0</div><div>          inet6 addr: fe80::8256:f2ff:fe05:ce6c/64 Scope:Link</div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</div><div>          RX packets:401712 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:219214 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:1000 </div><div>          RX bytes:95097222 (95.0 MB)  TX bytes:34201360 (34.2 MB)</div><div><br></div></div><div><br></div><div>So my question is, how do we get lxd to ignore the local wireless IP, and execute the lxc move command using the configured IPs?</div><div><br></div><div>Regards,</div><div><br></div><div>Jake</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>