Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: Add check on host's status while deleting config drive on hos…
…t cache (apache#7584) This PR adds a check on host's status. Without this if the agent is not in Up or Connecting state, expunging of a VM fails. Steps to reproduce: - Enable vm.configdrive.force.host.cache.use in Global Configuration. - Create a L2 network with config drive - Deploy a vm with the L2 network created in previous step - Stop the vm and destroy vm (not expunge it) - Stop the cloudstack-agent on the VM's host - Expunge the vm Fixes: apache#7428 (cherry picked from commit 0acc66f) Signed-off-by: Rohit Yadav <[email protected]>
- Loading branch information