From 3db15da3971c1afa12a950adfee1c40a25ca26fe Mon Sep 17 00:00:00 2001 From: Zuul Date: Thu, 6 Aug 2020 18:05:28 +0000 Subject: [PATCH] Update git submodules * Update osc-placement from branch 'master' - Merge "Provide a useful message in case of 5xx error" - Provide a useful message in case of 5xx error If server response does not have an appropriate json format, the message was useless. For example, if placement-api is down, we had something like this: $ openstack resource provider delete Expecting value: line 1 column 1 (char 0) This was because the code assumed that the response had details in it. That is correct for 4xx errors, but that's not the case for 5xx errors. This patch changes it not to retrieve the details from response on 5xx error, and just raise keystone exceptions. Now we have something like this: $ openstack resource provider delete Service Unavailable (HTTP 503) Story: #2005437 Story: #2005438 Task: #30478 Task: #30479 Change-Id: I07fa0b626b7529699179c8cd8e254fd66455c930 Co-Autored-By: Tetsuro Nakamura --- osc-placement | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc-placement b/osc-placement index 10460ca8c1..35cc92e603 160000 --- a/osc-placement +++ b/osc-placement @@ -1 +1 @@ -Subproject commit 10460ca8c1ede309f97338e9e0af94ed517c4890 +Subproject commit 35cc92e6033694d2fd3e7a71dc6327414abe2f99