Rogue VM that thinks it is running

How do I get rid of a rogue vm? The vm is deleted, and template is gone, but the images still show it being used by one #vms.

IP is still leased, but not pingable. The datastore got removed before the VM was removed.

Where can I change the state of that vm: file or mysql table?

Probably onedb fsck can fix this. How did you end up in that situation?

OMG, nice… That fixed it… Something happen during the federation merge I think…

Thank You!