Project

General

Profile

Actions

Bug #48936

closed

mgr/dashboard: Can't enabling the object gateway management frontend with TLS activated on rados-gw

Added by Mathieu Cinquin over 3 years ago. Updated about 2 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

I just configured two rados-gw server on a Ceph cluster (bootstrap with Cephadm) with TLS activated (with beast frontend).
I followed the documentation (https://docs.ceph.com/en/latest/mgr/dashboard/#enabling-the-object-gateway-management-frontend) to enable the object gateway management frontend in the dashboard but there is an HTTP error 500.

The rados-gw API is available with TLS.
The object gateway management frontend is fully operational in the dashboard when i don't use TLS.

Environment

  • ceph version string: ceph version 15.2.8 (bdf3eebcd22d7d0b3dd4d5501bee5bac354d5b55) octopus (stable)
  • Platform (OS/distro/release): Ubuntu 18.04
  • Cluster details (nodes, monitors, OSDs):
      cluster:
        id:     66b206d4-5a3d-11eb-a142-42010a230037
        health: HEALTH_OK
    
      services:
        mon: 3 daemons, quorum ceph-mon-01-sandbox,ceph-mon-02-sandbox,ceph-mon-03-sandbox (age 7h)
        mgr: ceph-mon-01-sandbox.hoohqn(active, since 7h), standbys: ceph-mon-03-sandbox.ipwcpn, ceph-mon-02-sandbox.aegzwe
        osd: 2 osds: 2 up (since 7h), 2 in (since 27h)
        rgw: 2 daemons active (default.sandbox-europe-west1.ceph-osd-01-sandbox.cendgp, default.sandbox-europe-west1.ceph-osd-02-sandbox.sgxsbb)
    
      task status:
    
      data:
        pools:   6 pools, 137 pgs
        objects: 207 objects, 7.8 KiB
        usage:   2.0 GiB used, 58 GiB / 60 GiB avail
        pgs:     137 active+clean
    
    
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)): Version 1.19.86 Chromium: 88.0.4324.96 (Build officiel) (64 bits)

How reproducible

Activate TLS on rados-gw => https://greenstatic.dev/posts/2020/ssl-tls-rgw-ceph-config/
Enable the object gateway management frontend => https://docs.ceph.com/en/latest/mgr/dashboard/#enabling-the-object-gateway-management-frontend

Actual results

Page 404 error

ceph-mgr logs:

2021-01-19T14:39:03.240+0000 7f74b978b700  0 [dashboard ERROR request] [::ffff:10.230.255.8:40770] [GET] [500] [0.031s] [admin] [513.0B] /api/rgw/status
2021-01-19T14:39:03.240+0000 7f74b978b700  0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "b8541ac7-87ee-4511-8653-f2c84ceef1aa"} 

Expected results

Object Gateway section available in the dashboard

Additional info

Actions

Also available in: Atom PDF