On SSL enabled overcloud the novnc URL gets configured with http protocol instead of https

Bug #1623607 reported by Juan Antonio Osorio Robles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Juan Antonio Osorio Robles

Bug Description

Description of problem:
On SSL enabled overcloud the novnc URL gets configured with http protocol instead of https:

source ~/stackrc
export THT=/usr/share/openstack-tripleo-heat-templates
openstack overcloud deploy --templates \
-e $THT/environments/network-isolation.yaml \
-e $THT/environments/network-management.yaml \
-e ~/templates/network-environment.yaml \
-e $THT/environments/storage-environment.yaml \
-e ~/templates/disk-layout.yaml \
-e ~/templates/wipe-disk-env.yaml \
-e ~/templates/enable-tls.yaml \
-e ~/templates/inject-trust-anchor.yaml \
-e ~/templates/tls-endpoints-public-ip.yaml \
-e ~/templates/ssl-ports.yaml \
--control-scale 3 \
--control-flavor controller \
--compute-scale 1 \
--compute-flavor compute \
--ceph-storage-scale 1 \
--ceph-storage-flavor ceph \
--ntp-server clock.redhat.com \
--log-file overcloud_deployment.log &> overcloud_install.log

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-5.0.0-0.20160823140311.72404b.1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy SSL enabled overcloud
2. Launch instance
3. nova get-vnc-console st--89-instance-uayoipreamyl-my_instance-igz4chfjp4u4 novnc

Actual results:
+-------+-----------------------------------------------------------------------------------+
| Type | Url |
+-------+-----------------------------------------------------------------------------------+
| novnc | http://172.16.18.25:6080/vnc_auto.html?token=5060af06-5c0f-4267-8203-0f51785c5e1c |
+-------+-----------------------------------------------------------------------------------+

Expected results:
URL is https://172.16.18.25:6080

Additional info:
This is caused by a misconfiguration in /etc/nova/nova.conf on the compute node:

[root@overcloud-novacompute-0 heat-admin]# grep novnc /etc/nova/nova.conf
novncproxy_base_url=http://172.16.18.25:6080/vnc_auto.html

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/370331

Changed in tripleo:
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
status: New → In Progress
Revision history for this message
Steven Hardy (shardy) wrote :

When raising bugs, please can you target them to a milestone, so we can track actually landing them for the release, thanks!

Changed in tripleo:
milestone: none → newton-rc1
Changed in tripleo:
importance: Undecided → Medium
Changed in tripleo:
milestone: newton-rc1 → newton-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/371903

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Juan Antonio Osorio Robles (<email address hidden>) on branch: master
Review: https://review.openstack.org/370331
Reason: This is the good one https://review.openstack.org/#/c/371903/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/371903
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=67ae241b7e7bde5f473e891e13050b92a55ccd5d
Submitter: Jenkins
Branch: master

commit 67ae241b7e7bde5f473e891e13050b92a55ccd5d
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Sat Sep 17 10:34:48 2016 +0300

    Set VNC URL parameters for nova-compute

    These are needed so the computes can advertize the VNC URL correctly.

    Change-Id: Ic3eba9fe929ce396b584249eb84415de09ab1b62
    Closes-Bug: #1623607

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc2

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc2 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.