sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #02611
[Bug 1915072] Re: [plugin][ovn-central][ovn-host] include logs
I've tested this on focal and there is an issue but it might not be
related to this patchset:
I tested running sosreport with -a on both an ovn-controller and an ovn-
central host. This all works fine until I run it on an ovn-central host
that is not the db leader (you can only run commands on a leader host).
In this case the ovn_central plugin hangs -
https://pastebin.ubuntu.com/p/MJg3VHmS3y/. These commands were added in
previous commit cc63749 so are already in sosreport. Ill open a bug on
sosreport to see if there is a way to work around this.
--
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1915072
Title:
[plugin][ovn-central][ovn-host] include logs
Status in sosreport package in Ubuntu:
Fix Released
Status in sosreport source package in Bionic:
New
Status in sosreport source package in Focal:
Fix Committed
Status in sosreport source package in Groovy:
Fix Committed
Status in sosreport source package in Hirsute:
Fix Released
Bug description:
[Impact]
The existing ovn plugins are a bit limited e.g. they don't collect any
logs. I'd like to extend them a little to include logs and a bit more
debug info i.e. these plugins:
sos/report/plugins/ovn_central.py
sos/report/plugins/ovn_host.py
[Test Case]
* Connect to host with ovn.
* Run sosreport (this can be run in various ways but for the sake of this documenation let's use the most common):
** sosreport -a (If the right ovn condition are met (e.g. right pkgs installed, ...) the plugin will detect it and run the plugin accordingly.
** sosreport -o ovn_central
** sosreport -o ovn_host
[Where problems could occur]
If something arise after this change. It will only affect the data
collection of the ovn-host and/or ovn-central plugin individually. It
won't affect other plugins nor core functionalities.
Worse case scenario would be that user will have to collect ovn
debugging data manually (outside a usual sosreport run) in order to
provide it to a third-party support vendor.
[Other information]
Issues:
https://github.com/sosreport/sos/issues/2409
PR:
https://github.com/sosreport/sos/pull/2410
Commit:
https://github.com/sosreport/sos/commit/e1845a1f2bc1ba1f556e3dde60ae9a2584d3f825
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1915072/+subscriptions