nfv/nfv
Angie Wang ab4b667f9a Fix the exception of taint/untaint node operation in VIM
If Kubernetes node has images without tag and digest
("crictl images" shows <none>:<none>), taint/untaint node
operations in VIM(triggerd by host lock/unlock) that send
the requests to Kubernetes to read/patch node via python
Kubernetes client will raise this exception.
  "Invalid value for `names`, must not be `None`"

The exception is raised in python Kubernetes client but not
from kubernetes. The node is actually patched successfully.

Implement a workaround to replace V1ContainerImage.names
in the python Kubernetes in the python Kubernete client
to bypass the "none image" check.

This workaround should be removed if the proposed solutions
can be made in kubernetes or a workaround can be implemented
in containerd.
https://github.com/kubernetes/kubernetes/pull/79018
https://github.com/containerd/containerd/issues/4771

Closes-Bug: 1905481
Signed-off-by: Angie Wang <angie.wang@windriver.com>
Change-Id: I747b5309747007204033d8dc2a850d3f824ddc5d
2020-12-02 16:40:06 +00:00
..
centos Use PKG_GITREVCOUNT for nfv package version 2020-07-13 07:28:55 -05:00
nfv-client Add 'in-progress-aborted' handling to the VIM fw update orchestration 2020-07-15 11:44:50 -04:00
nfv-common Handle REST API timeouts gracefully in the VIM 2020-06-03 11:37:56 -05:00
nfv-debug-tools/histogram_analysis Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfv-plugins Fix the exception of taint/untaint node operation in VIM 2020-12-02 16:40:06 +00:00
nfv-tests Add wait for alarms to clear to SW patch strategy unlock hosts step 2020-08-28 13:18:01 -04: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 Set up /var/run/nfv-vim as vim's default temp files location 2020-09-25 11:29:02 -04: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 up nfv tox targets for python3 2019-10-30 10:50:25 -05:00
test-requirements.txt Fix relative import warnings from pylint 2018-12-20 16:54:35 -06:00
tox.ini Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00