Boost sm process priority in VBox environment

There is an instance that sm claimed its main thread ran sluggish
as some critical timer run behind the scheuled timing.
The issue could prevent the sm from scheduling services.
As the result, the controller could fail to enable.

The issue was found only on vbox labs on AIO-SX, the fix is to boost
sm process priority to nice value -10 from current -2.

Closes-Bug: 1816764
Depends-On: https://review.openstack.org/638664
Change-Id: Iafa17b1c47d65cc7394552ea1c8e7a78398e4869
Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
Bin Qian 2019-02-21 14:46:34 -05:00
parent a6d71ae50e
commit a6934ac9d2
1 changed files with 6 additions and 0 deletions

View File

@ -352,6 +352,12 @@ class platform::sm
# lint:ignore:140chars
if str2bool($::is_virtual) {
exec { 'Configure sm process priority':
command => 'sm-configure system --sm_process_priority -10',
}
}
if $system_mode == 'simplex' {
exec { 'Deprovision oam-ip service group member':
command => 'sm-deprovision service-group-member oam-services oam-ip',