diff options
author | Sidharth Surana <ssurana@vmware.com> | 2014-03-21 17:03:40 -0700 |
---|---|---|
committer | Gary Kotton <gkotton@vmware.com> | 2014-04-07 04:56:23 -0700 |
commit | 91ddf85abb8a516cfa2da346b393aa7234660f6c (patch) | |
tree | f7e0678b4928f09581a6d2508e7e3cb021ccf799 /nova/virt/vmwareapi/error_util.py | |
parent | b5280671768bdf861d9f72f014a83bb07af09ab6 (diff) | |
download | nova-91ddf85abb8a516cfa2da346b393aa7234660f6c.tar.gz |
VMware: Fixes the instance resize problem
The fix includes separating out methods for
associating/disassociating a vsphere vm from the
openstack instance. Modifying the resize workflow
to use the above mentioned methods.
Closes-Bug: #1295381
Change-Id: I92acdd5cd00f739d504738413d3b63a2e17f2866
Diffstat (limited to 'nova/virt/vmwareapi/error_util.py')
-rw-r--r-- | nova/virt/vmwareapi/error_util.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/virt/vmwareapi/error_util.py b/nova/virt/vmwareapi/error_util.py index f04033caf6..693a53f761 100644 --- a/nova/virt/vmwareapi/error_util.py +++ b/nova/virt/vmwareapi/error_util.py @@ -137,6 +137,10 @@ class UseLinkedCloneConfigurationFault(VMwareDriverConfigurationException): msg_fmt = _("No default value for use_linked_clone found.") +class MissingParameter(VMwareDriverException): + msg_fmt = _("Missing parameter : %(param)s") + + class AlreadyExistsException(VMwareDriverException): msg_fmt = _("Resource already exists.") code = 409 |