nfv/nfv
Al Bailey c908b9625d Remove polling from two kube upgrade steps
The kube-upgrade strategy invokes a synchronous POST
operation to start and cleanup a kubernetes upgrade.
kube-upgrade-start takes about 3 seconds.
kube-upgrade-complete takes about one second.

The old code would ignore the results of those REST API
calls, and enter a polling mode to check the host state.
This could take up to two minutes to complete.

Polling is un-neccessary (for these steps), and by using
the results from the NFV plugin being invoked, the step
can quickly be completed.

This reduces the time of a kube-upgrade strategy by
over three minutes.

Test Plan:
  PASS: AIO-SX kube upgrade

Story: 2010565
Task: 48152
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Icb511e70eea445b0d07a139d437e018fb3c505f3
2023-05-30 19:04:08 +00:00
..
centos Kube rootca update orchestration integration 2021-09-02 12:53:36 -05:00
debian Update debian package versions to use git commits 2023-02-09 17:00:49 +00:00
nfv-client Cleanup pep8 un-used variable warnings 2023-03-08 15:18:00 +00:00
nfv-common Unsuppress pylint E1101 no-member 2023-02-25 21:07:08 +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 Remove polling from two kube upgrade steps 2023-05-30 19:04:08 +00:00
nfv-tests Add host cordon steps to kube upgrade orch 2023-05-19 18:47:22 +00: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 Remove polling from two kube upgrade steps 2023-05-30 19:04:08 +00: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 Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00
pylint.rc pylint cleanup for nfv to use standard modules 2023-03-15 15:28:54 +00:00
test-requirements.txt Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
tox.ini Cleanup pep8 un-used variable warnings 2023-03-08 15:18:00 +00:00