[lxc-users] lxc image copy changes IP

david.andel at bli.uzh.ch david.andel at bli.uzh.ch
Mon Apr 25 15:11:18 UTC 2016


Hi

After adding a remote I can see it and also run command there:

david at kimera:~$ lxc remote list
+-----------------+------------------------------------------+---------------+--------+--------+
|      NAME       |                   URL                    |   PROTOCOL    | PUBLIC | STATIC |
+-----------------+------------------------------------------+---------------+--------+--------+
| images          | https://images.linuxcontainers.org:8443  | lxd           | NO     | NO     |
+-----------------+------------------------------------------+---------------+--------+--------+
| local (default) | unix://                                  | lxd           | NO     | YES    |
+-----------------+------------------------------------------+---------------+--------+--------+
| qumind          | https://192.168.0.20:8443                | lxd           | NO     | NO     |
+-----------------+------------------------------------------+---------------+--------+--------+
| ubuntu          | https://cloud-images.ubuntu.com/releases | simplestreams | YES    | YES    |
+-----------------+------------------------------------------+---------------+--------+--------+
| ubuntu-daily    | https://cloud-images.ubuntu.com/daily    | simplestreams | YES    | YES    |
+-----------------+------------------------------------------+---------------+--------+--------+

david at kimera:~$ lxc list qumind:
+----------+---------+------+------+------------+-----------+
|   NAME   |  STATE  | IPV4 | IPV6 |    TYPE    | SNAPSHOTS |
+----------+---------+------+------+------------+-----------+
| pgroonga | STOPPED |      |      | PERSISTENT | 0         |
+----------+---------+------+------+------------+-----------+
| psql     | STOPPED |      |      | PERSISTENT | 2         |
+----------+---------+------+------+------------+-----------+
| trusty   | STOPPED |      |      | PERSISTENT | 0         |
+----------+---------+------+------+------------+-----------+

However, when I try to copy an image over the IP gets changed from 192.168.0.20 to 192.168.0.25:

david at kimera:~$ lxc image copy xenial-clean qumind:
error: Get https://192.168.0.25:8443/1.0/images/fe0ba16174c59c733001a7f580335b24cab147d25d5febd90ed3db76db942319?secret=bde9b49ced2c5357c54fd2b2b4b818792bd7484d9fb7b1e1ca02005e53002e0c: Unable to connect to: 192.168.0.25:8443

This looks like a bug to me.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160425/4d1f8ed9/attachment.html>


More information about the lxc-users mailing list