why cannot i delete an instance when it is in deleting state?

asked 2015-07-10 00:40:49 -0600

liyahua gravatar image

Is this a bug ? I have seen this kind of trouble serverl times , last time , I delete one compute node and delete the zombie instance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-10 01:45:03 -0600

updated 2015-07-10 01:46:07 -0600

If it is in deleting state, that's because it already has been 'deleted' once, so maybe what you want is :

$ nova help force-delete usage: nova force-delete <server>

Force delete a server.

Positional arguments: <server> Name or ID of server.

But it does not always work as you would like. And if it stays in deleting state, it's probably time to have a look in the log files.

edit flag offensive delete link more

Comments

It has stayed in deleting state for about one week, I just cannot delete it . Because it is in deleting state.

liyahua gravatar imageliyahua ( 2015-07-10 02:15:19 -0600 )edit

If force-delete does not work for you, I think you'll have to go to the compute node and have a look in the log file (/var/log/nova/nova-compute.log) to see if there's something wrong happening.

vincent-legoll gravatar imagevincent-legoll ( 2015-07-10 03:37:24 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-10 00:40:49 -0600

Seen: 5,181 times

Last updated: Jul 10 '15