maas: incomplete bridge configuration for VLANs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Incomplete
|
Low
|
Unassigned | ||
Netplan |
New
|
Undecided
|
Unassigned | ||
netplan.io (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Juju: 2.4.1
MAAS: 2.3.3
Ubuntu: 18.04 with latest updates
Relatively simple four machine deployment; machines have connectivity via two physical nics, on with two spaces configured, and the second with just a single space configured (see cloud-init-
I think I'm seeing a race between juju reworking the base netplan configuration with bridges, and LXD containers being started which results in a lack of bridges to two spaces on some machines (see
juju-98-
On machines where I see missing bridges I also see:
ubuntu@node-urey:~$ ls -lrt /etc/netplan/
total 12
-rw-r--r-- 1 root root 1712 Aug 1 09:40 50-cloud-
-rw-r--r-- 1 root root 1166 Aug 1 09:43 99-juju.
-rw-r--r-- 1 root root 1166 Aug 1 09:44 98-juju.yaml
vs
ubuntu@
total 16
-rw-r--r-- 1 root root 1713 Aug 1 09:40 50-cloud-
-rw-r--r-- 1 root root 1270 Aug 1 09:44 99-juju.
-rw-r--r-- 1 root root 1270 Aug 1 09:44 98-juju.
-rw-r--r-- 1 root root 1270 Aug 1 09:45 99-juju.yaml
on one where the bridges have been configured (see juju-99-
Changed in juju: | |
milestone: | none → 2.4.2 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju: | |
milestone: | 2.4.2 → none |
Also seeing this in the machine logs on each server:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x10fad84]
goroutine 378 [running]: com/juju/ juju/container/ lxd.(*Server) .CreateContaine rFromSpec( 0xc4203becc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/workspace/ _build/ src/github. com/juju/ juju/container/ lxd/container. go:203 +0x84 com/juju/ juju/container/ lxd.(*container Manager) .CreateContaine r(0xc4206a6900, 0xc421316780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/workspace/ _build/ src/github. com/juju/ juju/container/ lxd/manager. go:102 +0x18f com/juju/ juju/worker/ provisioner. (*lxdBroker) .StartInstance( 0xc4203bed00, 0x3563760, 0xc42074a2c0, 0xc42086a180, 0x24, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/workspace/ _build/ src/github. com/juju/ juju/worker/ provisioner/ lxd-broker. go:135 +0x831 com/juju/ juju/worker/ provisioner. (*provisionerTa sk).startMachin e(0xc42071c580, 0xc4205ada10, 0x0, 0x0, 0x0, 0xc42061af30, 0xc42029ad80)
/workspace/ _build/ src/github. com/juju/ juju/worker/ provisioner/ provisioner_ task.go: 1071 +0x320 com/juju/ juju/worker/ provisioner. (*provisionerTa sk).startMachin es.func1( 0xc4206e8d90, 0xc42071c580, 0xc420379400, 0x2, 0x2, 0xc4205ada10, 0x0, 0x0, 0x0, 0x0)
/workspace/ _build/ src/github. com/juju/ juju/worker/ provisioner/ provisioner_ task.go: 920 +0x8d com/juju/ juju/worker/ provisioner. (*provisionerTa sk).startMachin es
/workspace/ _build/ src/github. com/juju/ juju/worker/ provisioner/ provisioner_ task.go: 918 +0x2fb
github.
github.
github.
github.
github.
created by github.