Commit dfaf89a8 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

deploy: workaround for java console Issue

Java VncViewer class has an issue with self-signed certificates.
With existing deployment it does not work if UI_MEDIA_URL uses
FQDN. Use the node's IP instead.

NOTE: In a linux (Debian) client add the following in
.java/deployment/deployment.properties:

deployment.security.level=MEDIUM

which will prompt to allow execution of the applet.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent ae7c3ea6
......@@ -88,3 +88,7 @@ CYCLADES_VNCAUTHPROXY_OPTS = {
}
CYCLADES_STATS_SECRET_KEY = "random"
# IP and not fqdn because java VncViewer class used for machine's console
# has an issue with self-signed certificates
UI_MEDIA_URL = "https://%CYCLADES_NODE_IP%/static/ui/static/snf/"
......@@ -1162,6 +1162,7 @@ def setup_cyclades():
"domain": env.env.domain,
"CYCLADES_SERVICE_TOKEN": service_token,
'STATS': env.env.stats.fqdn,
'CYCLADES_NODE_IP': env.env.cyclades.ip,
}
custom = customize_settings_from_tmpl(tmpl, replace)
try_put(custom, tmpl, mode=0644)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment