Project

General

Profile

Bug #51154

mgr/dashboard: stats=false not working when listing buckets

Added by Alfonso Martínez 10 days ago. Updated 2 days ago.

Status:
Triaged
Priority:
Low
Category:
Component - RGW
Target version:
% Done:

0%

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

Description

curl -X 'GET' \
'https://localhost:11000/api/rgw/bucket?stats=false' \
-H 'accept: application/vnd.ceph.api.v1.0+json'

RESULT:

[
  {
    "bucket": "testbk",
    "num_shards": 11,
    "tenant": "",
    "zonegroup": "e2d223ff-4aeb-413e-8ed7-113a006e5d4e",
    "placement_rule": "default-placement",
    "explicit_placement": {
      "data_pool": "",
      "data_extra_pool": "",
      "index_pool": "" 
    },
    "id": "e4364b4d-0212-4620-b322-9d517131793c.4383.1",
    "marker": "e4364b4d-0212-4620-b322-9d517131793c.4383.1",
    "index_type": "Normal",
    "owner": "dev",
    "ver": "0#1,1#1,2#1,3#1,4#1,5#1,6#1,7#1,8#1,9#1,10#1",
    "master_ver": "0#0,1#0,2#0,3#0,4#0,5#0,6#0,7#0,8#0,9#0,10#0",
    "mtime": "0.000000",
    "creation_time": "2021-06-09T10:10:48.400983Z",
    "max_marker": "0#,1#,2#,3#,4#,5#,6#,7#,8#,9#,10#",
    "usage": {},
    "bucket_quota": {
      "enabled": false,
      "check_on_raw": false,
      "max_size": -1,
      "max_size_kb": 0,
      "max_objects": -1
    },
    "bid": "testbk" 
  }
]

EXPECTED:

[
  "testbk" 
]

History

#1 Updated by Ernesto Puerta 2 days ago

  • Status changed from New to Triaged

Also available in: Atom PDF