xenapi: kernel/ramdisk not removed on instance termination

Bug #714709 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Salvatore Orlando

Bug Description

When a non-raw image is spawned, its kernel and ramdisk are stored in the /boot/guest directory in dom0's filesystem.
These files should be cleaned up when the instance is terminated.

Kernel and ramdisk files can be found looking up the PV_kernel and PV_ramdisk fields of the VM record.

Tags: xen
Changed in nova:
assignee: nobody → Salvatore Orlando (salvatore-orlando)
Revision history for this message
Jay Pipes (jaypipes) wrote :

Setting to confirmed/low priority since the obvious workaround is manual removal of the old files...

Salvatore, feel free to set status to In Progress if you're working on the fix.

tags: added: xen
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

Fix is in branch attached, and has been already tested.
I will propose for merge once I fix pep8 errors and make sure unit tests pass.

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