2021年4月27日星期二

openstack instance vm_state stuck in powering off, how reset it to None

An instance execute shutdown in operation system, and the power_state is Shutdown, but the vm_state is active without shutdown the instance through API, and Why the task_state is always powering-off, event never execute other operation by API.

Maybe the compute node memory is not enough at that time, and this instance was been killing, but now the compute node memory is satisfy.

How can I set the task_state to None without change the database info?

openstack server show    | OS-EXT-STS:power_state              | Shutdown         |   | OS-EXT-STS:task_state               | powering-off     |   | OS-EXT-STS:vm_state                 | active           |       openstack server reboot --hard    Cannot 'reboot' instance instance-ID while it is in task_state powering-off (HTTP 409) (Request-ID: reqest-ID)  

openstack server set --property OS-EXT-STS:task_state=None instance not work, the openstack server show output not change.

https://stackoverflow.com/questions/67284824/openstack-instance-vm-state-stuck-in-powering-off-how-reset-it-to-none April 27, 2021 at 10:13PM

没有评论:

发表评论