summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorJohn Griffith <john.griffith@solidfire.com>2012-07-23 22:42:25 -0600
committerJohn Griffith <john.griffith@solidfire.com>2012-07-25 09:16:47 -0600
commit76c1fd11b73fd8516bbde20cb46f627b658d4a6d (patch)
treee9414028b2f4579deaa8029a988527f285e0eef1 /nova/openstack
parentb8aedb281f8e6cc8b1583640c31f5d52ce5e4eac (diff)
downloadnova-76c1fd11b73fd8516bbde20cb46f627b658d4a6d.tar.gz
nova-76c1fd11b73fd8516bbde20cb46f627b658d4a6d.tar.xz
nova-76c1fd11b73fd8516bbde20cb46f627b658d4a6d.zip
Check for exception codes in openstack API results
* Inspect all exceptions for code, not just nova.exceptions Originally the fault wrapper would only inspect an exception for status, header and safe attributes if it was a nova.exception. As a result, excecptions returned from Cinder were always being incorrectly interpretted/categorized as ComputeFaults (500). This results in tempest tests that expect exceptions such as 404 NotFound to fail. Now that we're checking all Exceptions the same way, there's no need for a specifying nova.exceptions or even doing the import. Change-Id: If49e364063d5288c81ce1557bddc6dcec3ec457e
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions