Bug 1894023 - dashboard_protocol should always be set when Ceph dashboard is enabled
Summary: dashboard_protocol should always be set when Ceph dashboard is enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 16.1 (Train on RHEL 8.2)
Assignee: Francesco Pantano
QA Contact: Alfredo
URL:
Whiteboard:
: 1940021 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-03 11:05 UTC by Francesco Pantano
Modified: 2021-04-12 07:32 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20201114031844.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-17 15:33:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 761110 0 None MERGED Always set dashboard_protocol when Ceph Dashboard is enabled 2021-02-15 11:05:53 UTC
OpenStack gerrit 761779 0 None MERGED Always set dashboard_protocol when Ceph Dashboard is enabled 2021-02-15 11:05:53 UTC
OpenStack gerrit 761780 0 None MERGED Always set dashboard_protocol when Ceph Dashboard is enabled 2021-02-15 11:05:53 UTC
OpenStack gerrit 761781 0 None MERGED Always set dashboard_protocol when Ceph Dashboard is enabled 2021-02-15 11:05:52 UTC
Red Hat Product Errata RHBA-2021:0817 0 None None None 2021-03-17 15:35:27 UTC

Description Francesco Pantano 2020-11-03 11:05:03 UTC
Description of problem:

When the Ceph dashboard is enabled, ceph-ansible is going to set dashboard_protocol: 'https' by default.
In OpenStack, https is enabled only if tls-everywhere templates are provided. For this reason, dashboard_protocol: 'http' should be enforced to prevent issues when ceph-ansible is triggered.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 8 Yogev Rabl 2021-01-16 01:28:41 UTC
Verified on openstack-tripleo-heat-templates-11.3.2-2.20201222000634.a1cb1e7.el8ost.1.noarch

result:
-------
$ sudo cat /var/lib/mistral/overcloud/ceph-ansible/group_vars/mgrs.yml 
ceph_mgr_docker_extra_env: -e MGR_DASHBOARD=0
dashboard_admin_user: admin
dashboard_admin_user_ro: true
dashboard_port: 8444
dashboard_protocol: http
dashboard_rgw_api_host: 172.17.3.135
dashboard_rgw_api_no_ssl_verify: false
dashboard_rgw_api_port: '8080'
dashboard_rgw_api_scheme: http

Comment 16 errata-xmlrpc 2021-03-17 15:33:21 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 (Red Hat OpenStack Platform 16.1.4 director bug fix 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/RHBA-2021:0817

Comment 17 Francesco Pantano 2021-04-12 07:32:37 UTC
*** Bug 1940021 has been marked as a duplicate of this bug. ***


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