xenapi ImageTooLarge exception leaves VDI around

Bug #1015423 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
John Garbutt

Bug Description

2012-06-20 07:11:15 TRACE nova.rpc.amqp return _fetch_image_glance_vhd(context, session, instance, image_id)
2012-06-20 07:11:15 TRACE nova.rpc.amqp File "/home/cbehrens/openstack/nova/o3-nova.git/nova/virt/xenapi/vm_utils.py", line 812, in _fetch_image_glance_vhd
2012-06-20 07:11:15 TRACE nova.rpc.amqp _check_vdi_size(context, session, instance, root_vdi_uuid)
2012-06-20 07:11:15 TRACE nova.rpc.amqp File "/home/cbehrens/openstack/nova/o3-nova.git/nova/virt/xenapi/vm_utils.py", line 850, in _check_vdi_size
2012-06-20 07:11:15 TRACE nova.rpc.amqp raise exception.ImageTooLarge()
2012-06-20 07:11:15 TRACE nova.rpc.amqp ImageTooLarge: Image is larger than instance type allows

When this occurs... I'm seeing the VDI left around... even after a delete.

Tags: xenserver
Changed in nova:
assignee: nobody → Matthew Sherborne (matt-sherborne)
Changed in nova:
assignee: Matthew Sherborne (matt-sherborne) → nobody
Changed in nova:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: New → In Progress
Revision history for this message
John Garbutt (johngarbutt) wrote :

Hows is the progress on this bug? Is it complete now?

tags: added: xenserver
Changed in nova:
importance: Undecided → Critical
importance: Critical → Medium
Revision history for this message
John Garbutt (johngarbutt) wrote :

Seems stale now.

Changed in nova:
assignee: Johannes Erdfelt (johannes.erdfelt) → nobody
Changed in nova:
assignee: nobody → John Garbutt (johngarbutt)
Revision history for this message
John Garbutt (johngarbutt) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/28664
Committed: http://github.com/openstack/nova/commit/4f9d45aa4f6a805eb5cdaddaf7cef1472e37755a
Submitter: Jenkins
Branch: master

commit 4f9d45aa4f6a805eb5cdaddaf7cef1472e37755a
Author: John Garbutt <email address hidden>
Date: Thu May 9 09:48:04 2013 +0100

    xenapi: cleanup vdi when disk too big exception raised

    In addition add some unit tests to that area of the code.

    fixes bug 1015423

    Change-Id: If33cbb395bc39cbb6e8b2ecbd2d6ad3a26b6b301

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.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.