salt.exceptions

This module is a central location for all salt exceptions

exception salt.exceptions.AuthenticationError

If sha256 signature fails during decryption

exception salt.exceptions.AuthorizationError

Thrown when runner or wheel execution fails due to permissions

exception salt.exceptions.CommandExecutionError

Used when a module runs a command which returns an error and wants to show the user the output gracefully instead of dying

exception salt.exceptions.CommandNotFoundError

Used in modules or grains when a required binary is not available

exception salt.exceptions.EauthAuthenticationError

Thrown when eauth authentication fails

exception salt.exceptions.LoaderError

Problems loading the right renderer

exception salt.exceptions.MasterExit

Rise when the master exits

exception salt.exceptions.MinionError

Minion problems reading uris such as salt:// or http://

exception salt.exceptions.PkgParseError

Used when of the pkg modules cannot correctly parse the output from the CLI tool (pacman, yum, apt, aptitude, etc)

exception salt.exceptions.SaltClientError

Problem reading the master root key

exception salt.exceptions.SaltException

Base exception class; all Salt-specific exceptions should subclass this

exception salt.exceptions.SaltInvocationError

Used when the wrong number of arguments are sent to modules or invalid arguments are specified on the command line

exception salt.exceptions.SaltMasterError

Problem reading the master root key

exception salt.exceptions.SaltRenderError(error, 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.

exception salt.exceptions.SaltReqTimeoutError

Thrown when a salt master request call fails to return within the timeout

exception salt.exceptions.SaltRunnerError

Problem in runner

exception 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.

exception salt.exceptions.SaltWheelError

Problem in wheel

exception salt.exceptions.TimedProcTimeoutError

Thrown when a timed subprocess does not terminate within the timeout, or if the specified timeout is not an int or a float

exception salt.exceptions.TokenAuthenticationError

Thrown when token authentication fails

Current Salt release: 2014.1.6

Docs for previous releases on salt.rtfd.org.

Previous topic

salt.exceptions

Next topic

Network Topology

Upcoming SaltStack Events