netplan device order does matter (has been fixed in past)

Bug #1787603 reported by Marcus Wellnitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nplan (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

defining a bridge device _before_ the ethernet devices triggers an error:

`netplan apply`failes if you specify a virtual devices before their member devices.

Was fixed in the past according to this bug report: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1670495

Problem: When deploying via ansible the order is mixed up. In my case 'bonds' are always before 'ethernets' and netplan fails

affects:
* 18.04 LTS (Bionic Beaver)
* netplan.io 0.36.3
* netplan.io 0.36.1

Revision history for this message
Lukas Märdian (slyon) wrote :

I cannot reproduce this on a recent release of netplan (using Ubuntu Jammy) nor on Bionic. Using this configuration, the bridge is created correctly:

network:
    version: 2
    bridges:
      br0:
        interfaces: [eth0]
    ethernets:
        eth0:
            dhcp4: true

Please re-open if this is still an issue.

Changed in nplan (Ubuntu):
status: New → Invalid
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.