When the sysinv_api_workers is configured incorrect, the
sysinv api will not start due to the invalid default value.
therefore will cause host swact.
In this case, we can hardly figure out why that node is
failure, This patch is to catch exception and log error
message and then reraise exception if sysinv_api_workers
is invalid value.
Reviewed: https:/ /review. opendev. org/668356 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=c38efebf91a 87c3c102fc71a9e ef8fc35298aa23
Committed: https:/
Submitter: Zuul
Branch: master
commit c38efebf91a87c3 c102fc71a9eef8f c35298aa23
Author: junboli <email address hidden>
Date: Tue Jul 9 02:24:33 2019 -0400
Reraise exception and log error message
When the sysinv_api_workers is configured incorrect, the
sysinv api will not start due to the invalid default value.
therefore will cause host swact.
In this case, we can hardly figure out why that node is
failure, This patch is to catch exception and log error
message and then reraise exception if sysinv_api_workers
is invalid value.
Closes-bug: #1835142 c28c8834d5013cc 003a1f7792f
Change-Id: Ie8dd185a6a24ae
Signed-off-by: junboli <email address hidden>