Bug 1102660
Summary: | Instance console does not work via Horizon instance console tab | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Nir Magnezi <nmagnezi> |
Component: | python-django-horizon | Assignee: | Julie Pichon <jpichon> |
Status: | CLOSED CANTFIX | QA Contact: | Ami Jeain <ajeain> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.0 (RHEL 7) | CC: | aortega, athomas, iovadia, jpichon, mrunge, yeylon |
Target Milestone: | --- | ||
Target Release: | 5.0 (RHEL 7) | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-03 09:56:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nir Magnezi
2014-05-29 12:07:11 UTC
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! |