From 32802ff20ae66324122a6a22f8dfa4179b048c78 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Thu, 4 Jul 2019 14:14:54 +0300 Subject: [PATCH] NSX|P: Handle tooManyRequests error from the NSX Change-Id: Ic75008bb6f47be3ca3efa81fc98af18b75fa9cc2 --- 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 313de4a827..605a8fdf31 100644 --- a/vmware_nsx/plugins/common_v3/plugin.py +++ b/vmware_nsx/plugins/common_v3/plugin.py @@ -174,6 +174,8 @@ class NsxPluginV3Base(agentschedulers_db.AZDhcpAgentSchedulerDbMixin, nsx_exc.NsxENSPortSecurity: webob.exc.HTTPBadRequest, nsx_exc.NsxPluginTemporaryError: + webob.exc.HTTPServiceUnavailable, + nsx_lib_exc.TooManyRequests: webob.exc.HTTPServiceUnavailable })