Bug 1884543 - Ceph Dashboard "redirect" mechanism should be disable in a ssl context
Summary: Ceph Dashboard "redirect" mechanism should be disable in a ssl context
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.1
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: z1
: 4.2
Assignee: Francesco Pantano
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks: 1856999
TreeView+ depends on / blocked
 
Reported: 2020-10-02 09:22 UTC by Francesco Pantano
Modified: 2020-10-05 10:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-05 10:11:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 5894 0 None closed Disable redirect mechanism in a ssl+haproxy context 2021-01-05 10:18:39 UTC

Description Francesco Pantano 2020-10-02 09:22:35 UTC
Description of problem:

When the Ceph dashboard is deployed with ssl and if the dashboard is behind a load-balancing proxy like HAProxy you might want to disable the redirection behaviour to prevent situations that make the dashboard unavailable due to the redirect mechanism enabled in the mgr.
According to the reference guide [1] this should be possible just setting the following config item:

 ceph config set mgr mgr/dashboard/standby_behaviour "error"


[1] https://docs.ceph.com/en/latest/mgr/dashboard/#disable-the-redirection



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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