summaryrefslogtreecommitdiff
path: root/nova/exception.py
diff options
context:
space:
mode:
authorSylvain Bauza <sbauza@redhat.com>2021-02-19 18:51:10 +0100
committerSylvain Bauza <sbauza@redhat.com>2021-02-19 19:23:10 +0100
commit5c35a5905e03f7d45c3d99ceccdfffc67a171bd7 (patch)
treef181c24b3ccd9d2b341f5f88e5ef1145c311320b /nova/exception.py
parenta1673d31180f3f7c90af1447573f362424c95e48 (diff)
downloadnova-5c35a5905e03f7d45c3d99ceccdfffc67a171bd7.tar.gz
FUP: Catch and reraise routed nets exception
Based on review feedback, we prefer to have the exception for routed networks to not be prefilter-specific and just reraise with the right exception type in the prefilter. Change-Id: I9ccbbf3be8efc65fe7f480ad545fb5fc70767988
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/exception.py b/nova/exception.py
index e48b7bcfb2..d5696690f3 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1195,7 +1195,7 @@ class RequestFilterFailed(NovaException):
msg_fmt = _("Scheduling failed: %(reason)s")
-class InvalidRoutedNetworkConfiguration(RequestFilterFailed):
+class InvalidRoutedNetworkConfiguration(NovaException):
msg_fmt = _("Neutron routed networks configuration is invalid: "
"%(reason)s.")