Debian: Python 3 incompatibility related error with python3-oidcauthtools package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Andy |
Bug Description
Brief Description
-----------------
With oidc-auth-apps applied and configured, oidc-auth cli failed with error and trace back.
Severity
--------
Major: oidc-auth cli fails, can't get token to access k8s with token.
Steps to Reproduce
------------------
$ oidc-auth -c 192.168.206.2 -u <username> -p <password>
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
for item in stringResponse.
TypeError: a bytes-like object is required, not 'str'
Expected Behavior
------------------
Command should work fine with python3 in debian
Actual Behavior
----------------
TypeError: a bytes-like object is required, not 'str'
Reproducibility
---------------
100% reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
STX master latest
Last Pass
---------
Unknown
Timestamp/Logs
--------------
See Steps to Reproduce.
Test Activity
-------------
Regression Testing
Workaround
----------
NA
Changed in starlingx: | |
assignee: | nobody → Andy (andy.wrs) |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.apps stx.debian |
Fix proposed to branch: master /review. opendev. org/c/starlingx /oidc-auth- armada- app/+/846174
Review: https:/