Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1884543

Summary: Ceph Dashboard "redirect" mechanism should be disable in a ssl context
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: Ceph-AnsibleAssignee: Francesco Pantano <fpantano>
Status: CLOSED NOTABUG QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: low    
Version: 4.1CC: aschoen, ceph-eng-bugs, dsavinea, gmeno, nthomas, ykaul
Target Milestone: z1   
Target Release: 4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-05 10:11:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1856999    

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: