Detaching a volume again results in a traceback

Bug #1041236 reported by Chuck Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

After detaching a volume from an instance, detaching it twice results in a traceback.

Cinderclient connection created using URL: http://192.168.1.103:8776/v1/8bdf9e97b8ea406eabdf96f9729b7702
2012-08-24 10:11:27 ERROR nova.api.ec2 [req-1cf2deff-dd9f-4dac-a76e-5bc45400864a demo demo] Unexpected error raised: 'instance_uuid'
2012-08-24 10:11:27 TRACE nova.api.ec2 Traceback (most recent call last):
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/__init__.py", line 474, in __call__
2012-08-24 10:11:27 TRACE nova.api.ec2 result = api_request.invoke(context)
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/apirequest.py", line 81, in invoke
2012-08-24 10:11:27 TRACE nova.api.ec2 result = method(context, **args)
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/cloud.py", line 798, in detach_volume
2012-08-24 10:11:27 TRACE nova.api.ec2 self.compute_api.detach_volume(context, volume_id=volume_id)
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/compute/api.py", line 1727, in detach_volume
2012-08-24 10:11:27 TRACE nova.api.ec2 instance_uuid = volume['instance_uuid']
2012-08-24 10:11:27 TRACE nova.api.ec2 KeyError: 'instance_uuid'
2012-08-24 10:11:27 TRACE nova.api.ec2
Unexpected error raised: 'instance_uuid'
2012-08-24 10:11:27 TRACE nova.api.ec2 Traceback (most recent call last):
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/__init__.py", line 474, in __call__
2012-08-24 10:11:27 TRACE nova.api.ec2 result = api_request.invoke(context)
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/apirequest.py", line 81, in invoke
2012-08-24 10:11:27 TRACE nova.api.ec2 result = method(context, **args)
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/cloud.py", line 798, in detach_volume
2012-08-24 10:11:27 TRACE nova.api.ec2 self.compute_api.detach_volume(context, volume_id=volume_id)
2012-08-24 10:11:27 TRACE nova.api.ec2 File "/opt/stack/nova/nova/compute/api.py", line 1727, in detach_volume
2012-08-24 10:11:27 TRACE nova.api.ec2 instance_uuid = volume['instance_uuid']
2012-08-24 10:11:27 TRACE nova.api.ec2 Key

Chuck Short (zulcss)
Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.