Merge "Allow start/restart container in Error state"

This commit is contained in:
Jenkins 2017-04-14 10:09:45 +00:00 committed by Gerrit Code Review
commit 481029d180

View File

@ -39,9 +39,9 @@ VALID_STATES = {
'delete': [consts.CREATED, consts.ERROR, consts.STOPPED],
'delete_force': [consts.CREATED, consts.CREATING, consts.ERROR,
consts.RUNNING, consts.STOPPED, consts.UNKNOWN],
'start': [consts.CREATED, consts.STOPPED],
'start': [consts.CREATED, consts.STOPPED, consts.ERROR],
'stop': [consts.RUNNING],
'reboot': [consts.CREATED, consts.RUNNING, consts.STOPPED],
'reboot': [consts.CREATED, consts.RUNNING, consts.STOPPED, consts.ERROR],
'pause': [consts.RUNNING],
'unpause': [consts.PAUSED],
'kill': [consts.RUNNING],