You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/05/10 14:38:27 UTC

[GitHub] [cloudstack] DaanHoogland commented on a change in pull request #5010: SystemVM: Set agent state to disconnected on Stopping the systemVM

DaanHoogland commented on a change in pull request #5010:
URL: https://github.com/apache/cloudstack/pull/5010#discussion_r629416299



##########
File path: api/src/main/java/com/cloud/host/Status.java
##########
@@ -131,6 +131,7 @@ public Status getNextStatus(Event e) throws NoTransitionException {
         s_fsm.addTransition(Status.Up, Event.PingTimeout, Status.Alert);
         s_fsm.addTransition(Status.Up, Event.AgentDisconnected, Status.Alert);
         s_fsm.addTransition(Status.Up, Event.ShutdownRequested, Status.Disconnected);
+        s_fsm.addTransition(Status.Disconnected, Event.ShutdownRequested, Status.Disconnected);

Review comment:
       do we need a transition from disconnected to disconnected?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org