Tacker base exception handling.
tacker.common.exceptions.AdminRequired(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotAuthorized
message = 'User does not have admin privileges: %(reason)s'¶tacker.common.exceptions.AlarmUrlInvalid(message=None, **kwargs)¶Bases: tacker.common.exceptions.BadRequest
message = 'Invalid alarm url for VNF %(vnf_id)s'¶tacker.common.exceptions.BadRequest(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
code = 400¶message = 'Bad %(resource)s request: %(msg)s'¶tacker.common.exceptions.CSARFileSizeLimitExceeded(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'The provided CSAR file is too large.'¶tacker.common.exceptions.Conflict(message=None, **kwargs)¶tacker.common.exceptions.ConvertedException(code, title='', explanation='')¶Bases: webob.exc.WSGIHTTPException
tacker.common.exceptions.DuplicateEntity(message=None, **kwargs)¶Bases: tacker.common.exceptions.Conflict
message = '%(_type)s already exist with given %(entry)s'¶tacker.common.exceptions.DuplicateResourceName(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = '%(resource)s with name %(name)s already exists'¶tacker.common.exceptions.DuplicatedExtension(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Found duplicate extension: %(alias)s'¶tacker.common.exceptions.FailedToGetVnfPackageDetails(message=None, **kwargs)¶Bases: tacker.common.exceptions.Invalid
message = 'Failed to get vnf package details: %(error)s'¶tacker.common.exceptions.FailedToGetVnfdData(message=None, **kwargs)¶Bases: tacker.common.exceptions.Invalid
message = 'Failed to get csar zip file from glance store: %(error)s'¶tacker.common.exceptions.FlavourNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = "No flavour with id '%(flavour_id)s'."¶tacker.common.exceptions.Forbidden(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
code = 403¶msg_fmt = 'Forbidden'¶tacker.common.exceptions.InUse(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'The resource is in use'¶tacker.common.exceptions.InstantiationLevelNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = "No instantiation level with id '%(inst_level_id)s'."¶tacker.common.exceptions.Invalid(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Bad Request - Invalid Parameters'¶tacker.common.exceptions.InvalidCSAR(message=None, **kwargs)¶Bases: tacker.common.exceptions.Invalid
message = 'Invalid csar: %(error)s'¶tacker.common.exceptions.InvalidContentType(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Invalid content type %(content_type)s'¶tacker.common.exceptions.InvalidInput(message=None, **kwargs)¶Bases: tacker.common.exceptions.BadRequest
message = 'Invalid input for operation: %(error_message)s.'¶tacker.common.exceptions.InvalidZipFile(message=None, **kwargs)¶Bases: tacker.common.exceptions.Invalid
message = 'Invalid zip file : %(path)s'¶tacker.common.exceptions.LimitExceeded(*args, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'The request returned a 413 Request Entity Too Large. This generally means that rate limiting or a quota threshold was breached.\n\nThe response body:\n%(body)s'¶tacker.common.exceptions.LockCreationFailed(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Unable to create lock. Coordination backend not started.'¶tacker.common.exceptions.MalformedRequestBody(message=None, **kwargs)¶Bases: tacker.common.exceptions.BadRequest
message = 'Malformed request body: %(reason)s'¶tacker.common.exceptions.MgmtDriverException(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'VNF configuration failed'¶tacker.common.exceptions.NetworkVlanRangeError(**kwargs)¶Bases: tacker.common.exceptions.TackerException
message = "Invalid network VLAN range: '%(vlan_range)s' - '%(error)s'"¶tacker.common.exceptions.NotAuthorized(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
code = 401¶message = 'Not authorized.'¶tacker.common.exceptions.NotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = '%(resource)s %(name)s not Found'¶tacker.common.exceptions.ObjectActionError(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Object action %(action)s failed because: %(reason)s'¶tacker.common.exceptions.OrphanedObjectError(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
msg_fmt = 'Cannot call %(method)s on orphaned %(objtype)s object'¶tacker.common.exceptions.PolicyCheckError(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Failed to check policy %(policy)s because %(reason)s'¶tacker.common.exceptions.PolicyInitError(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Failed to init policy %(policy)s because %(reason)s'¶tacker.common.exceptions.PolicyNotAuthorized(message=None, **kwargs)¶Bases: tacker.common.exceptions.Forbidden
message = "Policy doesn't allow %(action)s to be performed."¶tacker.common.exceptions.TackerException(message=None, **kwargs)¶Bases: 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.
code = 500¶format_message()¶message = 'An unknown exception occurred.'¶use_fatal_exceptions()¶Is the instance using fatal exceptions.
Always returns False.
tacker.common.exceptions.TriggerNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'Trigger %(trigger_name)s does not exist for VNF %(vnf_id)s'¶tacker.common.exceptions.UploadFailedToGlanceStore(message=None, **kwargs)¶Bases: tacker.common.exceptions.Invalid
message = 'Failed to upload vnf package %(uuid)s to glance store: %(error)s'¶tacker.common.exceptions.UserDataUpdateCreateFailed(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
msg_fmt = 'User data for VNF package %(id)s cannot be updated or created after %(retries)d retries.'¶tacker.common.exceptions.VNFPackageURLInvalid(message=None, **kwargs)¶Bases: tacker.common.exceptions.Invalid
message = 'Failed to open URL %(url)s'¶tacker.common.exceptions.ValidationError(message=None, **kwargs)¶Bases: tacker.common.exceptions.BadRequest
message = '%(detail)s'¶tacker.common.exceptions.VimConnectionNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = "No vim found with id '%(vim_id)s'."¶tacker.common.exceptions.VnfDeploymentFlavourNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'No vnf deployment flavour with id %(id)s.'¶tacker.common.exceptions.VnfHealFailed(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Heal Vnf failed for vnf %(id)s, error: %(error)s'¶tacker.common.exceptions.VnfInstanceConflictState(message=None, **kwargs)¶Bases: tacker.common.exceptions.Conflict
message = 'Vnf instance %(uuid)s in %(attr)s %(state)s. Cannot %(action)s while the vnf instance is in this state.'¶tacker.common.exceptions.VnfInstanceNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'No vnf instance with id %(id)s.'¶tacker.common.exceptions.VnfInstantiatedInfoNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'No vnf instantiated info for vnf id %(vnf_instance_id)s.'¶tacker.common.exceptions.VnfInstantiationFailed(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Vnf instantiation failed for vnf %(id)s, error: %(error)s'¶tacker.common.exceptions.VnfInstantiationWaitFailed(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Vnf instantiation wait failed for vnf %(id)s, error: %(error)s'¶tacker.common.exceptions.VnfPackageLocationInvalid(message=None, **kwargs)¶Bases: tacker.common.exceptions.Invalid
message = 'Failed to find location: %(location)'¶tacker.common.exceptions.VnfPackageNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'No vnf package with id %(id)s.'¶tacker.common.exceptions.VnfPackageVnfdIdDuplicate(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = 'Vnf package with vnfd id %(vnfd_id)s already exists.'¶tacker.common.exceptions.VnfPackageVnfdNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'No vnf package vnfd with vnfd_id %(id)s.'¶tacker.common.exceptions.VnfPolicyActionInvalid(message=None, **kwargs)¶Bases: tacker.common.exceptions.BadRequest
message = 'Invalid action %(action)s for policy %(policy)s, should be one of %(valid_actions)s'¶tacker.common.exceptions.VnfPolicyNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'Policy %(policy)s does not exist for VNF %(vnf_id)s'¶tacker.common.exceptions.VnfPolicyTypeInvalid(message=None, **kwargs)¶Bases: tacker.common.exceptions.BadRequest
message = 'Invalid type %(type)s for policy %(policy)s, should be one of %(valid_types)s'¶tacker.common.exceptions.VnfPreInstantiationFailed(message=None, **kwargs)¶Bases: tacker.common.exceptions.TackerException
message = "Vnf '%(id)s' failed during pre-instantiation due to error: %(error)s"¶tacker.common.exceptions.VnfResourceNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'No vnf resource with id %(id)s.'¶tacker.common.exceptions.VnfSoftwareImageNotFound(message=None, **kwargs)¶Bases: tacker.common.exceptions.NotFound
message = 'No vnf software image with id %(id)s.'¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.