Project

General

Profile

Feature #48438

mgr/dashboard: Drop invalid RGW client instances, improve logging

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

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
Component - RGW
Target version:
% Done:

0%

Source:
Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:

Description

1. Log which settings are used by the backend to connect to a RGW service. This will make it easier to check this in case of problems.
2. After removing a RGW service the UI will show an incorrect error message

because the backend is caching the instance containing the connection information. Showing a 'RGW REST API failed request ...' is incorrect, the message should be 'No RGW found'.
Dropping the invalid instance will show the correct error message when the backend tries to establish a new connection the next time.

after_rm_rgw.png View (22.4 KB) Volker Theile, 12/02/2020 04:35 PM

History

#2 Updated by Volker Theile almost 3 years ago

  • Description updated (diff)

#3 Updated by Volker Theile almost 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 38406

#4 Updated by Volker Theile almost 3 years ago

  • Subject changed from mgr/dashboard: Drop invalid RGW client instances to mgr/dashboard: Drop invalid RGW client instances, improve logging
  • Description updated (diff)

#5 Updated by Ernesto Puerta over 2 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 143 to Component - RGW

Also available in: Atom PDF