EC2 TerminateInstances api call hangs and returns 500 when given bad data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Chuck Short |
Bug Description
$ euca-describe-
RESERVATION r-9qyg1vm0 smoser_project default
INSTANCE i-00001c76 ami-00000091 server-7286 server-7286 runningmykey 0 m1.small 2012-03-
$ euca-terminate-
500: The server has either erred or is incapable of performing the requested operation.
$ euca-terminate-
500: The server has either erred or is incapable of performing the requested operation.
On EC2, you'd see something like this:
$ euca-terminate-
InvalidInstance
This is running against nova essex 2012.1~
tags: | added: canonistack |
summary: |
EC2 TerminateInstances api call hangs and returns 500 when given bad - data (ip address) + data |
description: | updated |
tags: | added: essex-rc-potential |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → 2012.1 |
2012-03-26 09:39:29 ERROR nova.api.ec2 [req-4eb7480b- c751-4dcb- 913b-e8198fb4ce 7c 291118376dc8458 6bfd94065ed781c cf d500fc3c52df4f9 3a50f8c7804b852 1a] FaultWrapper: 'Executor' object has no attribute '_error' nova/nova/ api/ec2/ __init_ _.py", line 93, in __call__ response( self.applicatio n) python2. 7/dist- packages/ webob/request. py", line 1086, in get_response info=False) python2. 7/dist- packages/ webob/request. py", line 1055, in call_application self.environ, start_response) python2. 7/dist- packages/ webob/dec. py", line 147, in __call__ python2. 7/dist- packages/ webob/dec. py", line 210, in call_func nova/nova/ api/ec2/ __init_ _.py", line 105, in __call__ response( self.applicatio n) python2. 7/dist- packages/ webob/request. py", line 1086, in get_response info=False) python2. 7/dist- packages/ webob/request. py", line 1055, in call_application self.environ, start_response) python2. 7/dist- packages/ webob/dec. py", line 159, in __call__ python2. 7/dist- packages/ webob/dec. py", line 159, in __call__ python2. 7/dist- packages/ webob/dec. py", line 159, in __call__ python2. 7/dist- packages/ webob/dec. py", line 147, in __call__ python2. 7/dist- packages/ webob/dec. py", line 210, in call_func nova/nova/ api/ec2/ __init_ _.py", line 640, in __call__ eID.Malformed" ,
(nova.api.ec2): TRACE: Traceback (most recent call last):
(nova.api.ec2): TRACE: File "/opt/stack/
(nova.api.ec2): TRACE: return req.get_
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: application, catch_exc_
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: app_iter = application(
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: resp = self.call_func(req, *args, **self.kwargs)
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: return self.func(req, *args, **kwargs)
(nova.api.ec2): TRACE: File "/opt/stack/
(nova.api.ec2): TRACE: rv = req.get_
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: application, catch_exc_
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: app_iter = application(
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: return resp(environ, start_response)
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: return resp(environ, start_response)
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: return resp(environ, start_response)
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: resp = self.call_func(req, *args, **self.kwargs)
(nova.api.ec2): TRACE: File "/usr/lib/
(nova.api.ec2): TRACE: return self.func(req, *args, **kwargs)
(nova.api.ec2): TRACE: File "/opt/stack/
(nova.api.ec2): TRACE: return self._error(req, context, "InvalidInstanc
(nova.api.ec2): TRACE: AttributeError: 'Executor' object has no attribute '_error'