From 2147b82089ea4fecfc1b90dd2332c83d8ba79ed6 Mon Sep 17 00:00:00 2001 From: asarfaty Date: Mon, 6 Jul 2020 12:21:51 +0200 Subject: [PATCH] NSX|V3+P: Transalte nsxlib ServiceUnavailable exception to HTTPServiceUnavailable Change-Id: I5f9159368dfbb4a0935afc9b83d72aba2dfc58b2 --- vmware_nsx/plugins/common_v3/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vmware_nsx/plugins/common_v3/plugin.py b/vmware_nsx/plugins/common_v3/plugin.py index a889b1e91a..00afd84c73 100644 --- a/vmware_nsx/plugins/common_v3/plugin.py +++ b/vmware_nsx/plugins/common_v3/plugin.py @@ -188,6 +188,8 @@ class NsxPluginV3Base(agentschedulers_db.AZDhcpAgentSchedulerDbMixin, webob.exc.HTTPBadRequest, nsx_exc.NsxPluginTemporaryError: webob.exc.HTTPServiceUnavailable, + nsx_lib_exc.ServiceUnavailable: + webob.exc.HTTPServiceUnavailable, nsx_lib_exc.TooManyRequests: webob.exc.HTTPServiceUnavailable })