]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix CFN API error responses
authorLiang Chen <cbjchen@cn.ibm.com>
Wed, 28 Aug 2013 14:55:42 +0000 (22:55 +0800)
committerLiang Chen <cbjchen@cn.ibm.com>
Wed, 28 Aug 2013 16:12:46 +0000 (00:12 +0800)
commit03638aad74d416f31439aa1150dff29e1c7855be
tree28eea6edd5d20f812380602331235b0a3bca86c8
parentb43018834e1e14d06aac9f21ed9593b2e262793e
Fix CFN API error responses

A remote exception (included in conf.allowed_rpc_exception_modules)
is now restored to a subclass of its original type (with the
exception of non heap types which will always be restored to its
original type). Catching rpc_common.RemoteError is not enough
anymore.

Fixes bug #1214831

Change-Id: Iae3ce0c9d0d3f6565fab25ec899f83f19d46e81b
heat/api/aws/exception.py
heat/api/cfn/v1/signal.py
heat/api/cfn/v1/stacks.py
heat/tests/test_api_cfn_v1.py