diff --git a/reddwarfclient/client.py b/reddwarfclient/client.py index 0c8a3870..61374d08 100644 --- a/reddwarfclient/client.py +++ b/reddwarfclient/client.py @@ -184,7 +184,7 @@ class ReddwarfHTTPClient(httplib2.Http): else: body = None - if resp.status in (400, 401, 403, 404, 408, 409, 413, 500, 501): + if resp.status in (400, 401, 403, 404, 408, 409, 413, 422, 500, 501): raise exceptions.from_response(resp, body) return resp, body diff --git a/reddwarfclient/mcli.py b/reddwarfclient/mcli.py index a9df52bb..2e3a161c 100644 --- a/reddwarfclient/mcli.py +++ b/reddwarfclient/mcli.py @@ -71,7 +71,8 @@ class QuotaCommands(common.AuthedCommandsBase): params = ['id', 'instances', - 'volumes'] + 'volumes', + 'backups'] def list(self): """List all quotas for a tenant"""