Faults in Site Recovery Manager

There are various faults thrown by Site Recovery Manager external APIs.

Faults thrown by Site Recovery Manager functions

Table 1. Faults thrown by Site Recovery Manager functions
Fault Description
AlreadyExists The name, key, or identifier of the element already exist in the collection.
AlreadyLoggedInFault The session is already logged in, and Login was called again
ConnectionDownFault The VMOMI connection to the remote server is down
ConnectionLimitReached Thrown when the configured connection limit has been reached
DependencyConflict UpdateVmSettings operation was attempted that might cause a dependency cycle
DirectionError The direction of the recovery plan cannot be determined.
DuplicateName Call is unable to determine which object to use due to name conflict
InsufficientLicensesFault Thrown by a method that cannot acquire licenses for the object to create
InternalError An internal error occurred that cannot be described by a more specific fault
InvalidArgument Base class for invalid argument exceptions
InvalidLogin Cannot complete login due to an incorrect user name or password
InvalidPrimaryFolder Thrown for an attempt to create a primary site folder that cannot contain VMs
InvalidPrimaryNetwork Invalid primary network specified for mapping, such as uplink DVPortgroup
InvalidSecondaryFolder Thrown for an attempt to create a secondary site folder that cannot contain VMs
InvalidSecondaryNetwork Invalid secondary network specified for mapping (such as uplink DVPortgroup)
InvalidState Base class for invalid state exceptions
InvalidTokenLifetime SSO token is either expired or not yet valid. This exception is generally thrown if there is a time skew between the local clock and the SSO server. This exception is not supported from methods with version prior to 8. However it is translated to Vim::Fault::InvalidLogin::Exception.
MultipleFault Multiple faults occur.
NetworkNotFound Thrown if the test network mapping does not exist in the recovery plan.
NoPermission Operation denied because of a privilege not held on a managed object
NotAuthenticated Operation denied because the session has not successfully logged in
NotSupported Thrown if a group is not array based.
PromptNotFound Thrown when a RecoveryPrompt cannot be found
ProtectionGroupNotEmpty Thrown after attempt to remove a protection group that contains protected VMs
ProtectionGroupNotFound Thrown when an operation on protection group cannot find the protection group
RecoveryPlanLocked An attempt was made to change a RecoveryPlan that is locked
RecoveryPlanNotFound Thrown when the requested recovery plan was not found
RecoveryResultNotFound Thrown when a RecoveryResult cannot be found
RemoteSiteNotAuthenticated Thrown if the remote site is not authenticated.
RemoteSiteNotEnabled An attempt was made to use a remote site that is not enabled
ReplicationProviderFault Thrown when an unspecified error was returned from the replication provider
StringArgumentTooLong Thrown when a string argument exceeds {maxSize} characters
SystemError Thrown in case of internal SRM error.
UnknownPrimaryFolder Secondary site tried operation on a folder that is nonexistent on primary site
UnknownPrimaryNetwork Secondary site tried operation on a network that is nonexistent on primary site
UnknownPrimaryResourcePool Secondary site tried operation on resource pool that is nonexistent on primary site
UnknownSecondaryFolder Primary site tried operation on a folder that is nonexistent on secondary site
UnknownSecondaryNetwork Primary site tried operation on a network that is nonexistent on secondary site
UnknownSecondaryResourcePool Primary site tried operation on resource pool that is nonexistent on secondary site
VersionConflict Attempt to reconfigure with a changeVersion that does not match the current value
VmNotFoundInRecoveryPlan Attempt to retrieve settings for virtual machine that does not exist in RecoveryPlan
vim.fault.ConcurrentAccess Thrown if another operation has modified the object and the change version no longer matches.