diff options
| author | Kei Masumoto <masumotok@nttdata.co.jp> | 2011-08-15 20:31:43 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-08-15 20:31:43 +0000 |
| commit | ea53d0f37a4f478ffbe18516f99ca26192117e80 (patch) | |
| tree | 3a56196e11ead6af9ead0eb13a345f6c7e63dcf8 /nova/exception.py | |
| parent | a18d8597c2fb52d77b8b827f2c440787b1165150 (diff) | |
| parent | 7393a114f421f1b54019099777fea34a09a80737 (diff) | |
Adding kvm-block-migration feature.
I wrote some description the below URL. I hope it may help for reviewing.
<http://etherpad.openstack.org/kvm-block-migration>
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index a5a25086e..3e2218863 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -273,6 +273,11 @@ class DestinationHypervisorTooOld(Invalid): "has been provided.") +class DestinationDiskExists(Invalid): + message = _("The supplied disk path (%(path)s) already exists, " + "it is expected not to exist.") + + class InvalidDevicePath(Invalid): message = _("The supplied device path (%(path)s) is invalid.") @@ -699,6 +704,10 @@ class InstanceExists(Duplicate): message = _("Instance %(name)s already exists.") +class InvalidSharedStorage(NovaException): + message = _("%(path)s is on shared storage: %(reason)s") + + class MigrationError(NovaException): message = _("Migration error") + ": %(reason)s" |
