1.20.12 breaks neutron-gateway, since all interfaces are brought up

Bug #1395081 reported by Björn Tillenius
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Dimiter Naydenov

Bug Description

1.20.12 seems to bring up all network interfaces now:

ubuntu@newton:~$ cat /etc/network/interfaces
auto lo

auto eth0

iface wlan0 inet dhcp

iface eth1 inet dhcp

iface eth0 inet manual

auto juju-br0
iface juju-br0 inet dhcp
    bridge_ports eth0

auto eth1
iface eth1 inet dhcp

This breaks OpenStack deployments, since neutron-gateway can't use the interface if it already has an IP.

With 1.20.11 everything works as expected, eth1 doesn't get configured.

tags: added: cloud-installer landscape
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 1.22
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Download full text (4.1 KiB)

Attached are some logs of a reproducer:

- juju deploy ubuntu (using MAAS as the provider and a node that has two NICs)
- juju deploy cs:trusty/ubuntu ubuntu-in-lxc --to lxc:N

ifconfig shows two interfaces up with Ip addresses

juju status:
environment: beretstack
machines:
  "0":
    agent-state: started
    agent-version: 1.20.12
    dns-name: maxwell.beretstack
    instance-id: /MAAS/api/1.0/nodes/node-2db80c2e-4b4a-11e4-ad24-a0b3cce4ecca/
    series: trusty
    hardware: arch=amd64 cpu-cores=4 mem=16384M
    state-server-member-status: has-vote
  "2":
    agent-state: started
    agent-version: 1.20.12
    dns-name: hawking.beretstack
    instance-id: /MAAS/api/1.0/nodes/node-1f0ed478-4b4a-11e4-a091-a0b3cce4ecca/
    series: trusty
    containers:
      2/lxc/0:
        agent-state: started
        agent-version: 1.20.12
        dns-name: 10.1.43.73
        instance-id: juju-machine-2-lxc-0
        series: trusty
        hardware: arch=amd64
    hardware: arch=amd64 cpu-cores=4 mem=16384M
services:
  ubuntu:
    charm: cs:trusty/ubuntu-0
    exposed: false
    units:
      ubuntu/0:
        agent-state: started
        agent-version: 1.20.12
        machine: "2"
        public-address: hawking.beretstack
  ubuntu-in-lxc:
    charm: cs:trusty/ubuntu-0
    exposed: false
    units:
      ubuntu-in-lxc/0:
        agent-state: started
        agent-version: 1.20.12
        machine: 2/lxc/0
        public-address: 10.1.43.73
networks:
  maas-br0:
    provider-id: maas-br0
    cidr: 10.1.0.0/16

ifconfig on ubuntu/0:
eth0 Link encap:Ethernet HWaddr ec:a8:6b:fe:13:1b
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:166826 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76522 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:248259255 (248.2 MB) TX bytes:6503166 (6.5 MB)
          Interrupt:20 Memory:f7d00000-f7d20000

eth1 Link encap:Ethernet HWaddr 00:23:55:2c:53:73
          inet addr:10.1.35.93 Bcast:10.1.255.255 Mask:255.255.0.0
          inet6 addr: fe80::223:55ff:fe2c:5373/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:355 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22459 (22.4 KB) TX bytes:1762 (1.7 KB)

juju-br0 Link encap:Ethernet HWaddr ec:a8:6b:fe:13:1b
          inet addr:10.1.4.1 Bcast:10.1.255.255 Mask:255.255.0.0
          inet6 addr: fe80::eea8:6bff:fefe:131b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:136290 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70909 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:207406336 (207.4 MB) TX bytes:5733540 (5.7 MB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overr...

Read more...

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

machine-2.log, includes content from machine-2-before-adding-container.log and what happened after (as requested by dimitern)

Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.22 → 1.20.13
Revision history for this message
Dimiter Naydenov (dimitern) wrote :

Fix proposed with http://reviews.vapour.ws/r/518/ to restore the 1.20.11 behavior.

Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Dimiter Naydenov (dimitern)
Curtis Hovey (sinzui)
Changed in juju-core:
status: In Progress → Fix Committed
tags: added: maas-provider network regression
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.