diff options
author | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-04-17 10:02:33 +0930 |
---|---|---|
committer | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-04-17 10:02:33 +0930 |
commit | 673f3118b6b558f8c23a669ad6aae1cf8df6632e (patch) | |
tree | 5908b00a238d644800e0fcd338d509f059792f1a /nova/service.py | |
parent | 36b10384724fec9657784980cd2bd38e72b445bc (diff) | |
download | nova-673f3118b6b558f8c23a669ad6aae1cf8df6632e.tar.gz nova-673f3118b6b558f8c23a669ad6aae1cf8df6632e.tar.xz nova-673f3118b6b558f8c23a669ad6aae1cf8df6632e.zip |
Translate cinder NotFound exception
When we attempt to get information about a snapshot
which doesn't exist we get a cinder NotFound exception.
However, this is not caught and causes a stacktrace in the logs.
This occurs on every tempest run in the test
EC2VolumesTest.test_create_volume_from_snapshot.
The fix is to translate the exception to SnapshotNotFound
which is handled correctly further up the call chain.
Fixes bug 1169777
Part of blueprint no-stacktraces-in-logs
Change-Id: If893b5083b93894e671c978bd23bd89d3d017531
Diffstat (limited to 'nova/service.py')
0 files changed, 0 insertions, 0 deletions