Project

General

Profile

Bug #51154

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

Added by Alfonso Martínez almost 3 years ago. Updated over 2 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
pacific, octopus
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" 
]


Related issues

Copied to Dashboard - Backport #52377: octopus: mgr/dashboard: stats=false not working when listing buckets Resolved
Copied to Dashboard - Backport #52378: pacific: mgr/dashboard: stats=false not working when listing buckets Resolved

History

#1 Updated by Ernesto Puerta almost 3 years ago

  • Status changed from New to Triaged

#2 Updated by Avan Thakkar over 2 years ago

  • Status changed from Triaged to In Progress
  • Assignee changed from Alfonso Martínez to Avan Thakkar
  • Pull request ID set to 42865

#3 Updated by Avan Thakkar over 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Backport changed from pacific to pacific, octopus

#4 Updated by Avan Thakkar over 2 years ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Backport Bot over 2 years ago

  • Copied to Backport #52377: octopus: mgr/dashboard: stats=false not working when listing buckets added

#6 Updated by Backport Bot over 2 years ago

  • Copied to Backport #52378: pacific: mgr/dashboard: stats=false not working when listing buckets added

#7 Updated by Loïc Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF