oslo_vmware.exceptions
Module¶Exception definitions.
oslo_vmware.exceptions.
AlreadyExistsException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 409¶msg_fmt
= u'Resource already exists.'¶oslo_vmware.exceptions.
CannotDeleteFileException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 403¶msg_fmt
= u'Cannot delete file.'¶oslo_vmware.exceptions.
DuplicateName
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
msg_fmt
= u'Duplicate name.'¶oslo_vmware.exceptions.
FileAlreadyExistsException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 409¶msg_fmt
= u'File already exists.'¶oslo_vmware.exceptions.
FileFaultException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 409¶msg_fmt
= u'File fault.'¶oslo_vmware.exceptions.
FileLockedException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 403¶msg_fmt
= u'File locked.'¶oslo_vmware.exceptions.
FileNotFoundException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 404¶msg_fmt
= u'File not found.'¶oslo_vmware.exceptions.
ImageTransferException
(message, cause=None)¶Bases: oslo_vmware.exceptions.VMwareDriverException
Thrown when there is an error during image transfer.
oslo_vmware.exceptions.
InvalidPowerStateException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 409¶msg_fmt
= u'Invalid power state.'¶oslo_vmware.exceptions.
InvalidPropertyException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 400¶msg_fmt
= u'Invalid property.'¶oslo_vmware.exceptions.
ManagedObjectNotFoundException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 404¶msg_fmt
= u'Managed object not found.'¶oslo_vmware.exceptions.
MissingParameter
(message=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VMwareDriverException
msg_fmt
= u'Missing parameter : %(param)s'¶oslo_vmware.exceptions.
NoDiskSpaceException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
msg_fmt
= u'Insufficient disk space.'¶oslo_vmware.exceptions.
NoPermissionException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 403¶msg_fmt
= u'No Permission.'¶oslo_vmware.exceptions.
NotAuthenticatedException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
code
= 403¶msg_fmt
= u'Not Authenticated.'¶oslo_vmware.exceptions.
TaskInProgress
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VimException
msg_fmt
= u'Entity has another operation in process.'¶oslo_vmware.exceptions.
UseLinkedCloneConfigurationFault
(message=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VMwareDriverConfigurationException
msg_fmt
= u'No default value for use_linked_clone found.'¶oslo_vmware.exceptions.
VMwareDriverConfigurationException
(message=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VMwareDriverException
Base class for all configuration exceptions.
msg_fmt
= u'VMware Driver configuration fault.'¶oslo_vmware.exceptions.
VMwareDriverException
(message=None, details=None, **kwargs)¶Bases: exceptions.Exception
Base oslo.vmware exception
To correctly use this class, inherit from it and define a ‘msg_fmt’ property. That msg_fmt will get printf’d with the keyword arguments provided to the constructor.
description
¶msg
¶msg_fmt
= u'An unknown exception occurred.'¶oslo_vmware.exceptions.
VimAttributeException
(message, cause=None)¶Bases: oslo_vmware.exceptions.VMwareDriverException
Thrown when a particular attribute cannot be found.
oslo_vmware.exceptions.
VimConnectionException
(message, cause=None)¶Bases: oslo_vmware.exceptions.VMwareDriverException
Thrown when there is a connection problem.
oslo_vmware.exceptions.
VimException
(message=None, cause=None, details=None, **kwargs)¶Bases: oslo_vmware.exceptions.VMwareDriverException
The base exception class for all VIM related exceptions.
oslo_vmware.exceptions.
VimFaultException
(fault_list, message, cause=None, details=None)¶Bases: oslo_vmware.exceptions.VimException
Exception thrown when there are unrecognized VIM faults.
description
¶oslo_vmware.exceptions.
VimSessionOverLoadException
(message, cause=None)¶Bases: oslo_vmware.exceptions.VMwareDriverException
Thrown when there is an API call overload at the VMware server.
oslo_vmware.exceptions.
get_fault_class
(name)¶Get a named subclass of VimException.
oslo_vmware.exceptions.
register_fault_class
(name, exception)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.