Using bridges defined by MAAS 2.1 makes Juju and Mongo eat lots of CPU and RAM

Bug #1644720 reported by Andrew McDermott
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Andrew McDermott

Bug Description

In MAAS 2.1 you can now define bridged interfaces.

If you bootstrap Juju against a machine configured with bridges juju repeatedly logs an error:

{github.com/juju/juju/state/machine_linklayerdevices.go:641: cannot set link-layer device addresses of machine "0"} {github.com/juju/juju/state/machine_linklayerdevices.go:641: }

The worker dies and restarts:

2016-11-24 21:34:51 TRACE juju.worker.dependency engine.go:608 restarting dependents of "machiner" manifold
2016-11-24 21:34:51 TRACE juju.worker.dependency engine.go:422 starting "machiner" manifold worker in 3.05s...

and the process repeats causing Juju and Mongo to use a lot of CPU, and for mongo lots of RAM (>1GB).

This is because the MAAS provider does not cater for the "bridge" type.

Changed in juju:
importance: Undecided → Critical
assignee: nobody → Andrew McDermott (frobware)
Revision history for this message
Andrew McDermott (frobware) wrote :
summary: - Using bridges on MAAS 2.1 makes Juju and Mongo eat lots of CPU and RAM
+ Using bridges defined by MAAS 2.1 makes Juju and Mongo eat lots of CPU
+ and RAM
Revision history for this message
Andrew McDermott (frobware) wrote :
Changed in juju:
status: New → In Progress
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
Andrew McDermott (frobware) wrote :
Curtis Hovey (sinzui)
Changed in juju:
milestone: none → 2.1.0
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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