nova console-log throws an error: ERROR (TypeError): write() argument must be str, not bytes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Medium
|
Stephen Finucane | ||
Queens |
In Progress
|
Medium
|
Stephen Finucane | ||
Rocky |
Fix Committed
|
Medium
|
Stephen Finucane |
Bug Description
This was originally reported in Bugzilla [1].
nova console-log throws an error: ERROR (TypeError): write() argument must be str, not bytes
$ nova console-log after_deploy
ERROR (TypeError): write() argument must be str, not bytes
Looks like this was introduced in the fix [2] for bug #1746534 [3]. Easily reproduced outside of 'python-novaclient' too.
$ python3
>>> import codecs
>>> import sys
>>> codecs.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/
self.
TypeError: write() argument must be str, not bytes
Environment:
- python3-
- puppet-
[1] https:/
[2] https:/
[3] https:/
Changed in python-novaclient: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/650235
Review: https:/