Rebooting the virtual machines breaks Juju networking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
James Tunnicliffe | ||
1.24 |
Fix Released
|
Critical
|
James Tunnicliffe |
Bug Description
I am using the KVM provider with 1.24.2-vivid-amd64.
I needed to reboot the virtual machines for a kernel update and was not able to connect to them after a reboot. The command 'juju status' reports their ip addresses have changed, but I can tell from virt-manager they still have the original ip addresses.
ID WORKLOAD-STATE AGENT-STATE VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
consul/0 unknown idle 1.24.2.1 1 53/tcp,
docker-exp/0 error idle 1.24.2.1 2 172.17.42.1 hook failed: "network-
docker-exp/1 error idle 1.24.2.1 3 172.17.42.1 hook failed: "network-
On my machine 172.17.42.1 appears to be the docker0 device:
mbruzek@warhorse:~$ ifconfig
docker0 Link encap:Ethernet HWaddr b2:de:6e:10:dd:4e
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::b0de:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:14830 (14.8 KB)
eth0 Link encap:Ethernet HWaddr 3c:97:0e:ea:19:ee
inet addr:192.168.1.229 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::3e97:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1496314 errors:0 dropped:0 overruns:0 frame:0
TX packets:862059 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1651547557 (1.6 GB) TX bytes:216351435 (216.3 MB)
...
The KVM virtual machines should be within the default kvm network (192.168.
$ virsh net-dumpxml default
<network>
<name>
<uuid>
<forward mode='nat'>
<nat>
<port start='1024' end='65535'/>
</nat>
</forward>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address=
<ip address=
<dhcp>
<range start='
</dhcp>
</ip>
</network>
I don't know what other logs or information you need. Please advise.
Changed in juju-core: | |
status: | In Progress → Fix Released |
importance: | Critical → High |
Changed in juju-core: | |
milestone: | none → 1.25.0 |
status: | Fix Released → Fix Committed |
status: | Fix Committed → Fix Released |
The state server machine log from the system where the error occurred.