Skip to content

Commit

Permalink
Returns more appropriate error when address pool is exhausted
Browse files Browse the repository at this point in the history
Fixes bug 1086226

Change-Id: I97a73151a1ed42877116238a6a741c68c75e199a
  • Loading branch information
Gary Kotton committed Dec 5, 2012
1 parent 64f2a38 commit b939b07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quantum/api/v2/base.py
Expand Up @@ -47,6 +47,7 @@
netaddr.AddrFormatError: webob.exc.HTTPBadRequest,
AttributeError: webob.exc.HTTPBadRequest,
ValueError: webob.exc.HTTPBadRequest,
exceptions.IpAddressGenerationFailure: webob.exc.HTTPConflict,
}

QUOTAS = quota.QUOTAS
Expand Down

0 comments on commit b939b07

Please sign in to comment.