From 6367cfb3b7db6ecf50c62cb7ce2fb7091e205e4a Mon Sep 17 00:00:00 2001 From: Dmitrii Shcherbakov Date: Sat, 9 Mar 2019 02:51:18 +0300 Subject: [PATCH] Update git submodules * Update rally-openstack from branch 'master' - py3: use binary mode for opening image files If binary mode is not used when running with python3 glance image uploads fail as files are opened with encoding='UTF-8' by default. It results in the following confusing error message: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfb in position 3: invalid start byte (Pdb) e UnicodeDecodeError('utf-8', b'QFI\xfb\x00\x00\ 0xfb is a QCOW magic string and is invalid from UTF-8 standard perspective. From the QCOW2 spec: Byte 0 - 3: magic QCOW magic string ("QFI\xfb") Tracing have shown that the error comes from python-glanceclient when a file handle passed to it is attempted to be used for sending image chunks. Change-Id: I6bb31fe1d3f79a8fd4707a5576204dee69a3f307 Depends-On: I4991acccefd4754e209feafd5e24d03c76c283f8 Closes-Bug: #1819274 --- rally-openstack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rally-openstack b/rally-openstack index 8222a4e611..4822b45230 160000 --- a/rally-openstack +++ b/rally-openstack @@ -1 +1 @@ -Subproject commit 8222a4e61170408352508c6ef065eac1f2516fe4 +Subproject commit 4822b452304c53d3102e75d4d2924fb7ec1a93ae