NFV: Failed openstack API calls being quietly ignored in python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
Brief Description
-----------------
For NFV (running python3) when it encounters a OpenStackRestAPI exception, it is being quietly ignored and eventually reports a timeout.
This affects traceability and error handling for NFV orchestration activities.
Easiest way to reproduce the issue is to attempt a kube upgrade to an 'older' version.
example going from v1.24.4 back to v1.21.8
system kube-version-list
+------
| version | target | state |
+------
| v1.21.8 | False | unavailable |
| v1.22.5 | False | unavailable |
| v1.23.1 | False | unavailable |
| v1.24.4 | True | active |
+------
Severity
--------
Major
Steps to Reproduce
------------------
# assume already at a later version than v1.21.8
source /etc/platform/
sw-manager kube-upgrade-
sw-manager kube-upgrade-
Expected Behavior
------------------
It should quickly report a failure
sw-manager kube-upgrade-
Strategy Kubernetes Upgrade Strategy:
strategy-uuid: e30abd1f-
controller-
storage-
worker-
default-
alarm-
current-phase: abort
current-
state: aborted
apply-result: failed
apply-reason: the installed kubernetes version v1.24.4 cannot upgrade to version v1.21.8
abort-result: success
abort-reason:
Actual Behavior
----------------
It takes a couple of minutes and reports a failure due to 'timed out'
Reproducibility
---------------
100%
System Configuration
-------
AIO-SX
Branch/Pull Time/Commit
-------
Any load running python3
Last Pass
---------
Any load running python2
Timestamp/Logs
--------------
Logs are pointless for this activity. The underlying component that causes the problem quietly discards the action. I spent weeks until I finally found where the 'stall' was occurring.
Test Activity
-------------
Feature Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.debian stx.nfv |
Fix proposed to branch: master /review. opendev. org/c/starlingx /nfv/+/ 873724
Review: https:/