On 10/26/2012 10:13 AM, Itsuro Oda wrote:
> This is my test pattern: (this log is under patch set 12) --- curl -v
> -H "X-Auth-Token: ee94a1f0743b4c269acb0b14c1281523" -H "Content-Type:
> application/json" -X POST -d '{{"name": "aaa"}}'
> http://172.17.190.3:9696/v2.0/networks.json * About to connect() to
> 172.17.190.3 port 9696 (#0) * Trying 172.17.190.3... connected
Would it be possible to trf and add the following and let me know if it
helps:
On 10/26/2012 10:13 AM, Itsuro Oda wrote: 69acb0b14c12815 23" -H "Content-Type: 172.17. 190.3:9696/ v2.0/networks. json * About to connect() to
> This is my test pattern: (this log is under patch set 12) --- curl -v
> -H "X-Auth-Token: ee94a1f0743b4c2
> application/json" -X POST -d '{{"name": "aaa"}}'
> http://
> 172.17.190.3 port 9696 (#0) * Trying 172.17.190.3... connected
Would it be possible to trf and add the following and let me know if it
helps:
diff --git a/quantum/ api/v2/ base.py b/quantum/ api/v2/ base.py api/v2/ base.py api/v2/ base.py NotFound: webob.exc. HTTPNotFound,
exceptions. PolicyNotAuthor ized: webob.exc. HTTPForbidden,
netaddr. AddrFormatError : webob.exc. HTTPBadRequest,
AttributeError : webob.exc. HTTPBadRequest, HTTPBadRequest,
index a370381..6484b8e 100644
--- a/quantum/
+++ b/quantum/
@@ -48,6 +48,7 @@ FAULT_MAP = {exceptions.
+ ValueError: webob.exc.
}
And
diff --git a/quantum/ api/v2/ resource. py b/quantum/ api/v2/ resource. py api/v2/ resource. py api/v2/ resource. py controller, faults=None,
method = getattr(controller, action)
index 8300a53..785943d 100644
--- a/quantum/
+++ b/quantum/
@@ -94,7 +94,7 @@ def Resource(
deserializers=None, serializers=None):
- except (AttributeError,
+ except (ValueError, AttributeError,
Thanks
Gary