Exception definitions.
Bases: exceptions.Exception
Found more than one matching endpoint in Service Catalog.
Bases: exceptions.Exception
When the user specify a AuthSystem but not installed.
Bases: exceptions.Exception
Bases: novaclient.exceptions.ClientException
HTTP 400 - Bad request: you sent some malformed data.
Bases: exceptions.Exception
The base exception class for all exceptions this library raises.
Bases: exceptions.Exception
Bases: novaclient.exceptions.ClientException
HTTP 409 - Conflict
Bases: exceptions.Exception
Connection refused: the server refused the connection.
Bases: exceptions.Exception
Could not find Service or Region in Service Catalog.
Bases: novaclient.exceptions.ClientException
HTTP 403 - Forbidden: your credentials don’t give you access to this resource.
Bases: novaclient.exceptions.ClientException
HTTP 501 - Not Implemented: the server does not support this operation.
Bases: exceptions.Exception
Instance is in the deleted state.
Bases: exceptions.Exception
Instance is in the error state.
Bases: exceptions.RuntimeError
This function call is invalid in the way you are using this client.
Due to the transition to using keystoneclient some function calls are no longer available. You should make a similar call to the session object instead.
Bases: novaclient.exceptions.ClientException
HTTP 405 - Method Not Allowed
Bases: exceptions.Exception
This form of authentication does not support looking up endpoints from an existing token.
Bases: exceptions.Exception
Bases: novaclient.exceptions.ClientException
HTTP 406 - Not Acceptable
Bases: novaclient.exceptions.ClientException
HTTP 404 - Not found
Bases: novaclient.exceptions.RetryAfterException
HTTP 413 - Over limit: you’re over the API limits for this time period.
Bases: novaclient.exceptions.RetryAfterException
HTTP 429 - Rate limit: you’ve sent too many requests for this time period.
Bases: exceptions.Exception
Error in getting the resource.
Bases: novaclient.exceptions.ClientException
The base exception class for ClientExceptions that use Retry-After header.
Bases: novaclient.exceptions.ClientException
HTTP 401 - Unauthorized: bad credentials.
Bases: exceptions.Exception
Indicates that the user is trying to use an unsupported version of the API.
Bases: exceptions.Exception
Return an instance of an ClientException or subclass based on an requests response.
Usage:
resp, body = requests.request(...)
if resp.status_code != 200:
raise exception_from_response(resp, rest.text)