Image-cache deleting active swap backing images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Unassigned | ||
Kilo |
Fix Released
|
High
|
Unassigned |
Bug Description
Version: 1:2015.
I am having issues with backing images of disk.swap being deleted from the image cache.
Here is part of the nova-compute log, although multiple instances have disk.swap with swap_256 as the base image, the image cache repeatedly tries to delete it:
2015-05-14 08:08:15.080 4319 INFO nova.virt.
2015-05-14 08:48:46.209 4319 INFO nova.virt.
2015-05-14 09:29:00.814 4319 INFO nova.virt.
2015-05-14 10:09:14.351 4319 INFO nova.virt.
2015-05-14 16:14:21.340 6479 INFO nova.virt.
2015-05-14 16:55:21.195 6479 INFO nova.virt.
2015-05-14 17:36:12.260 6479 INFO nova.virt.
I am NOT using shared storage for the instances directory, it is sitting on the local filesystem, and instances on the same host node are using the swap base file that the image cache is deleting.
As far as I can tell, it is attempting to delete it immediately after the swap image is created. Swap backing images of the form swap_512_512 are not deleted though (as opposed to just swap_512; I couldn't figure out what the difference is).
Reproduce: Create volume with swap disk
Temporary solution: image_cache_
Changed in nova: | |
importance: | Critical → High |
assignee: | Michael Still (mikalstill) → Nikola Đipanov (ndipanov) |
tags: | added: imagecache libvirt volumes |
tags: | added: needs-attention |
tags: |
added: image-cache removed: imagecache |
Changed in nova: | |
status: | Incomplete → Fix Released |
The message says the file is too young to be removed (i.e. hasn't been deleted). Is it actually being removed from disk?