summaryrefslogtreecommitdiff
path: root/nova/exception.py
diff options
context:
space:
mode:
authorArmando Migliaccio <armando.migliaccio@eu.citrix.com>2012-02-01 15:01:26 +0000
committerArmando Migliaccio <armando.migliaccio@eu.citrix.com>2012-02-21 22:43:49 +0000
commit424f32f04d9c6c97f684782b35e1c25fbf83ce05 (patch)
tree3127f8fe491acc8467fa04ece9dc5833141f6ad3 /nova/exception.py
parentadaf9049c8fb3652c0962909a3c835e1724d8a17 (diff)
downloadnova-424f32f04d9c6c97f684782b35e1c25fbf83ce05.tar.gz
blueprint host-aggregates: xenapi implementation
This commit introduces some clean-up/improvements on the current model and api for host aggregates. It also introduces a first version of the xenapi implementation. More precisely: - it lays out the structure of the virt driver, - it introduces compute and xenapi unit tests coverage, - it deals with join/eject of pool master and slaves, - it fixes xenapi_conn, when used in resource pool configurations More commits to follow (to ensure that VM placement, networking setup, performance metrics work just as well in cases where resource pools are present). However, these may be outside the scope of this blueprint and considered as ad-hoc bug fixes. Change-Id: Ib3cff71160264c5547e1c060d3fd566ad87337cb
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 518a95a62b..91a377c1e2 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -929,6 +929,11 @@ class QuotaError(NovaException):
message = _("Quota exceeded") + ": code=%(code)s"
+class AggregateError(NovaException):
+ message = _("Aggregate %(aggregate_id)s: action '%(action)s' "
+ "caused an error: %(reason)s.")
+
+
class AggregateNotFound(NotFound):
message = _("Aggregate %(aggregate_id)s could not be found.")