summaryrefslogtreecommitdiff
path: root/nova/exception.py
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-05-20 12:56:34 +0100
committerStephen Finucane <stephenfin@redhat.com>2022-02-01 17:57:27 +0000
commiteacecc2433562aeca1f95366200ca1679c3679a1 (patch)
tree01b8ef2f8e26fb1441f91362cf3a14a65cce6834 /nova/exception.py
parentf42fb1241bb70b03b0715412b99257339e6bdc8d (diff)
downloadnova-eacecc2433562aeca1f95366200ca1679c3679a1.tar.gz
Move 'hw:pmu', 'hw_pmu' parsing to nova.virt.hardware
Virtually all of the code for parsing 'hw:'-prefixed extra specs and 'hw_'-prefix image metadata properties lives in the 'nova.virt.hardware' module. It makes sense for these to be included there. Do that. Change-Id: I1fabdf1827af597f9e5fdb40d5aef244024dd015 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 1884c3e900..8ecebcf4d8 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1861,11 +1861,6 @@ class ImageCPUThreadPolicyForbidden(Forbidden):
"override CPU thread pinning policy set against the flavor")
-class ImagePMUConflict(Forbidden):
- msg_fmt = _("Image property 'hw_pmu' is not permitted to "
- "override the PMU policy set in the flavor")
-
-
class UnsupportedPolicyException(Invalid):
msg_fmt = _("ServerGroup policy is not supported: %(reason)s")