MAAS can no longer commission machines with OpenVSwitch Bridges
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-images |
Triaged
|
High
|
Unassigned |
Bug Description
Hello MAAS Team,
I just realized commissioning machines that have network interfaces configured with OpenVSwitch bridges no longer works. I am using MAAS 3.3 and tried commissioning with Focal as well as Jammy images with the same results.
SSH'ing into the commissioning machine reveals the following issue:
Aug 29 22:39:27 os-vm-4 ovs-ctl[4169]: modprobe: FATAL: Module openvswitch not found in directory /lib/modules/
Aug 29 22:39:27 os-vm-4 ovs-ctl[4161]: * Inserting openvswitch module
Aug 29 22:39:27 os-vm-4 systemd[1]: ovs-vswitchd.
Also tried:
$ sudo modprobe openvswitch
modprobe: FATAL: Module openvswitch not found in directory /lib/modules/
It's been a while (approx 5-6 months) since I commissioned a machine with this configuration, so I'm not quite sure when this issue actually started.
I'm also attaching a screenshot of the network configuration of the affected machine.
Please review and let me know if there are any questions.
Best,
Alan
summary: |
- MAAS can no longer commisson machines with OpenVSwitch Bridges + MAAS can no longer commission machines with OpenVSwitch Bridges |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
I'm also able to reproduce this behavior.
- MAAS 3.3.2
- Commissioning Image: Ubuntu Focal
Console error shown during commissioning image boot: service' for details. deb-systemd- invoke line 142. service' for details. switch. service failed. See 'journalctl -xe' for details. switch. service - Open vSwitch system/ openvswitch- switch. service; enabled; vendor preset: enabled) switch. service: Job openvswitch- switch. service/ start failed with result 'dependency'.
---
[FAILED] Failed to start Open vSwitch Forwarding Unit.
See 'systemctl status ovs-vswitchd.
[DEPEND] Dependency failed for Open vSwitch Record Hostname.
[ 37.201868] cloud-init[2033]: Could not execute systemctl: at /usr/bin/
[ OK ] Stopped Open vSwitch Forwarding Unit.
Starting Open vSwitch Forwarding Unit...
[FAILED] Failed to start Open vSwitch Forwarding Unit.
See 'systemctl status ovs-vswitchd.
[DEPEND] Dependency failed for Open vSwitch Record Hostname.
[DEPEND] Dependency failed for Open vSwitch.
[ 37.458764] cloud-init[2033]: A dependency job for openvswitch-
[ 37.459807] cloud-init[2033]: invoke-rc.d: initscript openvswitch-switch, action "start" failed.
[ 37.462900] cloud-init[2033]: ○ openvswitch-
[ 37.463269] cloud-init[2033]: Loaded: loaded (/lib/systemd/
[ 37.463402] cloud-init[2033]: Active: inactive (dead)
[ 37.463711] cloud-init[2033]:
[ 37.465523] cloud-init[2033]: Aug 29 22:35:17 maas-large systemd[1]: Dependency failed for Open vSwitch.
[ 37.465911] cloud-init[2033]: Aug 29 22:35:17 maas-large systemd[1]: openvswitch-
[ 37.466121] cloud-init[2033]: dpkg: error processing package openvswitch-switch (--configure):
[ 37.466371] cloud-init[2033]: installed openvswitch-switch package post-installation script subprocess returned error exit status 1
[ 37.480777] cloud-init[2033]: Processing triggers for man-db (2.10.2-1) ...
---