nfv/nfv
Bart Wensley 3250993b82 Wait for pods to terminate when host is locked
When a host is locked, the VIM adds the NoExecute taint to the
host, which causes pods on the host to be terminated. The VIM
is currently not waiting for the pods to terminate, so if the
host reboots before pods are terminated (e.g. if an unlock was
done quickly after the lock), there can be issues with pod
recovery.

With this change, the VIM will wait for up to 3 minutes for
pods to terminate. If there are still pods terminating at
that point, the VIM will either fail the lock (normal case)
or allow the lock to pass (force lock case).

Change-Id: I9f402ab6dc29ecc314bbd1a058ae3d79ea8728fe
Closes-Bug: 1846818
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
2019-10-08 09:37:00 -05:00
..
centos Wait for pods to terminate when host is locked 2019-10-08 09:37:00 -05:00
nfv-client small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
nfv-common small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
nfv-debug-tools/histogram_analysis Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfv-plugins Wait for pods to terminate when host is locked 2019-10-08 09:37:00 -05:00
nfv-tests Wait for pods to terminate when host is locked 2019-10-08 09:37:00 -05: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 Wait for pods to terminate when host is locked 2019-10-08 09:37:00 -05: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 Fix import(s) related issues for Python 2/3 compatible code. 2019-01-19 01:17:47 +08:00
test-requirements.txt Fix relative import warnings from pylint 2018-12-20 16:54:35 -06:00
tox.ini small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00