Ask Your Question

how to get instance delete time

asked 2017-07-13 10:12:52 -0500

rojo16 gravatar image

updated 2017-07-14 04:18:17 -0500

How can I get the details of a deleted instance? I want the deleted_at parameter or at least time taken to delete the instance. Trying to do a get of the server details after deletion gives me a "404" error and that's understandable but I was just curious if I can get the parameters.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-14 05:27:38 -0500

Deepa gravatar image

updated 2017-07-14 10:42:41 -0500

Have a look at /var/log/nova.conf file and grep for the instance id.You may get the information

edit flag offensive delete link more


Thank you the answer was useful but Is there no way I can get the delete time from the apis?

rojo16 gravatar imagerojo16 ( 2017-07-17 06:30:19 -0500 )edit

Not sure from api perspective ,from nova logs i think you will be able to figure it out

Deepa gravatar imageDeepa ( 2017-07-17 06:32:18 -0500 )edit

Yes, the logs does provide the time taken to destroy the instance.

rojo16 gravatar imagerojo16 ( 2017-07-17 07:27:31 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-07-13 10:12:52 -0500

Seen: 242 times

Last updated: Jul 14 '17