Project

General

Profile

Actions

Bug #46667

closed

mgr/dashboard: Handle buckets without a realm_id

Added by Stephan Müller almost 4 years ago. Updated about 3 years ago.

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

0%

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

Description

The dashboard should not fail hard or handle buckets without a set realm_id.

The API fails with something like this:

RGW REST API failed request with status code 400
(b'{
  "Code":"InvalidLocationConstraint",
  "Message":"The specified location-constr' b'aint is not valid",
  "BucketName":"test",
  "RequestId":"tx00000000000000001b64c-' b'005f16b722-137187-my-store",
  "HostId":"137187-my-store-my-store" 
}')

Related issues 1 (0 open1 closed)

Is duplicate of Orchestrator - Bug #44926: dashboard: creating a new bucket causes InvalidLocationConstraintResolved

Actions
Actions

Also available in: Atom PDF