Ask Your Question
0

Invalid: Instance has already been created

asked 2012-09-20 14:43:46 -0500

Hi Folks,

I get this message: Invalid: Instance has already been created

I tried to delete some things in the FS and also removed the database, like descripted here (but fittet to my env)

$rm –f /var/log/libvirt/qemu/instance* $rm –f /etc/libvirt/nwfilter/nova* $rm –f /var/lib/nova/instances/instance-* $rm –f /var/log/libvirt/qemu/inst* $rm -f /etc/libvirt/nwfilter/nova-*

$mysql -u root -p drop database nova;

Then recreate the DB. /Re-create the Nova database CREATE DATABASE nova; GRANT ALL PRIVILEGES ON nova. TO ‘novadbadmin’@'%’ IDENTIFIED BY ‘password’;

Maybe restart for good measure before a resync.

$nova-manage db sync

But nothing changed. Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2012-09-26 07:46:25 -0500

There may have cache in memory, please take graceful way to delete instance. It will sync all the info. In this case you need to restart your nova services.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-09-20 14:43:46 -0500

Seen: 15 times

Last updated: Sep 26 '12