Ask Your Question

Deleted image, cannot boot VM

asked 2014-07-02 00:52:42 -0500

Y Sertdemir gravatar image


I just need to move instance's /var/lib/nova/instances directory to another storage, so I have done it with this way: Shutdown the VM, mount the new volume to /var/lib/nova/instances directory and copy the VM files to here from old storage. The problem is there were deleted images of some of the instances, so they gave me "image not found" error on nova-compute logs. I investigated the issue and found out that _base directory includes old images of VM. I wonder why do the instances needs these files? Secondly, If there are lots of deleted images, how can I evacuate the server to the another host? It will give same error on new host. Lastly, I found that "Members" who are given permission to see specific project cannot see the image name in the instances list in dashboard. It is written "(not found)". When I check the same instances with admin rights, the image name written there. I checked the glance commands and I can list the deleted image ID with "deleted" tag.

My openstack environment is based on Ubuntu 12.04/havana.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-04 02:23:13 -0500

foexle gravatar image


to prevent to mess up deleted instance images you can configure your com nodes ith these parameters:


Yes you can evacuate a host to an other, you should check the CLI command

nova evacuate

Cheers Heiko

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-07-02 00:52:42 -0500

Seen: 611 times

Last updated: Jul 04 '14