The cinder.volume.drivers.vmware.error_util Module

Exception classes and SOAP response error checking module.

exception ImageTransferException(message=None, **kwargs)

Bases: cinder.volume.drivers.vmware.error_util.VMwareDriverException

Thrown when there is an error during image transfer.

message = u'Error occurred during image transfer.'
exception InvalidAdapterTypeException(message=None, **kwargs)

Bases: cinder.volume.drivers.vmware.error_util.VMwareDriverException

Thrown when the disk adapter type is invalid.

message = u'Invalid disk adapter type: %(invalid_type)s.'
exception InvalidDiskTypeException(message=None, **kwargs)

Bases: cinder.volume.drivers.vmware.error_util.VMwareDriverException

Thrown when the disk type is invalid.

message = u'Invalid disk type: %(disk_type)s.'
exception ProfileNotFoundException(message=None, **kwargs)

Bases: cinder.volume.drivers.vmware.error_util.VMwareDriverException

Thrown when the given storage profile cannot be found.

message = u'Storage profile: %(storage_profile)s not found.'
exception SessionOverLoadException(msg)

Bases: cinder.volume.drivers.vmware.error_util.VimException

Session Overload Exception.

exception VMwareDriverException(message=None, **kwargs)

Bases: cinder.exception.CinderException

Base class for all exceptions raised by the VMDK driver.

All exceptions raised by the vmdk driver should raise an exception descended from this class as a root. This will allow the driver to potentially trap problems related to its own internal configuration before halting the cinder-volume node.

message = u'VMware VMDK driver exception.'
exception VMwaredriverConfigurationException(message=None, **kwargs)

Bases: cinder.volume.drivers.vmware.error_util.VMwareDriverException

Base class for all configuration exceptions.

message = u'VMware VMDK driver configuration error.'
exception VimAttributeException(msg)

Bases: cinder.volume.drivers.vmware.error_util.VimException

VI Attribute Error.

exception VimConnectionException(msg)

Bases: cinder.volume.drivers.vmware.error_util.VimException

Thrown when there is a connection problem.

exception VimException(msg)

Bases: cinder.exception.CinderException

The VIM Exception class.

exception VimFaultException(fault_list, msg)

Bases: cinder.volume.drivers.vmware.error_util.VimException

Exception thrown when there are faults during VIM API calls.

exception VirtualDiskNotFoundException(message=None, **kwargs)

Bases: cinder.volume.drivers.vmware.error_util.VMwareDriverException

Thrown when virtual disk is not found.

message = u'There is no virtual disk device.'

Previous topic

The cinder.volume.drivers.vmware.datastore Module

Next topic

The cinder.volume.drivers.vmware.io_util Module

This Page