nfv/nfv
Heitor Matsui fc1aff636d Detect and kill hung vim process
There is a specific scenario when vim starts where threads keep
stalled and then after 600s the subsystems are marked as not sane.
In this situation vim is supposed to quit, but instead it stays
alive but in a failed state.

This commit adds an extra step in vim monitoring ocf script to
test if vim rpc port is open and responding, and if not, vim
is forcefully killed.

Test Plan
PASS: install/bootstrap/unlock AIO-SX
PASS: get vim to a not-sane state and observe it being killed
      and restarted in this scenario

Closes-bug: 1979992
Change-Id: I55777a0858507634a362e58b9da281492809a03d
Signed-off-by: Heitor Matsui <HeitorVieira.Matsui@windriver.com>
2022-06-28 15:07:52 -03:00
..
centos Kube rootca update orchestration integration 2021-09-02 12:53:36 -05:00
debian Set proper permission to ocf script of vim services 2022-03-02 14:16:57 -05:00
nfv-client Debian: Fix ugly error deleting a patch strategy 2022-05-26 19:14:29 +00:00
nfv-common Debian: Fix sw-manager commands 2022-05-20 19:13:32 +00:00
nfv-debug-tools/histogram_analysis Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
nfv-plugins Debian: Eliminate nfv IOError logs during api calls 2022-04-02 02:56:19 +00:00
nfv-tests Add migrate steps for hosts without instances 2022-02-25 17:48:42 -03:00
nfv-tools small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
nfv-vim Detect and kill hung vim process 2022-06-28 15:07:52 -03:00
opensuse Add opensuse specfiles to nfv 2019-10-02 10:34:02 -05:00
.coveragerc Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
.gitignore Add bugbear to flake8 and cleanup some errors 2018-09-13 14:12:48 -05:00
.stestr.conf Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00
pylint.rc Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00
test-requirements.txt Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
tox.ini Fix unit tests unable to find fm-api 2021-09-29 17:01:25 -05:00