Comment 0 for bug 1800046

Revision history for this message
Peter Matulis (petermatulis) wrote :

Nested LXD containers doesn't seem to work when the Juju machine uses series 'cosmic'.

$ juju bootstrap localhost lxd-xenial
$ juju add-machine lxd --series cosmic
$ juju status

Model Controller Cloud/Region Version SLA Timestamp
default lxd-xenial localhost/localhost 2.4.4 unsupported 22:26:33Z

Machine State DNS Inst id Series AZ Message
0 started 10.78.203.251 juju-3a391b-0 cosmic Running
0/lxd/0 pending pending cosmic

$ juju add-machine lxd --series bionic
$ juju status

Model Controller Cloud/Region Version SLA Timestamp
default lxd-xenial localhost/localhost 2.4.4 unsupported 22:41:24Z

Machine State DNS Inst id Series AZ Message
0 started 10.78.203.251 juju-3a391b-0 cosmic Running
0/lxd/0 pending pending cosmic
1 started 10.78.203.131 juju-3a391b-1 bionic Running
1/lxd/0 started 10.175.163.192 juju-3a391b-1-lxd-0 bionic Container started

$ juju ssh 0 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
12: eth0@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:76:07:09 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.78.203.251/24 brd 10.78.203.255 scope global dynamic eth0
       valid_lft 2303sec preferred_lft 2303sec
    inet6 fe80::216:3eff:fe76:709/64 scope link
       valid_lft forever preferred_lft forever
Connection to 10.78.203.251 closed.

$ juju ssh 1 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: lxdbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether fe:13:00:9a:1d:20 brd ff:ff:ff:ff:ff:ff
    inet 10.175.163.1/24 scope global lxdbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::1023:95ff:fed5:5934/64 scope link
       valid_lft forever preferred_lft forever
4: veth21BPDS@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master lxdbr0 state UP group default qlen 1000
    link/ether fe:13:00:9a:1d:20 brd ff:ff:ff:ff:ff:ff link-netnsid 1
    inet6 fe80::fc13:ff:fe9a:1d20/64 scope link
       valid_lft forever preferred_lft forever
14: eth0@if15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:c2:a2:ad brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.78.203.131/24 brd 10.78.203.255 scope global dynamic eth0
       valid_lft 3322sec preferred_lft 3322sec
    inet6 fe80::216:3eff:fec2:a2ad/64 scope link
       valid_lft forever preferred_lft forever
Connection to 10.78.203.131 closed.