From 791ba7f4dcd9983d74a81c0b0f6e7007b21968bb Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Thu, 8 Apr 2021 12:14:05 +0200 Subject: [PATCH] M #~: Fix vnc with apache & selinux enabled (#1079) --- src/sunstone/models/sunstone_vnc.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sunstone/models/sunstone_vnc.rb b/src/sunstone/models/sunstone_vnc.rb index 9a83506a5b..d53451da00 100644 --- a/src/sunstone/models/sunstone_vnc.rb +++ b/src/sunstone/models/sunstone_vnc.rb @@ -201,10 +201,6 @@ class SunstoneVNC return error(400, "VNC Proxy is not running") end - if !is_running? - return error(400, "VNC Proxy is not running") - end - if !VNC_STATES.include?(vm_resource['LCM_STATE']) return error(400,"Wrong state (#{vm_resource['LCM_STATE']}) to open a VNC session") end