KVM guests do not get their Juju interfaces file if interface names are incorrect

Bug #1646067 reported by Mick Gregg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

Juju writes out `/etc/network/interfaces-juju` with the required network configuration, as part of user-data, then tries to use this file to configure networking. If successful, `interfaces-juju` replaces `interfaces`.

This is failing on xenial, at least, because it assumes to use eth0..ethN as interface names, but these interfaces don't exist.

The result is that the default cloud-init interfaces.d config file is left in use (DHCP on ens3, in the xenial case).

The KVM template is also assuming/trying to use eth names as interface guest dev values, but they are not appearing in the guest.

Bug 1646063 will probably need to be fixed before this can be properly resolved for multi-homed machines.

Mick Gregg (macgreagoir)
description: updated
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.2.0
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.2-beta1 → 2.2-beta2
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.