check if ovsdb-server.service is active before displaying warning#421
check if ovsdb-server.service is active before displaying warning#421slyon merged 2 commits intocanonical:mainfrom
Conversation
slyon
left a comment
There was a problem hiding this comment.
Thank you very much @viciousdrop for your contribution and picking up the information from the bug report. Unfortunately, I think it's a little bit more complicated than that and we should actually check if OVS is installed on the system, instead of just hiding the warning message unconditionally.
See my inline comment.
|
I rebased your branch and adopted it according to my comments above. What do you think about this changeset @viciousdrop and @daniloegea ? |
…rowing an error Adopted changes outlined in this bug Credit: https://github.com/brianfinley https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2041727 "WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running." Co-Authored-by: Lukas Märdian <[email protected]>
|
No issues. Lgtm. Thanks for taking the time to correct this. |
slyon
left a comment
There was a problem hiding this comment.
OK, let's get this merged.
|
I'm still encountering the same error, when I'm modifying and applying the 00-installer-config.yaml |
|
I have this issue when deploying Kolla-Ansible and the function fails on checking bonded ports provided by netplan |
@dauji Did you use the latest Netplan version from git for your test? I cannot seem to reproduce this with the latest version. |
This seems to happen in a very specific context. Can you please open a bug report about it? |
|
Any thought about the situation if netplan config contains openvswitch configuration, but openvswitch is not installed or not active? |
In that case you should probably get a
|
|
today is 21st Aug 2024, just wanted to add that on freshly installed Ubuntu 22.04 this issue still exists. |
|
The SRU in https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2058031 is current blocked due to a regression in juju. But you can already install |
Description
Made changes outlined in this bug
Credit: @brianfinley https://launchpad.net/~finley
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2041727
Tested on Ubuntu 22.04.3 LTS and the error message no longer displays
Checklist
make checksuccessfully.make check-coverage).https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2041727