Reviewed: https://review.opendev.org/c/starlingx/nfv/+/864109 Committed: https://opendev.org/starlingx/nfv/commit/60b161b9c28cb5100c9e41267678595a72068c30 Submitter: "Zuul (22348)" Branch: master
commit 60b161b9c28cb5100c9e41267678595a72068c30 Author: Al Bailey <email address hidden> Date: Wed Nov 9 12:27:57 2022 +0000
Fix kube-upgrade-orchestration on debian
During kube-upgrade orchestration, the final cleanup step returns an empty result body. The orchestrator was not handling this properly on Debian.
In Debian, the API results are returned as bytes. The code that looks for an empty string needed to handle an empty byte string.
Test Plan: PASS: Debian AIO-SX sw-manager kube-upgrade-strategy apply
Closes-Bug: #1996057 Related-Bug: #1974475
Signed-off-by: Al Bailey <email address hidden> Change-Id: I37849f25fc908fb06b3e40cedfaa5690f45b289d
Reviewed: https:/ /review. opendev. org/c/starlingx /nfv/+/ 864109 /opendev. org/starlingx/ nfv/commit/ 60b161b9c28cb51 00c9e4126767859 5a72068c30
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 60b161b9c28cb51 00c9e4126767859 5a72068c30
Author: Al Bailey <email address hidden>
Date: Wed Nov 9 12:27:57 2022 +0000
Fix kube-upgrade- orchestration on debian
During kube-upgrade orchestration, the final cleanup
step returns an empty result body. The orchestrator
was not handling this properly on Debian.
In Debian, the API results are returned as bytes.
The code that looks for an empty string needed to
handle an empty byte string.
Test Plan: strategy apply
PASS: Debian AIO-SX sw-manager kube-upgrade-
Closes-Bug: #1996057
Related-Bug: #1974475
Signed-off-by: Al Bailey <email address hidden> b06b3e40cedfaa5 690f45b289d
Change-Id: I37849f25fc908f