Evacuate fails during rebuild of the VM on the target host with RPC timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when using the 'nova evacuate' to evacuate a VM with no shared storage to a target host the command fails during the rebuild step leaving the VM in the rebuilding state on the target host.
The VM is evacuated from the failed host but fails with RPC timeout error during the rebuild on the target host.
Here are steps to recreate the issue:
1) create a vm on a host
nova boot --flavor m1.small --image my_image test-vm
2) disable the compute host of the VM and stop the nova-compute process on it
3) nova evacuate test-vm target-host
the VM is evacuated from the failed host and starts rebuilding on the target host
5) check test-vm
nova show test-vm
server error 500 with roc timeout and the VM is suck in the rebuilding state on the target host.
tags: | added: compute |
The fault listed on the nova show is
| fault | {u'message': u'Timeout while waiting on RPC response - topic: "network", RPC method: "setup_
| | return function(self, context, *args, **kwargs) |
| | File "/usr/lib/
| | context, instance, self.host) |
| | File "/usr/lib/
| | return func(self, context, *args, **kwargs) |
| | File "/usr/lib/
| | self.network_
| | File "/usr/lib/
| | teardown=teardown) |
| | File "/usr/lib/