mirror of https://github.com/apache/cloudstack.git
CloudStack CS-15244
Not able to put the host in maintenance mode when one of the host in the cluster has host tag and the other host does not have a host tag. We are also not able to cancel the Maintenance mode. fixed reviewed-by: edison
This commit is contained in:
parent
fc82d5fd64
commit
9e4bfca027
|
|
@ -109,6 +109,8 @@ public enum ResourceState {
|
|||
s_fsm.addTransition(ResourceState.ErrorInMaintenance, Event.Disable, ResourceState.Disabled);
|
||||
s_fsm.addTransition(ResourceState.ErrorInMaintenance, Event.DeleteHost, ResourceState.Disabled);
|
||||
s_fsm.addTransition(ResourceState.ErrorInMaintenance, Event.InternalEnterMaintenance, ResourceState.Maintenance);
|
||||
s_fsm.addTransition(ResourceState.ErrorInMaintenance, Event.UnableToMigrate, ResourceState.ErrorInMaintenance);
|
||||
s_fsm.addTransition(ResourceState.ErrorInMaintenance, Event.AdminCancelMaintenance, ResourceState.Enabled);
|
||||
s_fsm.addTransition(ResourceState.Error, Event.InternalCreated, ResourceState.Error);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue