nfv/nfv/nfv-plugins/nfv_plugins
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
..
alarm_handlers Host compute service failure alarm removal 2023-02-10 09:27:46 -05:00
event_log_handlers Cleanup pep8 un-used variable warnings 2023-03-08 15:18:00 +00:00
nfvi_plugins Remove polling from two kube upgrade steps 2023-05-30 19:04:08 +00:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00