Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix weird OVN database index issue with logical switch ports #544

Merged
merged 4 commits into from
Feb 27, 2024

Conversation

stgraber
Copy link
Member

No description provided.

Signed-off-by: Stéphane Graber <[email protected]>
Sponsored-by: ActivePort (https://www.activeport.com.au)
Signed-off-by: Stéphane Graber <[email protected]>
Sponsored-by: ActivePort (https://www.activeport.com.au)
Signed-off-by: Stéphane Graber <[email protected]>
Sponsored-by: ActivePort (https://www.activeport.com.au)
The OVN DB uses some space delimited records for the addresses, so both
the static and dynamic addresses need to be iterated over and parsed.

Also remove the logic skipping non-existing ports as that was added by
error and was actually masking the real source of this issue which was
the lack of Name indexing on that table.

Signed-off-by: Stéphane Graber <[email protected]>
Sponsored-by: ActivePort (https://www.activeport.com.au)
@hallyn hallyn merged commit ca7cdfb into lxc:main Feb 27, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants