Project

General

Profile

Actions

Bug #20568

closed

the dashboard uses absolute links for filesystems and clients

Added by Vladimir Pouzanov almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

If ceph dashboard is accessed under a subpath (e.g. via kubernetes proxy), then some links are being rewritten correctly, but some are not.

Given ceph dashboard is served from `http://127.0.0.1:8001/api/v1/namespaces/ceph/services/ceph-mgr/proxy/health`,

cluster health points to: http://127.0.0.1:8001/api/v1/namespaces/ceph/services/ceph-mgr/proxy/health
servers points to http://127.0.0.1:8001/api/v1/namespaces/ceph/services/ceph-mgr/proxy/servers
but cephfs filesystem link points to http://127.0.0.1:8001/filesystem/1/ (incorrect absolute link)

within the filesystems page, client details points to http://127.0.0.1:8001/clients/1/ (incorrect absolute link)


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #21549: luminous: the dashboard uses absolute links for filesystems and clientsResolvedShinobu KinjoActions
Actions #1

Updated by John Spray over 6 years ago

The ones that aren't being rewritten are the ones that are populated dynamically (i.e. 'url' attributes of JSON objects coming from the backend). I suspect to make this work we'd need to make the module itself aware of it's prefix (which shouldn't be hard)

Actions #2

Updated by John Spray over 6 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by John Spray over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to luminous
Actions #4

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21549: luminous: the dashboard uses absolute links for filesystems and clients added
Actions #5

Updated by Kefu Chai over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF