Support multiple (physical & virtual) network interfaces with the same MAC address on the same machine

Bug #1307513 reported by Dimiter Naydenov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Dimiter Naydenov

Bug Description

In order to support more than one VLAN on the same physical interface and/or multiple virtual interfaces on the same physical one, we need to change state networkInterfaces collection to use a different key. Now it assumes the MAC address is unique, but this is not adequate. We also need to make sure we have ways to ensure that:
 1. Only one interface with a given name on a given machine id can exist.
 2. Only one interface with a given MAC address and a given network name can exist (the network document contains the VLAN tag which along with the MAC address uniquely identifies an interface regardless of the machine it's on).

Tags: tech-debt

Related branches

Changed in juju-core:
importance: High → Critical
Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Dimiter Naydenov (dimitern) wrote :

When this lands and we're about to release 1.19.1, we should mention in the release notes that if you deployed anything with specified networks with 1.19.0, you should redeploy your environment because of schema changes to how networks/interfaces are stored internally (confirmed with William).

Go Bot (go-bot)
Changed in juju-core:
status: In Progress → Fix Committed
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

Related blueprints

Remote bug watches

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