This module is a central location for all salt exceptions
salt.exceptions.
ArgumentValueError
(message='', info=None)Used when an invalid argument was passed to a command execution
salt.exceptions.
AuthenticationError
(message='')If sha256 signature fails during decryption
salt.exceptions.
AuthorizationError
(message='')Thrown when runner or wheel execution fails due to permissions
salt.exceptions.
CommandExecutionError
(message='', info=None)Used when a module runs a command which returns an error and wants to show the user the output gracefully instead of dying
salt.exceptions.
CommandNotFoundError
(message='')Used in modules or grains when a required binary is not available
salt.exceptions.
EauthAuthenticationError
(message='')Thrown when eauth authentication fails
salt.exceptions.
FileLockError
(message, time_start=None, *args, **kwargs)Used when an error occurs obtaining a file lock
salt.exceptions.
FileserverConfigError
(message='')Used when invalid fileserver settings are detected
salt.exceptions.
GitLockError
(errno, message, *args, **kwargs)Raised when an uncaught error occurs in the midst of obtaining an update/checkout lock in salt.utils.gitfs.
NOTE: While this uses the errno param similar to an OSError, this exception class is not as subclass of OSError. This is done intentionally, so that this exception class can be caught in a try/except without being caught as an OSError.
salt.exceptions.
GitRemoteError
(message='')Used by GitFS to denote a problem with the existence of the "origin" remote or part of its configuration
salt.exceptions.
InvalidEntityError
(message='', info=None)Used when an entity fails validation
salt.exceptions.
MinionError
(message='')Minion problems reading uris such as salt:// or http://
salt.exceptions.
NotImplemented
(message='')Used when a module runs a command which returns an error and wants to show the user the output gracefully instead of dying
salt.exceptions.
NxosCliError
(message='')NX-OS Cli Error raised when Cli command rejected by the NX-OS device
salt.exceptions.
NxosClientError
(message='')NX-OS Client Error raised for problems connecting to the NX-OS device
salt.exceptions.
NxosRequestNotSupported
(message='')Raised for unsupported client requests
salt.exceptions.
PkgParseError
(message='')Used when of the pkg modules cannot correctly parse the output from the CLI tool (pacman, yum, apt, aptitude, etc)
salt.exceptions.
PublishError
(message='')Problems encountered when trying to publish a command
salt.exceptions.
SaltCacheError
(message='')Thrown when a problem was encountered trying to read or write from the salt cache
salt.exceptions.
SaltClientTimeout
(message, jid=None, *args, **kwargs)Thrown when a job sent through one of the Client interfaces times out
Takes the jid
as a parameter
salt.exceptions.
SaltCloudConfigError
(message='')Raised when a configuration setting is not found and should exist.
salt.exceptions.
SaltCloudExecutionFailure
(message='')Raised when too much failures have occurred while querying/waiting for data.
salt.exceptions.
SaltCloudExecutionTimeout
(message='')Raised when too much time has passed while querying/waiting for data.
salt.exceptions.
SaltCloudNotFound
(message='')Raised when some cloud provider function cannot find what's being searched.
salt.exceptions.
SaltCloudPasswordError
(message='')Raise when virtual terminal password input failed
salt.exceptions.
SaltCloudSystemExit
(message, exit_code=1)This exception is raised when the execution should be stopped.
salt.exceptions.
SaltDaemonNotRunning
(message='')Throw when a running master/minion/syndic is not running but is needed to perform the requested operation (e.g., eauth).
salt.exceptions.
SaltDeserializationError
(message='')Thrown when salt cannot deserialize data.
salt.exceptions.
SaltException
(message='')Base exception class; all Salt-specific exceptions should subclass this
salt.exceptions.
SaltInvocationError
(message='')Used when the wrong number of arguments are sent to modules or invalid arguments are specified on the command line
salt.exceptions.
SaltMasterUnresolvableError
(message='')Problem resolving the name of the Salt master
salt.exceptions.
SaltNoMinionsFound
(message='')An attempt to retrieve a list of minions failed
salt.exceptions.
SaltRenderError
(message, line_num=None, buf='', marker=' <======================', trace=None)Used when a renderer needs to raise an explicit error. If a line number and buffer string are passed, get_context will be invoked to get the location of the error.
salt.exceptions.
SaltReqTimeoutError
(message='')Thrown when a salt master request call fails to return within the timeout
salt.exceptions.
SaltSyndicMasterError
(message='')Problem while proxying a request in the syndication master
salt.exceptions.
SaltSystemExit
(code=0, msg=None)This exception is raised when an unsolvable problem is found. There's nothing else to do, salt should just exit.
salt.exceptions.
TemplateError
(message='')Used when a custom error is triggered in a template
salt.exceptions.
TimedProcTimeoutError
(message='')Thrown when a timed subprocess does not terminate within the timeout, or if the specified timeout is not an int or a float
salt.exceptions.
TimeoutError
(message='')Thrown when an opration cannot be completet within a given time limit.
salt.exceptions.
TokenAuthenticationError
(message='')Thrown when token authentication fails
salt.exceptions.
VMwareApiError
(message='', info=None)Used when representing a generic VMware API error
salt.exceptions.
VMwareConnectionError
(message='', info=None)Used when the client fails to connect to a either a VMware vCenter server or to a ESXi host
salt.exceptions.
VMwareFileNotFoundError
(message='', info=None)Used when representing a generic VMware error if a file not found
salt.exceptions.
VMwareMultipleObjectsError
(message='', info=None)Used when multiple objects were retrieved (and one was expected)
salt.exceptions.
VMwareNotFoundError
(message='', info=None)Used when a VMware object was not found
salt.exceptions.
VMwareObjectExistsError
(message='', info=None)Used when a VMware object already exists
salt.exceptions.
VMwareObjectNotFoundError
(message='', info=None)Used when a VMware object was not found
salt.exceptions.
VMwareObjectRetrievalError
(message='', info=None)Used when a VMware object cannot be retrieved
salt.exceptions.
VMwarePowerOnError
(message='', info=None)Used when error occurred during power on
salt.exceptions.
VMwareRuntimeError
(message='', info=None)Used when a runtime error is encountered when communicating with the vCenter
salt.exceptions.
VMwareSaltError
(message='', info=None)Used when a VMware object cannot be retrieved
salt.exceptions.
VMwareSystemError
(message='', info=None)Used when representing a generic VMware system error
salt.exceptions.
VMwareVmCreationError
(message='', info=None)Used when a configuration parameter is incorrect