VMware: deleting instance snapshot too soon leaves instance in Image Uploading state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Eric Brown | ||
Icehouse |
Fix Released
|
High
|
Gary Kotton |
Bug Description
branch: stable/havana
driver: VMwareVCDriver
When using the nova VMwareVCDriver, the following scenario will cause an instance to be stuck in "Image Uploading" state:
1. Create an instance
2. Snapshot the instance
3. While the image is in "Queuing" state, immediately delete the image
The screen-n-cpu.log shows:
2013-11-08 14:45:29.334 DEBUG glanceclient.
2013-11-08 14:45:30.138 DEBUG nova.openstack.
2013-11-08 14:45:30.138 DEBUG nova.openstack.
2013-11-08 14:45:30.139 DEBUG nova.openstack.
2013-11-08 14:45:30.141 DEBUG amqp [-] Closed channel #1 from (pid=15600) _do_close /usr/local/
2013-11-08 14:45:30.141 DEBUG amqp [-] using channel_id: 1 from (pid=15600) __init__ /usr/local/
2013-11-08 14:45:30.142 DEBUG amqp [-] Channel open from (pid=15600) _open_ok /usr/local/
2013-11-08 14:45:39.350 DEBUG glanceclient.
HTTP/1.1 403 Forbidden
date: Fri, 08 Nov 2013 22:45:29 GMT
content-length: 54
content-type: text/plain; charset=UTF-8
x-openstack-
403 Forbidden
Forbidden to update deleted image.
from (pid=15600) log_http_response /opt/stack/
2013-11-08 14:45:39.351 ERROR glanceclient.
Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/local/
result = function(*args, **kwargs)
File "/opt/stack/
data=
File "/opt/stack/
_reraise_
File "/opt/stack/
image_id, **image_meta)
File "/opt/stack/
return getattr(
File "/opt/stack/
'PUT', url, headers=hdrs, body=image_data)
File "/opt/stack/
return self._http_
File "/opt/stack/
raise exc.from_
ImageNotAuthorized: Not authorized for image 6cf638ec-
Changed in nova: | |
assignee: | nobody → Tracy Jones (tjones-i) |
status: | New → Confirmed |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
status: | Incomplete → Confirmed |
assignee: | Tracy Jones (tjones-i) → nobody |
Changed in nova: | |
assignee: | nobody → Eric Brown (ericwb) |
Changed in nova: | |
status: | Confirmed → In Progress |
milestone: | none → juno-1 |
tags: | added: havana-backport-potential icehouse-rc-potential |
tags: | removed: icehouse-rc-potential in-stable-icehouse |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
Ryan - do you still get this issue? I just tried to repo and i did not get a task stuck issue