Updating microovn from 24.03 to 26.03 breaks ovs
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- devops, infrastructure, networking
Direzione di ricerca
Start with the linked OVN commits and the v24.03.9 / v26.03.2 changelogs to confirm which release clears other_config:flow-restore-wait and how it interacts with external_ids:ovn-managed-flow-restore-wait. The 'Fix: Bump' section is truncated and the change belongs in the microovn snap packaging, not this repo, where only service/version.go (microOVNMinVersion) is named. Done means a 24.03→26.03 three-node upgrade leaves no lingering flag, BFD comes up, and a chassis claims the HA gateway port. Reproducing needs three nested LXD containers, so expect a heavy setup before any edit.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
After refreshing microovn cluster from 24.03/stable to 26.03/stable, OVN networking stops working on every gateway chassis, despite microovn status showing healthy.
The cause is other_config:flow-restore-wait=true. This flag is set in the OVS database by the 24.03 snap's OVN controller as part of normal operation, but 26.03 doesn't manage and therefore never clears this flag, so ovs-vswitchd keeps waiting forever.
Affected versions
Both 26.03/stable and latest/stable are affected.
Impact
- All new data-plane flows fail on affected chassis, meaning DHCP, ARP, and traffic from new instances is dropped.
- Instances that were running from before the upgrade may continue working until flows are flushed.
- No chassis claims the HA gateway port, so north-south traffic is also down.
lxc network info <ovn-network>fails withFailed getting active chassis for logical router port ...- MicroCloud 3.4.1 now refuses init and join unless MicroOVN is ≥ 26.03 (microOVNMinVersion in service/version.go). As such, every MicroCloud user who upgrades to add a node gets pushed through this.
Steps to reproduce
Create three LXD containers with security.nesting=true.
# Install microovn and set up a 3 node cluster
snap install microovn --channel=24.03/stable
# On one node
microovn cluster bootstrap
microovn cluster add
# On the other two
microovn cluster join
# Create a router with an HA gateway spanning all 3 chassis
microovn.ovn-nbctl \
-- ls-add ls-ext -- lr-add lr0 \
-- lrp-add lr0 lrp-ext 00:00:00:00:ff:02 172.16.0.1/24 \
-- lsp-add ls-ext lsp-ext-r -- lsp-set-type lsp-ext-r router \
-- lsp-set-addresses lsp-ext-r router \
-- lsp-set-options lsp-ext-r router-port=lrp-ext \
-- lrp-set-gateway-chassis lrp-ext node-1 30 \
-- lrp-set-gateway-chassis lrp-ext node-2 20 \
-- lrp-set-gateway-chassis lrp-ext node-3 10
# 24.03.8 only starts managing the flag after applying a non-zero nb_cfg
microovn.ovn-nbctl --wait=hv sync
# Each node now has the flag and the marker
microovn.ovs-vsctl get Open_vSwitch . other_config:flow-restore-wait # "true"
microovn.ovs-vsctl get Open_vSwitch . external_ids:ovn-managed-flow-restore-wait # "true"
# Upgrade every node
snap refresh microovn --channel 26.03/stable
Expected behavior
The data plane should work fine after the upgrade. The flag is cleared, BFD comes up, a chassis claims the gateway port, and new instances get DHCP leases and connectivity.
Actual behavior
node-1: flow-restore-wait="true" lookups: hit:211 missed:14 lost:144
node-2: flow-restore-wait="true" lookups: hit:210 missed:15 lost:119
node-3: flow-restore-wait="true" lookups: hit:204 missed:18 lost:97
logical_port : cr-lrp-ext
chassis : []
BFD on all tunnels: state=down
VIF added after the upgrade: cannot ping its router
Workaround
On every chassis:
sudo microovn.ovs-vsctl remove Open_vSwitch . other_config flow-restore-wait
The switch resumes immediately. Instances that had already given up on DHCP may need
their client restarted.
Fix
Bump
References
- Lingua principale
- Go
- Stelle
- 552
- Fork
- 96
- Merge medio
- 4g 10h
- PR unite (30g)
- 21
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di canonical/microcloud
-
Bug Documentation Jira
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
canonical/microcloud#1506 · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
microcloud remove unnecessarily changes default Ceph pool replication factorForse già presa @roosterfish l’ha presa 5 giorni fa. ApertaBug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
canonical/microcloud#1705 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
canonical/microcloud#1688 · 4 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
canonical/microcloud#1686 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
[E2E] storage lifecycle test scenarioForse già presa @chanchiwai-ray l’ha presa 6 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
canonical/microcloud#1678 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di canonical/microcloud
Issue simili
-
mcpx scan: flag unsafe tool namesForse già presa @zeyadbadawyy l’ha presa oggi. Apertaarea/scan enhancement good first issue priority/medium size/small
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rohitgollarahalli/mcpx#45 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Windows 主机
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Lee-xeo/Claude-Cage#1550 ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) ui: spanPaint can index spans past their end (panic: index out of range)Forse già presa @MaxMiksa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno