Ask Your Question
2

How can I get rid of icehouse instance in deleting task state + error status + running power state

asked 2014-08-14 18:22:39 -0500

piosystems gravatar image

Hello,

I have an Icehouse instance stuck in deleting task state, error status and running power state.

I have tried all kinds of nova commands to get rid of it (reset and then delete, force-delete, reset to active and then delete). The instance always ends up in the same anomalous state.

What steps should I take to get rid of it from the database/filesystem? I need to free the resources.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
3

answered 2014-08-15 08:02:26 -0500

capsali gravatar image
source admin-openrc.sh
nova list
nova reset-state [instance id]
nova delete [instance id]

This should work! At least it always worked for me.

edit flag offensive delete link more

Comments

Unfortunately, this did not work for me.

piosystems gravatar imagepiosystems ( 2014-08-16 16:02:12 -0500 )edit

it worked for me. The focus is on reset-state.

sibomarie gravatar imagesibomarie ( 2016-11-03 05:32:02 -0500 )edit
3

answered 2014-08-14 22:36:00 -0500

leethaoqn gravatar image

Let try it !

use nova;
UPDATE instances SET  vm_state='deleted',task_state=NULL,deleted=1,deleted_at=now()  WHERE uuid=' your instance id';
edit flag offensive delete link more

Comments

The instance has been successfully marked as deleted. However, the usage summary as shown on the horizon's Overview dashboard, still shows the instance as holding processor and memory. I need another database update to correct this inconsistency.

piosystems gravatar imagepiosystems ( 2014-08-16 16:09:08 -0500 )edit

please check the service nova-console is running ?

leethaoqn gravatar imageleethaoqn ( 2014-08-18 08:10:12 -0500 )edit

I really wouldn't do this. You now have an inconsistency between your DB and the actual state

sorrison gravatar imagesorrison ( 2014-10-12 23:37:57 -0500 )edit

Kindly let me know if anyone was able to get rid of this issue ? I have similar issue with error+deleting+nostate for my vm's

tkekan gravatar imagetkekan ( 2015-03-31 14:28:46 -0500 )edit

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: 2014-08-14 18:22:39 -0500

Seen: 7,464 times

Last updated: Aug 15 '14