stx-openstack upload fails on Debian - TypeError: Password should be a unicode string, not bytes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Thales Elero Cervi |
Bug Description
Brief Description
-----------------
When trying to upload the stx-openstack application on Debian for the first time, it was noticed that the Python2 to Python3 upgrade requires an update on the application python plugins that get a string from a cmd execution that is no longer stored as Unicode by default, but rather as bytes.
Severity
--------
Critical: stx-openstack application can not be uploaded
Steps to Reproduce
------------------
* Upload stx-openstack application using system application-upload
Expected Behavior
------------------
Application is successfully uploaded.
Actual Behavior
----------------
Application upload fails.
Reproducibility
---------------
Reproducible
System Configuration
-------
AIO-SX
Branch/Pull Time/Commit
-------
master:
* starlingx/
Last Pass
---------
N/A
Timestamp/Logs
--------------
2022-11-23 12:51:06.105 69083 ERROR sysinv.
2022-11-23 12:51:06.105 69083 ERROR sysinv.
sysinv 2022-11-23 12:51:06.182 69083 ERROR sysinv.
sysinv 2022-11-23 12:51:06.183 69083 ERROR sysinv.
iled: Password should be a unicode string, not bytes.
Test Activity
-------------
Developer Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Thales Elero Cervi (tcervi) |
tags: | added: stx.8.0 |
tags: | added: stx.distro.openstack |
Changed in starlingx: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. opendev. org/c/starlingx /openstack- armada- app/+/866045
Review: https:/