diff options
| author | Ben Swartzlander <bswartz@netapp.com> | 2012-09-01 23:39:39 -0400 |
|---|---|---|
| committer | Ben Swartzlander <bswartz@netapp.com> | 2012-09-12 12:43:44 -0400 |
| commit | 772c5d47d5bdffcd4ff8e09f4116d22568bf6eb9 (patch) | |
| tree | c2a11bc6bb2dbe9e78e1f6f603e86042a5bb5087 /nova/exception.py | |
| parent | 76d094eeba1bcbba16d24e40aea24bb7729b4a30 (diff) | |
Backport changes from Cinder to Nova-Volume
NetApp C-mode driver.
Generic NFS-based block device driver.
NetApp NFS-based block device driver.
blueprint netapp-volume-driver-cmode
blueprint nfs-files-as-virtual-block-devices
blueprint netapp-nfs-cinder-driver
bug 1037619
bug 1037622
Change-Id: I513c3f88bcb03f3b71a453f92f5912d7730a8bbc
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 cd1eabc9d..36d8f051c 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1021,6 +1021,18 @@ class VolumeBackendAPIException(NovaException): "backend API: data=%(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") |
