VNF in PENDING_SCALE_* status can't be deleted.
when VNF scale process is interrupted by some reasons, it stays in PENDING_SCALE_IN or PENDING_SCALE_OUT status, we cannot find it from db with _ACTIVE_UPDATE_ERROR_DEAD status. Close-Bug: #1777568 Change-Id: I0a97c10b4392c288da8ca2e8509f6d568d8df835
This commit is contained in:
parent
5e0335c007
commit
6f4ed11ff5
@ -43,7 +43,8 @@ LOG = logging.getLogger(__name__)
|
||||
_ACTIVE_UPDATE = (constants.ACTIVE, constants.PENDING_UPDATE)
|
||||
_ACTIVE_UPDATE_ERROR_DEAD = (
|
||||
constants.PENDING_CREATE, constants.ACTIVE, constants.PENDING_UPDATE,
|
||||
constants.ERROR, constants.DEAD)
|
||||
constants.PENDING_SCALE_IN, constants.PENDING_SCALE_OUT, constants.ERROR,
|
||||
constants.DEAD)
|
||||
CREATE_STATES = (constants.PENDING_CREATE, constants.DEAD)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user