diff options
| author | Dan Prince <dprince@redhat.com> | 2012-07-09 11:40:10 -0400 |
|---|---|---|
| committer | Dan Prince <dprince@redhat.com> | 2012-07-09 13:35:18 -0400 |
| commit | 13fd37932452874f7dad7e4bb2230cf6f16073e7 (patch) | |
| tree | 05a19a370d1a9d9eb13e8b99164d31d8a3f3f3e8 /nova/openstack | |
| parent | a97de51e017c9c07eaa3e4a9ddde4193e9528373 (diff) | |
| download | nova-13fd37932452874f7dad7e4bb2230cf6f16073e7.tar.gz nova-13fd37932452874f7dad7e4bb2230cf6f16073e7.tar.xz nova-13fd37932452874f7dad7e4bb2230cf6f16073e7.zip | |
Fix KeyError 'key_name' when KeyPairExists raised.
Updates the Nova compute API to pass a key_name arg to the
KeyPairExists constructor. This fixes an issue where a KeyError
exception would get logged to Nova's api.log file if a KeyPairExists
exception was thrown.
Also removes the un-needed exception explanation argument from the
KeyPairExists constructor.
Fixes LP Bug #1022611
Change-Id: I83ecf3d392fef97649b298d1b732e1ff51145ae4
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
