Skip to content

Copying a Container from Host 1 to Host 2 - containers on both hosts get same IP address #19

@bmullan

Description

@bmullan

Describe the bug
On Host 1 I stopped container CN1
Then clicked COPY button and specified Host 2 with Container name CN1
When the copy was completed I notice the CN1 on Host 2 had the same IP as the CN1
on Host 1!

NOTE 1:
this was copying the actual container on Host 1 to Host 2 NOT copying a Snapshot from Host 1 to a container on Host 2.

Expected behavior
Copying a container from Host 1 to Host 2... the new container on Host 2 should get a new IP address.. not a duplicated one.

Screenshots
In the following:
Host CIAB = host with LXDMosaic on it and the original CN1 container
Host CIAB2 = the host I copied the original CN1 container TO.

mosaic1

NOTE 2:
If I manually copy Host1 CN1 to Host2 CN1 ... the Host 2 CN1 does get a new IP address:

bmullan@ciab:~$ lxc copy cn1 ciab2:cn1

mosaic1

Desktop (please complete the following information):
ubuntu 18.04.2 for all Hosts and containers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions