tacker.common.exceptions
Module¶Tacker base exception handling.
tacker.common.exceptions.
AdminRequired
(**kwargs)¶Bases: tacker.common.exceptions.NotAuthorized
message
= u'User does not have admin privileges: %(reason)s'¶tacker.common.exceptions.
AlarmUrlInvalid
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid alarm url for VNF %(vnf_id)s'¶tacker.common.exceptions.
BadRequest
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Bad %(resource)s request: %(msg)s'¶tacker.common.exceptions.
BridgeDoesNotExist
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Bridge %(bridge)s does not exist.'¶tacker.common.exceptions.
Conflict
(**kwargs)¶tacker.common.exceptions.
DeviceIDNotOwnedByTenant
(**kwargs)¶Bases: tacker.common.exceptions.Conflict
message
= u'The following device_id %(device_id)s is not owned by your tenant or matches another tenants router.'¶tacker.common.exceptions.
DuplicateEntity
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'%(_type)s already exist with given %(entry)s'¶tacker.common.exceptions.
DuplicateResourceName
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'%(resource)s with name %(name)s already exists'¶tacker.common.exceptions.
DuplicatedExtension
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Found duplicate extension: %(alias)s'¶tacker.common.exceptions.
ExtensionsNotFound
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Extensions not found: %(extensions)s'¶tacker.common.exceptions.
ExternalIpAddressExhausted
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Unable to find any IP address on external network %(net_id)s.'¶tacker.common.exceptions.
GatewayConflictWithAllocationPools
(**kwargs)¶Bases: tacker.common.exceptions.InUse
message
= u'Gateway ip %(ip_address)s conflicts with allocation pool %(pool)s'¶tacker.common.exceptions.
GatewayIpInUse
(**kwargs)¶Bases: tacker.common.exceptions.InUse
message
= u'Current gateway ip %(ip_address)s already in use by port %(port_id)s. Unable to update.'¶tacker.common.exceptions.
InUse
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'The resource is inuse'¶tacker.common.exceptions.
Invalid
(message=None)¶tacker.common.exceptions.
InvalidAllocationPool
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'The allocation pool %(pool)s is not valid.'¶tacker.common.exceptions.
InvalidCIDR
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid CIDR %(input)s given as IP prefix'¶tacker.common.exceptions.
InvalidConfigurationOption
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'An invalid value was provided for %(opt_name)s: %(opt_value)s'¶tacker.common.exceptions.
InvalidContentType
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Invalid content type %(content_type)s'¶tacker.common.exceptions.
InvalidExtensionEnv
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid extension environment: %(reason)s'¶tacker.common.exceptions.
InvalidInput
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid input for operation: %(error_message)s.'¶tacker.common.exceptions.
InvalidQuotaValue
(**kwargs)¶Bases: tacker.common.exceptions.Conflict
message
= u'Change would make usage less than 0 for the following resources: %(unders)s'¶tacker.common.exceptions.
IpAddressGenerationFailure
(**kwargs)¶Bases: tacker.common.exceptions.Conflict
message
= u'No more IP addresses available on network %(net_id)s.'¶tacker.common.exceptions.
MacAddressGenerationFailure
(**kwargs)¶Bases: tacker.common.exceptions.ServiceUnavailable
message
= u'Unable to generate unique mac on network %(net_id)s.'¶tacker.common.exceptions.
MalformedRequestBody
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Malformed request body: %(reason)s'¶tacker.common.exceptions.
MgmtDriverException
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VNF configuration failed'¶tacker.common.exceptions.
NetworkNotFound
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Network %(net_id)s could not be found'¶tacker.common.exceptions.
NetworkVlanRangeError
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u"Invalid network VLAN range: '%(vlan_range)s' - '%(error)s'"¶tacker.common.exceptions.
NetworkVxlanPortRangeError
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u"Invalid network VXLAN port range: '%(vxlan_range)s'"¶tacker.common.exceptions.
NotAuthorized
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Not authorized.'¶tacker.common.exceptions.
NotFound
(**kwargs)¶tacker.common.exceptions.
OutOfBoundsAllocationPool
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'The allocation pool %(pool)s spans beyond the subnet cidr %(subnet_cidr)s.'¶tacker.common.exceptions.
OverQuota
(**kwargs)¶Bases: tacker.common.exceptions.Conflict
message
= u'Quota exceeded for resources: %(overs)s'¶tacker.common.exceptions.
OverlappingAllocationPools
(**kwargs)¶Bases: tacker.common.exceptions.Conflict
message
= u'Found overlapping allocation pools:%(pool_1)s %(pool_2)s for subnet %(subnet_cidr)s.'¶tacker.common.exceptions.
PolicyCheckError
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Failed to check policy %(policy)s because %(reason)s'¶tacker.common.exceptions.
PolicyFileNotFound
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Policy configuration policy.json could not be found'¶tacker.common.exceptions.
PolicyInitError
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Failed to init policy %(policy)s because %(reason)s'¶tacker.common.exceptions.
PolicyNotAuthorized
(**kwargs)¶Bases: tacker.common.exceptions.NotAuthorized
message
= u"Policy doesn't allow %(action)s to be performed."¶tacker.common.exceptions.
PreexistingDeviceFailure
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Creation failed. %(dev_name)s already exists.'¶tacker.common.exceptions.
QuotaMissingTenant
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Tenant-id was missing from Quota request'¶tacker.common.exceptions.
QuotaResourceUnknown
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Unknown quota resources %(unknown)s.'¶tacker.common.exceptions.
ResourceExhausted
(**kwargs)¶tacker.common.exceptions.
StateInvalid
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Unsupported port state: %(port_state)s'¶tacker.common.exceptions.
SudoRequired
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'Sudo privilege is required to run this command.'¶tacker.common.exceptions.
TackerException
(**kwargs)¶Bases: exceptions.Exception
Base Tacker Exception.
To correctly use this class, inherit from it and define a ‘message’ property. That message will get printf’d with the keyword arguments provided to the constructor.
message
= u'An unknown exception occurred.'¶use_fatal_exceptions
()¶Is the instance using fatal exceptions.
Returns: | Always returns False. |
---|
tacker.common.exceptions.
TooManyExternalNetworks
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'More than one external network exists'¶tacker.common.exceptions.
TriggerNotFound
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Trigger %(trigger_name)s does not exist for VNF %(vnf_id)s'¶tacker.common.exceptions.
VnfPolicyActionInvalid
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid action %(action)s for policy %(policy)s, should be one of %(valid_acions)s'¶tacker.common.exceptions.
VnfPolicyNotFound
(**kwargs)¶Bases: tacker.common.exceptions.NotFound
message
= u'Policy %(policy)s does not exist for VNF %(vnf_id)s'¶tacker.common.exceptions.
VnfPolicyTypeInvalid
(**kwargs)¶Bases: tacker.common.exceptions.BadRequest
message
= u'Invalid type %(type)s for policy %(policy)s, should be one of %(valid_types)s'¶tacker.common.exceptions.
VxlanNetworkUnsupported
(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message
= u'VXLAN Network unsupported.'¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.