Neutron picking incorrect ovn records
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Rodolfo Alonso |
Bug Description
For one of our compute machines I'm seeing two network agents that appear unhealthy:
```
$ os network agent list | fgrep "register deleted"
| compute1 | OVN Controller agent | ("Chassis" register deleted) | | XXX | UP | ovn-controller |
| c085d57a-
```
The ("Chassis" register deleted) message appears to come from the fix for this: https:/
Searching for that external id I can find this private chassis and it's chassis indeed seems empty:
```
$ sudo ovn-sbctl find chassis-private | grep -A 5 e621e0fb-
_uuid : e621e0fb-
chassis : []
external_ids : {"neutron:
utron:ovn-
name : compute1
nb_cfg : 150397
nb_cfg_timestamp : 1657729945956
```
But there's also:
```
$ sudo ovn-sbctl find chassis hostname=
_uuid : 164cb56b-
encaps : [c442312a-
external_ids : {datapath-
hostname : compute1.stack
name : compute1.stack
nb_cfg : 0
other_config : {datapath-
transport_zones : []
vtep_logical_
$ sudo ovn-sbctl find chassis-private chassis=
_uuid : cbec617d-
chassis : 164cb56b-
external_ids : {"neutron:
name : compute1.stack
nb_cfg : 312321
nb_cfg_timestamp : 1679042105359
```
Which seems to be a correct entry -- should neutron not pick up this entry rather than the one with "chassis : []"?
Software versions:
ii neutron-server 2:20.2.
ii ovn-central 22.03.0-
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
Please let me know if I can provide more diagnostics.
description: | updated |
tags: | added: ovn |
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
From the info you provided I believe you're running stable/yoga code, which should have the fix you mentioned.
Did you try restarting neutron-server to see if that changed anything?