Deleted instance still appearing in logs.

Asked by Jake Warner

I deleted an instance a few days ago, which happened without any errors, but now when I view /var/log/nova/compute.log, I see:

2013-05-24 13:42:14.164 20972 ERROR nova.compute.manager [-] Instance 1cb4f7b3-de96-42ff-a395-26d97c26dc53 found in the hypervisor, but not in the database
2013-05-24 13:42:21.513 20972 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000001: [Errno 2] No such file or directory: '/var/lib/nova/instances/1cb4f7b3-de96-42ff-a395-26d97c26dc53/disk'

/var/lib/nova/instances/1cb4f7b3-de96-42ff-a395-26d97c26dc53 doesn't exist and "ps aux|grep kvm" yields nothing about this specific vm.

I've restarted the compute service on the compute node and conductor on the controller which didn't help any.

Does anyone have any ideas how I can clean this up?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Patrick Vinas
Solved:
Last query:
Last reply:
Revision history for this message
Best Patrick Vinas (patrickvinas) said :
#1

If you do:

virsh list --all

does it list instance-00000001? If so, you can:

virsh undefine instance-00000001

to remove it.

Revision history for this message
Jake Warner (6-jake) said :
#2

Thanks Patrick Vinas, that solved my question.

Revision history for this message
rainmeter (huangxufu) said :
#3

this is really working ~~~