test network configuration broken with openvswitch bridge

Bug #1914762 reported by Chris MacNaughton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Alberto Donato
3.3
Fix Released
Medium
Alberto Donato
maas-images
Fix Committed
Medium
Alberto Donato

Bug Description

Testing maas 2.9 + openvswitch bridges, when I try to use the "validate network config" functionality, my tests fail with :

/etc/netplan/netplan.yaml:28:7: Error in network definition: br-ex.1001: The 'ovs-vsctl' tool is required to setup OpenVSwitch interfaces.

Related branches

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

MAAS version: 2.9.1 (9153-g.66318f531)

I setup ovs by creating a bond in MAAS (eno3+4), and then adding an openvswitch bridge to that bond.

After creating the bridge, I clicked the "Validate network configuration" button and accepted the default set of tests and parameters:
internet, gateway, and rack-controller connectivity tests with 'https://connectivity-check.ubuntu.com' as the URl for the internet connectivity script.

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.10-beta1
Revision history for this message
Adam Collard (adam-collard) wrote :

MAAS needs to include openvswitch-switch package in the ephemeral environment it uses for Testing when the user has picked an OVS bridge

summary: - test network configuration broken with openvswtich bridge
+ test network configuration broken with openvswitch bridge
Changed in maas:
milestone: 3.0-beta1 → 3.0-beta2
Changed in maas:
milestone: 3.0-beta2 → 3.0-beta3
Changed in maas:
milestone: 3.0.0-beta3 → 3.0.0-beta4
Changed in maas:
milestone: 3.0.0-beta4 → 3.0.0-beta5
Changed in maas:
milestone: 3.0.0-beta5 → 3.0.0-rc1
Changed in maas:
milestone: 3.0.0-rc1 → 3.0.1
Revision history for this message
Alan Baghumian (alanbach) wrote :

This is still happening and not fixed yet. Would be great if we can fix this. I tested this with MAAS 3.2.6 (Snap).

Apparently all we need is having the Openvswitch packages installed prior to netplan apply.

Changed in maas:
milestone: 3.0.1 → 3.4.0
Alberto Donato (ack)
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Alberto Donato (ack)
Revision history for this message
Alberto Donato (ack) wrote :

Unfortunately it's not just the openvswitch packages, since the OVS kernel modules are also needed.

Currently we don't install the kernel and modules in the ephemeral environment, since the kernel+initrd is passed by maas directly as boot, so we need to either add OVS modules to the initrd, or install kernel+modules (along with their deps) in the ephemeral env

Alberto Donato (ack)
Changed in maas-images:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Alberto Donato (ack)
Changed in maas:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → In Progress
Alberto Donato (ack)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas-images:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.0-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.