RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1161915 - horizon console uses http when horizon is set to use ssl
Summary: horizon console uses http when horizon is set to use ssl
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-nova
Version: Icehouse
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: Juno
Assignee: Eoghan Glynn
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-09 10:38 UTC by Mohammed Arafa
Modified: 2016-05-19 15:56 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:56:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Mohammed Arafa 2014-11-09 10:38:36 UTC
Description of problem:

packstack was configured to set up horizon to use ssl. and it did
but when i came to open the instance's console, it kept telling me the connection was reset.

i then came across this link: https://ask.openstack.org/en/question/6192/horizon-unable-to-view-vnc-console-in-iframe-with-ssl/

and attempted to use plain http to connect to the console and it worked.

https error logs show:
192.168.0.99 - - [09/Nov/2014:05:36:00 -0500] "GET /dashboard/project/instances/?action=row_update&table=instances&obj_id=b80a79ed-6b2c-44f8-b286-a9b1b9c666d7 HTTP/1.1"
 200 1072 "https://192.168.0.250/dashboard/project/instances/" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
192.168.0.99 - - [09/Nov/2014:05:36:04 -0500] "GET /dashboard/project/instances/b80a79ed-6b2c-44f8-b286-a9b1b9c666d7/?tab=instance_details__console HTTP/1.1" 200 3124 "
https://192.168.0.250/dashboard/project/instances/" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"
192.168.0.99 - - [09/Nov/2014:05:36:04 -0500] "GET /dashboard/i18n/js/horizon/ HTTP/1.1" 200 2158 "https://192.168.0.250/dashboard/project/instances/b80a79ed-6b2c-44f8-
b286-a9b1b9c666d7/?tab=instance_details__console" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"

Version-Release number of selected component (if applicable):


How reproducible:
everytime - i have installed openstack 3 times and had this issue every time

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Mohammed Arafa 2014-11-09 12:01:16 UTC
in nova.conf 
novncproxy_base_url is already set to https
#ssl_only=false

####
further testing shows that novnc doesnt actually want to start

Comment 2 Matthias Runge 2014-11-10 07:41:26 UTC
The url for nova vncproxy is returned from nova.

Comment 3 Julie Pichon 2014-11-10 09:05:45 UTC
Bug 1115896 may also be of interest.

Comment 4 Mohammed Arafa 2015-03-15 15:53:09 UTC
hi
shoudl this bug be reported as a security issue? this method of accessing the console will definetly 100% require a username and password

thanks

Comment 5 Mohammed Arafa 2015-04-10 14:07:16 UTC
raising severity to raise awareness

Comment 6 Chandan Kumar 2016-05-19 15:56:43 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.