Getting cluster config fails with encoding error (base64)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-magnumclient |
New
|
Undecided
|
Unassigned |
Bug Description
When I run try to retrieve the configuration of a Kubernetes cluster spawned by Magnum I receive a TypeError.
''openstack --debug coe cluster config <cluster>'' returns the following traceback:
Traceback (most recent call last):
File "/home/
result = cmd.run(
File "/home/
return super(Command, self).run(
File "/home/
return_code = self.take_
File "/home/
certs=tls))
File "/home/
force, certs)
File "/home/
'key': base64.
File "/home/
encoded = binascii.
TypeError: a bytes-like object is required, not 'str'
I figure that replacing the offending statements (e.g. 'key': base64.
* Platform: Ubuntu 18.10
* Python 3.6.7
* python-
Can you move this to storyboard? I'll make this launchpad account non writable as the magnum one.
this seems to be an issue only in python3.6 I was able to reproduce.