summaryrefslogtreecommitdiffstats
path: root/nova/baserpc.py
diff options
context:
space:
mode:
authorChris Yeoh <cyeoh@au1.ibm.com>2013-04-17 13:02:02 +0930
committerChris Yeoh <cyeoh@au1.ibm.com>2013-04-18 16:30:33 +0930
commitf9be01a42a513d7d579cc2424a439ae800ec6df6 (patch)
tree717397a267b61844e92f2650c7bee6c305f2d18a /nova/baserpc.py
parent36b10384724fec9657784980cd2bd38e72b445bc (diff)
downloadnova-f9be01a42a513d7d579cc2424a439ae800ec6df6.tar.gz
nova-f9be01a42a513d7d579cc2424a439ae800ec6df6.tar.xz
nova-f9be01a42a513d7d579cc2424a439ae800ec6df6.zip
Translate NoMoreFloatingIps exception
When the pool of floating ips is exhausted the NoMoreFloatingIps exception is raised but not handled properly in the floating ips extension resulting in the exception propagating further up and causing a stack trace to be logged. This change translates the exception explicitly into a HTTPNotFound, preserving the current REST API behaviour. It fixes a bug where the pool name was not correctly inserted into the message returned if allocation from a specific pool was requested. Fixes bug 1169811 Part of blueprint no-stacktraces-in-logs Change-Id: I8f35d25d065bb1fa709cff6f59841ac8c86658bd
Diffstat (limited to 'nova/baserpc.py')
0 files changed, 0 insertions, 0 deletions