'module' object has no attribute 'id_to_ec2_id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Dan Prince |
Bug Description
Using bzr828:
When using the EC2 API I get the following exception when trying to delete a server that doesn't exist:
root@nova1:~# euca-terminate-
Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
BotoServerError: 500 Internal Server Error
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
return app(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
rv = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
ec2_id = cloud.id_
AttributeError: 'module' object has no attribute 'id_to_ec2_id'
---
The attached patch resolves the issue.
Related branches
- Devin Carlen (community): Approve
- justinsb (community): Approve
-
Diff: 58 lines (+15/-3)2 files modifiednova/api/ec2/__init__.py (+3/-3)
nova/tests/test_api.py (+12/-0)
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |