Note: we have seen this type of issue elsewhere, and the fix is to add 'decode' to the data that we read. example https://review.opendev.org/c/starlingx/oidc-auth-armada-app/+/846174/4/oidc-auth-tools/oidcauthtools/oidcauthtools/oidc_auth.py
So changing the pipe_output method should be good enough
example https://github.com/starlingx/monitoring/blob/f79dcc176f7c7c405731426bc242b3cfe48e1055/kube-memory/kube-memory/kube_memory/kube_memory.py#L184
changing: return last_popen[-1].communicate()[0] to: return last_popen[-1].communicate()[0].decode()
Note: we have seen this type of issue elsewhere, and the fix is to add 'decode' to the data that we read. /review. opendev. org/c/starlingx /oidc-auth- armada- app/+/846174/ 4/oidc- auth-tools/ oidcauthtools/ oidcauthtools/ oidc_auth. py
example
https:/
So changing the pipe_output method should be good enough
example /github. com/starlingx/ monitoring/ blob/f79dcc176f 7c7c405731426bc 242b3cfe48e1055 /kube-memory/ kube-memory/ kube_memory/ kube_memory. py#L184
https:/
changing: -1].communicate ()[0] -1].communicate ()[0].decode( )
return last_popen[
to:
return last_popen[