rohityadavcloud commented on code in PR #6919:
URL: https://github.com/apache/cloudstack/pull/6919#discussion_r1033463834
##########
server/src/main/java/org/apache/cloudstack/consoleproxy/ConsoleAccessManagerImpl.java:
##########
@@ -207,15 +199,22 @@ private ConsoleEndpoint generateAccessEndpoint(Long vmId,
String sessionUuid, St
throw new CloudRuntimeException(msg);
}
+ String vmUuid = vm.getUuid();
+ if (vm.getState() != VirtualMachine.State.Running) {
Review Comment:
https://github.com/apache/cloudstack/blob/main/ui/src/components/widgets/Console.vue#L22
we show the console when VM state is not in error, destroyed or stopped ?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]