Update instance state after compute service died for rebuilded instance
When nova-compute died unexpectedly or rpc message lost unexpectly
and an rebuild operation is ongoing, the instance will be in REBUILD
state forever after the nova-compute service restarts.
Only if admin take actions such as reset its state.
Like what we did for build instance (general spawn)
operation, the instance might not be used so it need to be set to ERROR
state after compute service restarts.
Reviewed: https:/ /review. openstack. org/86219 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2bc0877d3cb e5e6ed9bad0907f 61011014b75a2d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2bc0877d3cbe5e6 ed9bad0907f6101 1014b75a2d
Author: jichenjc <email address hidden>
Date: Fri Mar 28 04:22:26 2014 +0800
Update instance state after compute service died for rebuilded instance
When nova-compute died unexpectedly or rpc message lost unexpectly
and an rebuild operation is ongoing, the instance will be in REBUILD
state forever after the nova-compute service restarts.
Only if admin take actions such as reset its state.
Like what we did for build instance (general spawn)
operation, the instance might not be used so it need to be set to ERROR
state after compute service restarts.
Change-Id: I37748edb3ca050 1b6f2fb41fbd75b 7b8aa00d59c
Closes-Bug: #1304184