maas provider assumes machine uses dhcp for eth0
Bug #1361374 reported by
Jason Hobbs
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Dimiter Naydenov | ||
1.20 |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
This is with juju-1.
I've configured MAAS to provision a system using static IP addresses. curtins sets up eth0 to be static via /etc/network/
When juju starts to setup the system, it fails to setup br0 properly because eth0 is using static, not dhcp. Since juju brings eth0 down first, networking is lost and the system doesn't work.
I also tried having curtin configure br0 itself; juju still brings down eth0, then fails to create br0 because it's already configured, and eth0 is left down.
description: | updated |
tags: | added: addressability maas-provider network |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → next-stable |
Changed in juju-core: | |
assignee: | nobody → Dimiter Naydenov (dimitern) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | next-stable → 1.21-alpha1 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In the mid- to long-term juju will be more flexible in the networking setup and allow static IPs and bridges to be configured as needed (not only for MAAS), but this will come along as we implement more of the networking model.
In the short-term, I propose to implement a "safety switch" environment setting (a flag, false by default) "disable- network- management" , which when set will prevent juju from trying to configure or manage networking on the machines AT ALL (i.e. the networker will run in safe mode and the maas provider in particular won't change the networking setup during cloudinit). This should fix your immediate issue.
Off-topic: There seems to be some misunderstanding, as as far as I know it was decided to allow juju to manage the networking in a maas environment (at least for this cycle). If both Juju and MAAS try to manage networking there are bound to be issues and we need to work together more closely.