tripleo-ui should listen on all interfaces

Bug #1652074 reported by Donny Davis
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Expired
Undecided
Unassigned

Bug Description

The Tripleo UI puppet module has the tripleo-ui listen on only the br-ctlplane interface. This is the pxe interface in baremetal deployments may not be accessible from outside the tripleo machine.

https://github.com/openstack/puppet-tripleo/blob/master/manifests/ui.pp

 $bind_host = hiera('controller_host'),

This parameter makes the tripleo-ui listen on only br-ctlplane interface.

Tags: ui
Revision history for this message
Donny Davis (automatikdonn) wrote :

Changing the parameter to

 $bind_address = undef,

resolves this issue

Changed in tripleo:
milestone: none → ocata-3
importance: Undecided → Medium
status: New → Triaged
Julie Pichon (jpichon)
tags: added: ui
Changed in tripleo:
assignee: nobody → Michael Glaser (mikeg451)
Revision history for this message
Dan Trainor (dtrainor) wrote :

Digging in to this a little, I discovered that setting bind_host (reported as bind_address in the bug, but I think what Donny meant was "bind_host") to undef will not work for SSL-enabled Undercloud deployments.

The reason for this is that, when an SSL-enabled Undercloud is used, HAProxy listens on both the undercloud_public_vip (a required parameter for SSL-enabled Underclouds) and controller_admin_vip (which is the same as the ctrlplane address when using non-SSL Underclouds). If bind_host gets set to undef, then Apache attempts to listen on *:3000 which conflicts with the port already allocated by HAProxy, causing Apache startup to fail.

I think the best approach to doing this would be to set ui.pp bind_host to undef, and make haproxy only listen on port 443 per the UI container. This would provide a happy path for both SSL-enabled Underclouds (via $undercloud_public_vip:443) and non-SSL Underclouds (via $undercloud_public_vip or the ctrlplane address).

Revision history for this message
Michael Glaser (mikeg451) wrote :

Haven't had time to work on this, so will unassign myself to allow someone else to work on it.

Changed in tripleo:
assignee: Michael Glaser (mikeg451) → nobody
Changed in tripleo:
milestone: ocata-3 → pike-1
Changed in tripleo:
milestone: pike-1 → pike-2
Changed in tripleo:
milestone: pike-2 → pike-3
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
Emilien Macchi (emilienm) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (FUTURE, PIKE, QUEENS, ROCKY, STEIN).
  Valid example: CONFIRMED FOR: FUTURE

Changed in tripleo:
importance: Medium → Undecided
status: Triaged → Expired
Revision history for this message
Ruslanas Gzibovskis (lpic) wrote :

this is still active :) and reproducible :)

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.