juju 2.1-beta5 - juju 2.1rc2 - localhost failing to allocate a nested container with an ip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
John A Meinel | ||
2.1 |
Fix Released
|
Critical
|
John A Meinel |
Bug Description
To reproduce:
sudo snap install conjure-up --classic --edge
conjure-up kubernetes-core localhost
My status output and machine-0 log from a localhost deployment:
http://
http://
On the host system my lxc list output:
+------
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------
| juju-677a75-0 | RUNNING | 10.0.8.28 (eth0) | | PERSISTENT | 0 |
+------
| juju-ba567e-0 | RUNNING | 10.0.8.251 (eth0) | | PERSISTENT | 0 |
| | | 10.0.9.1 (lxdbr0) | | | |
+------
| juju-ba567e-1 | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | 0 |
| | | 10.0.8.181 (eth0) | | | |
+------
We've also reproduced this on GCE and those logs will be coming soon.
This issue is not seen on Juju versions 2.0.3, and up to Juju 2.1-beta4. Additionally, Rick Harding tested Juju 2.1 rc2 on a MAAS deployment and colocated lxd's did allocate and obtain an IP successfully.
tags: | added: conjure |
description: | updated |
tags: | added: regression |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 2.1.0 |
description: | updated |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Some more information:
```
ubuntu@tupac:~⟫ juju ssh 0
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/advantage
* Management: https:/
* Support: https:/
Get cloud support with Ubuntu Advantage Cloud Guest: www.ubuntu. com/business/ services/ cloud
http://
1 package can be updated.
0 updates are security updates.
Last login: Tue Feb 14 00:30:10 2017 from 10.0.8.1 juju-ba567e- 0:~$ lxc list ------- ------- -+----- ----+-- ------- ------- ---+--- ---+--- ------- --+---- ------- + ------- ------- -+----- ----+-- ------- ------- ---+--- ---+--- ------- --+---- ------- + ------- ------- -+----- ----+-- ------- ------- ---+--- ---+--- ------- --+---- ------- + juju-ba567e- 0:~$ lxc exec juju-ba567e-0-lxd-0 bash ba567e- 0-lxd-0: ~# dhclient eth0
ubuntu@
+------
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------
| juju-ba567e-0-lxd-0 | RUNNING | | | PERSISTENT | 0 |
+------
ubuntu@
root@juju-
root@juju- ba567e- 0-lxd-0: ~# ifconfig eth0 3eff:feb3: f094/64 Scope:Link
collisions: 0 txqueuelen:1000
eth0 Link encap:Ethernet HWaddr 00:16:3e:b3:f0:94
inet addr:10.0.9.197 Bcast:10.0.9.255 Mask:255.255.255.0
inet6 addr: fe80::216:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55557 errors:0 dropped:0 overruns:0 frame:0
TX packets:30577 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:110153722 (110.1 MB) TX bytes:2556853 (2.5 MB)
```
And now that will resolve the deployment:
http:// paste.ubuntu. com/23992013/