Project

General

Profile

Bug #54983

mgr/dashboard: RGW users and buckets tables are empty if the selected gateway is down

Added by Volker Theile almost 2 years ago. Updated almost 2 years ago.

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

0%

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

Description

It seems the Dashboard or backend is storing the previously selected node somewhere to retrieve the data via the RGW AdminOps API. In a cluster with multiple RGW gateway, if the selected gateway is down, no data is visible in the Dashboard users/bucket pages anymore, even if the data could be displayed if the other still active gateway would be selected.
The problem could be solved by letting the user select the still active gateway or switching the previosly selected (and somewhere stored gateway) automatically to the still running gateway.

How to reproduce:

Setup a cluster with multiple nodes and at least 2 RGW gateways. Go to the RGW daemons page, select one of the gateways displayed in the dropdown. Remember the node where the gateway is deployed. Visit users and buckets page to validate all is working.
Now shutdown the node of the previously selected RGW gateway. The users and bucket page will not show any content now. The daemons page shows only one gateway.

Bootup the halted node again, all pages are showing content again. Now shutdown the node of the gateway that is not selected in the dropdown on the daemons page. Visit users and bucket page. All tables are displaying the data correctly.


Related issues

Copied to Dashboard - Backport #55275: quincy: mgr/dashboard: RGW users and buckets tables are empty if the selected gateway is down Resolved
Copied to Dashboard - Backport #55276: pacific: mgr/dashboard: RGW users and buckets tables are empty if the selected gateway is down Resolved

History

#1 Updated by Volker Theile almost 2 years ago

  • Description updated (diff)

#2 Updated by Volker Theile almost 2 years ago

  • Description updated (diff)

#3 Updated by Ernesto Puerta almost 2 years ago

  • Assignee changed from Alfonso Martínez to avan thakkar

#4 Updated by Volker Theile almost 2 years ago

  • Status changed from New to In Progress
  • Assignee changed from avan thakkar to Volker Theile

#5 Updated by Volker Theile almost 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to pacific
  • Pull request ID set to 45584

#6 Updated by Volker Theile almost 2 years ago

  • Backport changed from pacific to pacific, quincy

#7 Updated by Ernesto Puerta almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport

#8 Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55275: quincy: mgr/dashboard: RGW users and buckets tables are empty if the selected gateway is down added

#9 Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55276: pacific: mgr/dashboard: RGW users and buckets tables are empty if the selected gateway is down added

#10 Updated by Ernesto Puerta almost 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF