weizhouapache commented on a change in pull request #3640: consoleproxy: Enable
console for vms in Stopping/Migrating state
URL: https://github.com/apache/cloudstack/pull/3640#discussion_r351713089
##########
File path:
server/src/main/java/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
##########
@@ -401,9 +401,10 @@ public ConsoleProxyVO doAssignProxy(long dataCenterId,
long vmId) {
return null;
}
- if (vm != null && vm.getState() != State.Starting && vm.getState() !=
State.Running) {
+ if (vm != null && vm.getState() != State.Starting && vm.getState() !=
State.Running
+ && vm.getState() != State.Stopping && vm.getState() !=
State.Migrating) {
Review comment:
@DaanHoogland not very much , only 4 :-)
will pay attention in the future.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services