Reviewed: https://review.opendev.org/c/starlingx/nfv/+/842798 Committed: https://opendev.org/starlingx/nfv/commit/3e6c2d41e199d6f78ed10d6b8724dbbe3dbc0f18 Submitter: "Zuul (22348)" Branch: master
commit 3e6c2d41e199d6f78ed10d6b8724dbbe3dbc0f18 Author: Al Bailey <email address hidden> Date: Fri May 20 19:13:32 2022 +0000
Debian: Fix sw-manager commands
sw-manager strategy creation commands trigger a python3 error. The issue is that python2 supports a string, but python3 expects bytes.
The fix is to send the appropriate message based on the whether we are in python2 or python3.
Test Plan: Debian: verify sw-manager patch-strategy create works Centos: verify sw-manager patch-strategy create works
Closes-Bug: 1974475 Signed-off-by: Al Bailey <email address hidden> Change-Id: I94800fa870f1a444df6e95ba2f206803a4acfc18
Reviewed: https:/ /review. opendev. org/c/starlingx /nfv/+/ 842798 /opendev. org/starlingx/ nfv/commit/ 3e6c2d41e199d6f 78ed10d6b8724db be3dbc0f18
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 3e6c2d41e199d6f 78ed10d6b8724db be3dbc0f18
Author: Al Bailey <email address hidden>
Date: Fri May 20 19:13:32 2022 +0000
Debian: Fix sw-manager commands
sw-manager strategy creation commands trigger
a python3 error. The issue is that python2 supports
a string, but python3 expects bytes.
The fix is to send the appropriate message
based on the whether we are in python2 or python3.
Test Plan:
Debian: verify sw-manager patch-strategy create works
Centos: verify sw-manager patch-strategy create works
Closes-Bug: 1974475 44df6e95ba2f206 803a4acfc18
Signed-off-by: Al Bailey <email address hidden>
Change-Id: I94800fa870f1a4