-
Notifications
You must be signed in to change notification settings - Fork 196
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
check if ovsdb-server.service is active before displaying warning #421
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <slyon@ubuntu.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No issues. Lgtm. Thanks for taking the time to correct this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
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 check
successfully.make check-coverage
).https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2041727