Description of problem: ======================= Instance console does not work via Horizon instance console tab. Version-Release number of selected component (if applicable): ============================================================= python-django-horizon-2014.1-6.el6ost.noarch openstack-dashboard-2014.1-6.el6ost.noarch openstack-dashboard-theme-2014.1-6.el6ost.noarch How reproducible: ================= 100% Tested both with RHEL6 and RHEL7 Steps to Reproduce: =================== 1. Install OpenStack via openstack-packstack-2014.1.1-0.13.dev1068 2. Browse to: https://<FQDN>/dashboard/project/instances/<INSTANCE_UUID>/ Actual results: =============== The following text (the actual console is absent): If console is not responding to keyboard input: click the grey status bar below. Click here to show only console To exit the fullscreen mode, click the browser's back button. Expected results: ================= Instance console should work OK. Additional info: ================ You may click the "Click here to show only console" and than the console works OK.
Confirmed. Workaround is to click 'Click here to show only console' link.
Could you confirm a couple of things like: 1. Which browser(s) are you seeing this behaviour with? 2. Is nova-vnc set up to work with SSL as well? Some browsers will block http content from being displayed within a https page. If there's any error message in the console logs for the browser, feel free to include it as well, thank you. I'll check in my RHOS environment tomorrow as well.
Using python-django-horizon-2014.1-6.el7ost and Firefox (29.0.1) and Chrome (35.0), the console is displayed correctly in the tab for me. However both my dashboard and novnc are running using http. Could you answer the two questions in comment 3? Thank you.
(In reply to Julie Pichon from comment #3) > Could you confirm a couple of things like: > > 1. Which browser(s) are you seeing this behaviour with? Firefox 29.0.1 > 2. Is nova-vnc set up to work with SSL as well? Some browsers will block > http content from being displayed within a https page. Yes. > > If there's any error message in the console logs for the browser, feel free > to include it as well, thank you. I'll check in my RHOS environment tomorrow > as well. Sorry that setup is not live anymore, but I did search for clues in the logs and did not find any.
Hi Nir, (In reply to Nir Magnezi from comment #5) > (In reply to Julie Pichon from comment #3) > > 2. Is nova-vnc set up to work with SSL as well? Some browsers will block > > http content from being displayed within a https page. > > Yes. Could you or someone who can reproduce the problem provide the output of `nova get-vnc-console <server_id> novnc`? When I set CONFIG_HORIZON_SSL=y in Packstack only Horizon gets set up with SSL, novnc doesn't. I can reproduce the problem only if I leave the system like this (Horizon on SSL, novnc without). However once I set up Nova to provide the VNC console with SSL (updating the baseurl etc in /etc/nova/nova.conf), it gets displayed correctly in Horizon. At this point I'm fairly confident this is a configuration issue due to browsers not allowing displaying http content within https pages and not something that can be resolved from the Horizon side...
Ido, since you are already looking into it, can you please check?
(In reply to Julie Pichon from comment #6) > Hi Nir, > > (In reply to Nir Magnezi from comment #5) > > (In reply to Julie Pichon from comment #3) > > > 2. Is nova-vnc set up to work with SSL as well? Some browsers will block > > > http content from being displayed within a https page. > > > > Yes. > > Could you or someone who can reproduce the problem provide the output of > `nova get-vnc-console <server_id> novnc`? > > When I set CONFIG_HORIZON_SSL=y in Packstack only Horizon gets set up with > SSL, novnc doesn't. I can reproduce the problem only if I leave the system > like this (Horizon on SSL, novnc without). However once I set up Nova to > provide the VNC console with SSL (updating the baseurl etc in > /etc/nova/nova.conf), it gets displayed correctly in Horizon. > > At this point I'm fairly confident this is a configuration issue due to > browsers not allowing displaying http content within https pages and not > something that can be resolved from the Horizon side... +-------+------------------------------------------------------------------------------------+ | Type | Url | +-------+------------------------------------------------------------------------------------+ | novnc | http://10.35.160.115:6080/vnc_auto.html?token=2c4c7e40-b04e-42df-a27d-25d8e04a7e4b | +-------+------------------------------------------------------------------------------------+
Thanks for the data, this is a configuration issue. Novnc should also be configured to run with https. I'm not sure if this bug should be closed as not a bug or moved to the installer that was used to create this setup?
I opened bug 1115896 against packstack to track this. Thanks!