evacuate a vm when it is evacuating will cause vm error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
efineshi |
Bug Description
Description
===========
if we evacuate a vm agent when if is still evacuating, it will leads the vm be many unexpect errors.
so, wo don't allow the vm to be evacuated when it is in rebuilding state before Train version, but this patch makes it allowed.
https:/
Steps to reproduce
==================
1. create a vm
2. down the host compute node
3. evacuate the vm last twice
openstack server evacuate XXXXX
openstack server evacuate XXXX
Expected result
===============
it should be not allowed to evacuate twice.
Actual result
=============
the 2nd evacuate are allowed and the vm will be error, if the vm is created in the other node, but not
evacuate completed, it will be evacuate again, and leads to many errors, such as double alive, or if it
is schedued to the same node, it will be error and can't be evacuate as the vm or vm files exsit.
Environment
===========
openstack wallaby / master
Changed in nova: | |
assignee: | nobody → efineshi (efineshi) |
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /898200
Review: https:/