From add6418e71bebe976e4b0b5d8cbdc03d06c1d2c2 Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Tue, 27 Nov 2018 14:50:50 +0800 Subject: [PATCH] Update git submodules * Update glance_store from branch 'master' - Prevent unicode object error from zero-byte read During large file uploads under py3, we are occasionally seeing a "unicode objects must be encoded before hashing" error even though we are reading from a byte stream. From what I can tell, it looks like it's happening when a zero-byte read is requested, so we handle that case explicitly. This is a band-aid fix; we still need to track down the source. Co-authored-by: wangxiyuan Co-authored-by: Brian Rosmaita Related-bug: #1805332 Change-Id: Ia7653f9fcbe902abc203c10c80ab44a641a4d8f9 --- glance_store | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glance_store b/glance_store index 5b68597400..1d25a2b7a2 160000 --- a/glance_store +++ b/glance_store @@ -1 +1 @@ -Subproject commit 5b68597400cea971aca9ed809551a69955e0cadc +Subproject commit 1d25a2b7a21e95766f9fee378b3d0802d392a85f