diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-09-13 10:19:31 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-09-13 10:19:31 +0000 |
| commit | 213b087bc9b90070156db50275f969eae4dd75cb (patch) | |
| tree | d28d58062a47549685b9afa4a0685f0f0572e4bf /nova/exception.py | |
| parent | 48f359a5402446c6a9241f2f1614c8fda27082fd (diff) | |
| parent | 772c5d47d5bdffcd4ff8e09f4116d22568bf6eb9 (diff) | |
Merge "Backport changes from Cinder to Nova-Volume"
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index ca0239f6f..c9f339e6c 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1029,6 +1029,18 @@ class VolumeBackendAPIException(NovaException): "backend API: %(data)s") +class NfsException(NovaException): + message = _("Unknown NFS exception") + + +class NfsNoSharesMounted(NotFound): + message = _("No mounted NFS shares found") + + +class NfsNoSuitableShareFound(NotFound): + message = _("There is no share which can host %(volume_size)sG") + + class InstanceTypeCreateFailed(NovaException): message = _("Unable to create instance type") |
