Ask Your Question
0

devstack instance gets stuck in unshelving mode

asked 2020-01-09 17:29:30 -0600

phil111 gravatar image

Is there a way to get the instance out of the unshelding state if it gets stuck there for more than a day without completely deleting it?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-01-12 14:34:03 -0600

phil111 gravatar image

$ nova unshelve S3-1 ERROR (Conflict): Cannot 'unshelve' instance 6149b9cb-6211-4ee9-8ad0-fc4d55b90d48 while it is in task_state unshelving (HTTP 409) (Request-ID: req-12e3c077-18b1-4fe2-bc18-8ead9a3593f5). i do not want to delete it because it is a snapshot image for other instances. I just wanted to find a solution of re-instating it back to active status

edit flag offensive delete link more

Comments

did you try resetting its state to active using nova reset-state --active command?

Syed Awais Ali gravatar imageSyed Awais Ali ( 2020-01-13 02:52:22 -0600 )edit
0

answered 2020-01-12 02:52:55 -0600

updated 2020-01-12 02:53:38 -0600

If its stuck in unshelving mode, there are several methods that you can try to get rid of that server/instance.

  • You can try sourcing the credentials file for devstack and then try running the command nova unshelve SERVERNAME
  • Try force deleting it using nova force-delete command (nova force-delete SERVERNAME), for more logs see (/var/log/nova/nova-compute.log) or in case of devstack the logs are running in screens and you can jump off to a particular screen to see the logs of a service.
  • One more thing you can try is trying resetting the state of the server to active and then deleting it, described below

nova reset-state --active Name-or-ID-of-server

nova delete Name-or-ID-of-server

  • The last resort will be to just clean it up from the database and also clean up all the references related to it.

Let me know if anything does not work out for you and we can further look into this, but I hope this will help !!

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: 2020-01-09 17:29:30 -0600

Seen: 70 times

Last updated: Jan 12