sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #02624
[Bug 1916635] [NEW] [plugin][ovn-central] timeout on non-leader host
Public bug reported:
[IMPACT]
When running the ovn_central plugin on a non-leader host the sbctl command hangs indefinitely until the sosreport timeout kicks in.
[TEST CASE]
* Run 'sos report -a' (AKA sosreport -a) which should exercise ovn-central, if the detection criteria are met. In this case if package 'ovn-central' is installed.
AND/OR
* Run 'sos report -o ovn_central' (AKA sosreport -o ovn_central) which
will enable the ovn_central plugin only.
* The plugin will then timeout and logs will be as follows:
Setting up plugins ...
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-nb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-nb.ovsschema'
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-sb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-sb.ovsschema'
[plugin:ovn_central] added cmd output 'ovn-nbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl lflow-list'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Load_Balancer'
[plugin:ovn_central] added cmd output 'ovn-nbctl list ACL'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Logical_Switch_Port'
[plugin:ovn_central] added cmd output 'journalctl --no-pager --unit ovn-northd'
Running plugins. Please wait ...
Starting 1/1 ovn_central [Running: ovn_central]
[plugin:ovn_central] collecting path '/var/log/ovn/ovn-controller.log'
[plugin:ovn_central] collecting output of 'ovn-nbctl show'
[plugin:ovn_central] collecting output of 'ovn-sbctl show'
[WHERE PROBLEM COULD OCCUR]
If something arise after this change. It will only affect the data
collection of the 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]
Upstream issue:
https://github.com/sosreport/sos/issues/2418
Upstream PR:
https://github.com/sosreport/sos/pull/2419
** Affects: sosreport (Ubuntu)
Importance: Undecided
Assignee: Eric Desrochers (slashd)
Status: In Progress
** Affects: sosreport (Ubuntu Focal)
Importance: Undecided
Assignee: Edward Hope-Morley (hopem)
Status: In Progress
** Affects: sosreport (Ubuntu Groovy)
Importance: Undecided
Assignee: Edward Hope-Morley (hopem)
Status: In Progress
** Affects: sosreport (Ubuntu Hirsute)
Importance: Undecided
Assignee: Eric Desrochers (slashd)
Status: In Progress
** Tags: seg sts sts-sponsor-slashd
** Also affects: sosreport (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: sosreport (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: sosreport (Ubuntu Groovy)
Importance: Undecided
Status: New
** Changed in: sosreport (Ubuntu Hirsute)
Status: New => In Progress
** Changed in: sosreport (Ubuntu Hirsute)
Assignee: (unassigned) => Eric Desrochers (slashd)
** Changed in: sosreport (Ubuntu Groovy)
Assignee: (unassigned) => Edward Hope-Morley (hopem)
** Changed in: sosreport (Ubuntu Focal)
Assignee: (unassigned) => Edward Hope-Morley (hopem)
** Changed in: sosreport (Ubuntu Groovy)
Status: New => In Progress
** Changed in: sosreport (Ubuntu Focal)
Status: New => In Progress
** Description changed:
[IMPACT]
When running the ovn_central plugin on a non-leader host the sbctl command hangs indefinitely until the sosreport timeout kicks in.
[TEST CASE]
* Run 'sos report -a' (AKA sosreport -a) which should exercise ovn-central, if the detection criteria are met. In this case if package 'ovn-central' is installed.
* Run 'sos report -o ovn_central' (AKA sosreport -o ovn_central
- * The plugin will timeout an logs will be as follows:
+ * The plugin will then timeout and logs will be as follows:
Setting up plugins ...
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-nb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-nb.ovsschema'
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-sb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-sb.ovsschema'
[plugin:ovn_central] added cmd output 'ovn-nbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl lflow-list'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Load_Balancer'
[plugin:ovn_central] added cmd output 'ovn-nbctl list ACL'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Logical_Switch_Port'
[plugin:ovn_central] added cmd output 'journalctl --no-pager --unit ovn-northd'
- Running plugins. Please wait ...
+ Running plugins. Please wait ...
- Starting 1/1 ovn_central [Running: ovn_central]
+ Starting 1/1 ovn_central [Running: ovn_central]
[plugin:ovn_central] collecting path '/var/log/ovn/ovn-controller.log'
[plugin:ovn_central] collecting output of 'ovn-nbctl show'
[plugin:ovn_central] collecting output of 'ovn-sbctl show'
[WHERE PROBLEM COULD OCCUR]
+
+ If something arise after this change. It will only affect the data
+ collection of the 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]
Upstream issue:
https://github.com/sosreport/sos/issues/2418
Upstream PR:
https://github.com/sosreport/sos/pull/2419
** Tags added: seg sts
** Description changed:
[IMPACT]
When running the ovn_central plugin on a non-leader host the sbctl command hangs indefinitely until the sosreport timeout kicks in.
[TEST CASE]
* Run 'sos report -a' (AKA sosreport -a) which should exercise ovn-central, if the detection criteria are met. In this case if package 'ovn-central' is installed.
- * Run 'sos report -o ovn_central' (AKA sosreport -o ovn_central
+
+ AND/OR
+
+ * Run 'sos report -o ovn_central' (AKA sosreport -o ovn_central) which
+ will enable the ovn_central plugin only.
* The plugin will then timeout and logs will be as follows:
Setting up plugins ...
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-nb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-nb.ovsschema'
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-sb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-sb.ovsschema'
[plugin:ovn_central] added cmd output 'ovn-nbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl lflow-list'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Load_Balancer'
[plugin:ovn_central] added cmd output 'ovn-nbctl list ACL'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Logical_Switch_Port'
[plugin:ovn_central] added cmd output 'journalctl --no-pager --unit ovn-northd'
Running plugins. Please wait ...
Starting 1/1 ovn_central [Running: ovn_central]
[plugin:ovn_central] collecting path '/var/log/ovn/ovn-controller.log'
[plugin:ovn_central] collecting output of 'ovn-nbctl show'
[plugin:ovn_central] collecting output of 'ovn-sbctl show'
[WHERE PROBLEM COULD OCCUR]
If something arise after this change. It will only affect the data
collection of the 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]
Upstream issue:
https://github.com/sosreport/sos/issues/2418
Upstream PR:
https://github.com/sosreport/sos/pull/2419
** Tags added: sts-sponsor-slashd
--
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/1916635
Title:
[plugin][ovn-central] timeout on non-leader host
Status in sosreport package in Ubuntu:
In Progress
Status in sosreport source package in Focal:
In Progress
Status in sosreport source package in Groovy:
In Progress
Status in sosreport source package in Hirsute:
In Progress
Bug description:
[IMPACT]
When running the ovn_central plugin on a non-leader host the sbctl command hangs indefinitely until the sosreport timeout kicks in.
[TEST CASE]
* Run 'sos report -a' (AKA sosreport -a) which should exercise ovn-central, if the detection criteria are met. In this case if package 'ovn-central' is installed.
AND/OR
* Run 'sos report -o ovn_central' (AKA sosreport -o ovn_central) which
will enable the ovn_central plugin only.
* The plugin will then timeout and logs will be as follows:
Setting up plugins ...
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-nb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-nb.ovsschema'
[plugin:ovn_central] Could not open DB schema file /usr/share/openvswitch/ovn-sb.ovsschema: [Errno 2] No such file or directory: '/usr/share/openvswitch/ovn-sb.ovsschema'
[plugin:ovn_central] added cmd output 'ovn-nbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl show'
[plugin:ovn_central] added cmd output 'ovn-sbctl lflow-list'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-nbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-ssl'
[plugin:ovn_central] added cmd output 'ovn-sbctl get-connection'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Load_Balancer'
[plugin:ovn_central] added cmd output 'ovn-nbctl list ACL'
[plugin:ovn_central] added cmd output 'ovn-nbctl list Logical_Switch_Port'
[plugin:ovn_central] added cmd output 'journalctl --no-pager --unit ovn-northd'
Running plugins. Please wait ...
Starting 1/1 ovn_central [Running: ovn_central]
[plugin:ovn_central] collecting path '/var/log/ovn/ovn-controller.log'
[plugin:ovn_central] collecting output of 'ovn-nbctl show'
[plugin:ovn_central] collecting output of 'ovn-sbctl show'
[WHERE PROBLEM COULD OCCUR]
If something arise after this change. It will only affect the data
collection of the 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]
Upstream issue:
https://github.com/sosreport/sos/issues/2418
Upstream PR:
https://github.com/sosreport/sos/pull/2419
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1916635/+subscriptions
Follow ups