summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authormasumotok <masumotok@nttdata.co.jp>2012-01-06 23:54:54 +0900
committermasumotok <masumotok@nttdata.co.jp>2012-01-13 15:24:28 +0900
commit8e57055cecef909b4d210baeedb5dad2d155a0a2 (patch)
tree8ff40760f9ae0ab6bcbce26149a8a54d742cbdef /nova/exception.py
parent6d80851279052a30b98e465106f158cb2afdb6a5 (diff)
downloadnova-8e57055cecef909b4d210baeedb5dad2d155a0a2.tar.gz
nova-8e57055cecef909b4d210baeedb5dad2d155a0a2.tar.xz
nova-8e57055cecef909b4d210baeedb5dad2d155a0a2.zip
First implementation of bp/live-migration-resource-calc
Fix based on revewer's comment upgraded the migration version nova/db/sqlalchemy/migrate_repo/versions/069_block_migration.py rebase on master Change-Id: Ia762f8dec761c3d595bc6fcd39f127f6d92306d2
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 870ae80e4..716f86dc1 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -299,6 +299,10 @@ class UnableToMigrateToSelf(Invalid):
"to current host (%(host)s).")
+class DestinationHostUnavailable(Invalid):
+ message = _("Destination compute host is unavailable at this time.")
+
+
class SourceHostUnavailable(Invalid):
message = _("Original compute host is unavailable at this time.")