Bug 1696786 - [OSP14] [regression] nova console-log throws an error: ERROR (TypeError): write() argument must be str, not bytes
Summary: [OSP14] [regression] nova console-log throws an error: ERROR (TypeError): wri...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: OSP DFG:Compute
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On: 1693429
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-05 15:59 UTC by Stephen Finucane
Modified: 2023-03-21 19:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1693429
Environment:
Last Closed: 2019-04-16 09:08:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 650364 0 None None None 2019-04-11 16:14:25 UTC

Description Stephen Finucane 2019-04-05 15:59:52 UTC
+++ This bug was initially created as a clone of Bug #1693429 +++

nova console-log throws an error: ERROR (TypeError): write() argument must be str, not bytes  

Environment:
python3-novaclient-13.0.0-0.20190312082821.62bf880.el8ost.noarch                                                                                                                          
puppet-nova-14.4.0-0.20190323002255.aa4a911.el8ost.noarch  

Steps to reproduce:
1. Deploy overcloud
2. Launch an instance
3. Run:

(overcloud) [stack@undercloud-0 ~]$ nova list                                                                                                                                             
| ID                                   | Name         | Status | Task State | Power State | Networks                               |                                                      +--------------------------------------+--------------+--------+------------+-------------+----------------------------------------+                                                      | d6392ee5-49f2-4204-80d0-40b797c7f883 | after_deploy | ACTIVE | -          | Running     | tenantgeneve=192.168.32.61, 10.0.0.254 |                                                      


(overcloud) [stack@undercloud-0 ~]$ nova console-log after_deploy                                                                                                                         ERROR (TypeError): write() argument must be str, not bytes

Comment 1 Stephen Finucane 2019-04-16 09:08:10 UTC
OSP 14 is only used on RHEL 7, which is Python 2-based. As a result, this issue won't occur on these hosts. Closing this as WONTFIX.


Note You need to log in before you can comment on or make changes to this bug.