55-heat-config fails on python3 with TypeError: memoryview: a bytes-like object is required, not \'str\'"

Bug #1802978 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Alex Schultz

Bug Description

55-heat-config is failing under python3 with a type error.

http://logs.openstack.org/05/614005/6/check/tripleo-ci-fedora-28-standalone/2ccdc99/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz#_2018-11-12_17_11_50

2018-11-12 17:11:50 | b' "[2018-11-12 17:11:50,153] (heat-config) [INFO] Completed /usr/libexec/heat-config/hooks/script",'
2018-11-12 17:11:50 | b' "[2018-11-12 17:11:50,155] (heat-config) [DEBUG] Running heat-config-notify /var/lib/heat-config/deployed/9db9ad2e-9e60-4b09-9707-05c7ad3e5043.json < /var/lib/heat-config/deployed/9db9ad2e-9e60-4b09-9707-05c7ad3e5043.notify.json",'
2018-11-12 17:11:50 | b' "[2018-11-12 17:11:50,158] (heat-config) [ERROR] memoryview: a bytes-like object is required, not \'str\'",'
2018-11-12 17:11:50 | b' "Traceback (most recent call last):",'
2018-11-12 17:11:50 | b' " File \\"/usr/libexec/os-refresh-config/configure.d/55-heat-config\\", line 74, in main",'
2018-11-12 17:11:50 | b' " invoke_hook(c, log)",'
2018-11-12 17:11:50 | b' " File \\"/usr/libexec/os-refresh-config/configure.d/55-heat-config\\", line 190, in invoke_hook",'
2018-11-12 17:11:50 | b' " stdout, stderr = subproc.communicate(input=json.dumps(signal_data))",'
2018-11-12 17:11:50 | b' " File \\"/usr/lib64/python3.6/subprocess.py\\", line 843, in communicate",'
2018-11-12 17:11:50 | b' " stdout, stderr = self._communicate(input, endtime, timeout)",'
2018-11-12 17:11:50 | b' " File \\"/usr/lib64/python3.6/subprocess.py\\", line 1499, in _communicate",'
2018-11-12 17:11:50 | b' " input_view = memoryview(self._input)",'
2018-11-12 17:11:50 | b' "TypeError: memoryview: a bytes-like object is required, not \'str\'"'
2018-11-12 17:11:50 | b' ]'

summary: - os-refresh-config fails on python3 with TypeError: memoryview: a bytes-
- like object is required, not \'str\'"
+ 55-heat-config fails on python3 with TypeError: memoryview: a bytes-like
+ object is required, not \'str\'"
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
Alex Schultz (alex-schultz) wrote :

I haven't seen this in the fedora jobs anymore. Closing for now

Changed in tripleo:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.