Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1696786

Summary: [OSP14] [regression] nova console-log throws an error: ERROR (TypeError): write() argument must be str, not bytes
Product: Red Hat OpenStack Reporter: Stephen Finucane <stephenfin>
Component: openstack-novaAssignee: OSP DFG:Compute <osp-dfg-compute>
Status: CLOSED WONTFIX QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 14.0 (Rocky)CC: jhakimra, kchamart, mbooth, nova-maint, sasha, sbauza, sgordon, stephenfin, vromanso
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1693429 Environment:
Last Closed: 2019-04-16 09:08:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1693429    
Bug Blocks:    

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.