Comment 4 for bug 1822571

Revision history for this message
Haresh (hakhande) wrote : Re: [Bug 1822571] Re: OVS n-handler-threads and n-handler-threads parameters are incoherent with hypervisor isolated core list

Hi,

This was accidental change. I will revert back to original. Thanks for
bringing it to my attention.

Thanks
Haresh

On Sat 25 May, 2019, 9:05 PM Jeremy Stanley, <email address hidden> wrote:

> It's unclear why you switched this report from Public to Public
> Security. Neither the bug description nor the patch indicate a suspected
> attack vector which could take advantage of it. For example, does this
> represent a possible denial of service condition which an unprivileged
> user can exploit?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1822571
>
> Title:
> OVS n-handler-threads and n-handler-threads parameters are incoherent
> with hypervisor isolated core list
>
> Status in tripleo:
> Fix Released
>
> Bug description:
> Description
> ===========
> All OpenStack and hypervisor services will run on the HostCpusList. The
> problem is that ovs-vswitchd is not aware of such partitioning, and is
> spawning many userland threads as it believes that he can run on all of the
> CPUs.
>
> Steps to reproduce
> ==================
> 1) Deploy OVS. Observe the revalidator and handler threads
> [heat-admin@compute-0 ~]$ ps H -o 'tid comm' <openvswitchd process id>
> TID COMMAND
> 22031 ovs-vswitchd
> 22032 ovs-vswitchd
> 22034 ovs-vswitchd
> 22035 ovs-vswitchd
> 22036 ovs-vswitchd
> 22037 ovs-vswitchd
> 22038 dpdk_watchdog1
> 22046 urcu2
> 22066 ct_clean3
> 22739 pmd164
> 22740 pmd165
> 22741 pmd167
> 22742 pmd166
> 493539 handler613
> 493540 revalidator610 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 493541 revalidator611 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 493542 revalidator612 <<<<<<<<<<<<<<<<<<<<<<<<<<<
> 493543 revalidator614 <<<<<<<<<<<<<<<<<<<<<<<<<<
>
> Expected result
> ===============
> Running on specified cores
>
> Actual result
> =============
> Utilizing all available cores
>
> Environment
> ===========
> OVS with DPDK
> Logs & Configs
> sudo ovs-vsctl get Open_vSwitch . other_config:n-revalidator-threads
> sudo ovs-vsctl get Open_vSwitch . other_config:n-handler-threads
> ==============
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/tripleo/+bug/1822571/+subscriptions
>