LXD containers /etc/network/interfaces as generated by Juju gets overwritten by LXD container start

Bug #1566801 reported by Andrew McDermott
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Andrew McDermott

Bug Description

Since the latest merge of LXD into master the /etc/network/interfaces file that Juju generates for a container is being overwritten resulting in broken container networking.

See IRC conversation http://pastebin.ubuntu.com/15634033/

tags: added: network
Changed in juju-core:
importance: Undecided → Critical
Changed in juju-core:
assignee: nobody → Andrew McDermott (frobware)
summary: - LXD containers /etc/network/interfaces currently gets overwritten
+ LXD containers /etc/network/interfaces as generated by Juju gets
+ overwritten by LXD container start
Changed in juju-core:
milestone: none → 2.0-beta4
status: New → Triaged
Changed in juju-core:
milestone: 2.0-beta4 → 2.0-rc1
Changed in juju-core:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta5 → 2.0-rc1
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta6 → 2.0-beta7
Revision history for this message
Andrew McDermott (frobware) wrote :
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta7 → 2.0-beta8
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta8 → 2.0-beta9
Revision history for this message
Andrew McDermott (frobware) wrote :

Also waiting on a fix in cloud-init:

  https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1590104

I will push my changes as-is but they need revisiting/testing once the cloud-init bug has been fixed.

David Britton (dpb)
tags: added: landscape
Chris Gregan (cgregan)
tags: added: cdo-qa-blocker
Revision history for this message
Andrew McDermott (frobware) wrote :
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta9 → 2.0-beta10
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta10 → 2.0-beta11
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta11 → 2.0-beta12
Changed in juju-core:
milestone: 2.0-beta12 → 2.0-beta13
importance: Critical → High
tags: added: 2.0
Revision history for this message
Andrew McDermott (frobware) wrote :

I haven't made any progress with this and am not currently working on it. Note: I believe this will also affect KVM containers/machines too.

Changed in juju-core:
assignee: Andrew McDermott (frobware) → nobody
Changed in juju-core:
status: In Progress → Triaged
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta13 → 2.0-beta14
Revision history for this message
Andrew McDermott (frobware) wrote :
Changed in juju-core:
assignee: nobody → Andrew McDermott (frobware)
Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Andrew McDermott (frobware) wrote :

This has been tested against LP #1603473. Will do some further testing tomorrow on the public clouds and raise a PR.

Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta14 → none
milestone: none → 2.0-beta14
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.