From 033bc5a45ab5aa0661e1b46049b990adc29c9df5 Mon Sep 17 00:00:00 2001 From: Assaf Muller Date: Mon, 12 Oct 2015 16:32:12 -0400 Subject: [PATCH] Fix error code when L3 HA + DVR router is created or updated Change-Id: I1b9a07aaf6957f062cd8632c7ca8b9d87c4afe20 Closes-Bug: #1505382 --- neutron/extensions/l3_ext_ha_mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/extensions/l3_ext_ha_mode.py b/neutron/extensions/l3_ext_ha_mode.py index a2a3b859d..ef60ba7bd 100644 --- a/neutron/extensions/l3_ext_ha_mode.py +++ b/neutron/extensions/l3_ext_ha_mode.py @@ -29,7 +29,7 @@ EXTENDED_ATTRIBUTES_2_0 = { } -class DistributedHARouterNotSupported(NotImplementedError): +class DistributedHARouterNotSupported(exceptions.BadRequest): message = _("Currently distributed HA routers are " "not supported.") -- 2.45.2