Bug 1792230 - missing settings to configure the mgr dashboard module binding port/address
Summary: missing settings to configure the mgr dashboard module binding port/address
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: 4.1
Assignee: Francesco Pantano
QA Contact: Nathan Weinberg
URL:
Whiteboard:
Depends On:
Blocks: 1760354 1792233 1806495
TreeView+ depends on / blocked
 
Reported: 2020-01-17 10:38 UTC by Giulio Fidente
Modified: 2023-10-06 19:02 UTC (History)
12 users (show)

Fixed In Version: ceph-ansible-4.0.16-1.el8, ceph-ansible-4.0.16-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-19 17:32:06 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 5054 0 None closed Configure ceph dashboard backend and dashboard_frontend_vip 2021-01-02 09:37:48 UTC
Red Hat Knowledge Base (Solution) 5203971 0 None None None 2020-07-05 12:41:25 UTC
Red Hat Product Errata RHSA-2020:2231 0 None None None 2020-05-19 17:32:51 UTC

Description Giulio Fidente 2020-01-17 10:38:56 UTC
when colocating the mgr dashboard module with other services it is essential to be able to configure the binding ip address because 8443 is frequently in use by ohter services

this is supported in the dashboard module but can't be controlled via ceph-ansible [1]

for deployments where the mgr module is deployed together with openstack, 8443 will be used by haproxy to forward requests correctly to the internal services

1. https://docs.ceph.com/docs/master/mgr/dashboard/#host-name-and-port

Comment 1 Giulio Fidente 2020-01-17 11:09:37 UTC
note that it's necessary to use a different server_addr per instance, hence the best approach is probably to use a key in this format:

  `advanced mgr/dashboard/##hostname##/server_addr`

Comment 2 Ernesto Puerta 2020-01-17 11:43:33 UTC
@Giulio: currently, dashboard supports also localized `server_addr` (that is, cluster-wide setting or per-manager value). In fact, a localized setting (if existing) overrides the cluster-wide one. No need of code changes in dashboard.

Comment 3 Giulio Fidente 2020-01-17 13:48:50 UTC
(In reply to Ernesto Puerta from comment #2)
> @Giulio: currently, dashboard supports also localized `server_addr` (that
> is, cluster-wide setting or per-manager value). In fact, a localized setting
> (if existing) overrides the cluster-wide one. No need of code changes in
> dashboard.

yeah the BZ is for ceph-ansible, to implement support for what is described in comment #1

Comment 16 errata-xmlrpc 2020-05-19 17:32:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:2231


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