Project

General

Profile

Actions

Feature #41061

closed

Add support for --bucket-id in radosgw-admin bucket stats command

Added by Vikhyat Umrao over 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

Add support for `--bucket-id` in `radosgw-admin bucket stats` command. This will help when we know the bucket-id but not the bucket name. We do not have to run grep like this.

# radosgw-admin bucket stats | grep -B8 55c9e095-9d20-4a0f-91ef-35e786611b6f.927354.1
        "bucket": "mybucket1",
        "zonegroup": "e4460222-1aae-4c86-9c70-721cd9c13d86",
        "placement_rule": "default-placement",
        "explicit_placement": {
            "data_pool": "",
            "data_extra_pool": "",
            "index_pool": "" 
        },
        "id": "55c9e095-9d20-4a0f-91ef-35e786611b6f.927354.1",

RHBZ - https://bugzilla.redhat.com/show_bug.cgi?id=1749876


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #45316: nautilus: Add support for --bucket-id in radosgw-admin bucket stats commandResolvedVikhyat UmraoActions
Copied to rgw - Backport #45317: octopus: Add support for --bucket-id in radosgw-admin bucket stats commandResolvedVikhyat UmraoActions
Actions #1

Updated by Vikhyat Umrao over 4 years ago

  • Assignee set to Vikhyat Umrao
Actions #2

Updated by Vikhyat Umrao over 4 years ago

- This feature will help while troubleshooting Large OMAP objects issue because of bucket.instance objects. We can get the bucket id from bucket.instance.

2019-08-20 00:16:26.354331 osd.13 osd.13 192.168.42.218:6804/725336 469 : 
cluster [WRN] Large omap object found. Object: 
272:77fe05db:::.dir.7659bed4-dcd2-4616-95b3-4f7d971c6dd8.2907365.1:head 
Key count: 2401160 Size (bytes): 459802197
Actions #3

Updated by Vikhyat Umrao over 4 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Vikhyat Umrao over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 30024
Actions #5

Updated by Vikhyat Umrao over 4 years ago

  • Backport set to nautilus
Actions #6

Updated by Vikhyat Umrao about 4 years ago

  • Backport changed from nautilus to nautilus, octopus
Actions #7

Updated by Vikhyat Umrao almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #8

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #45316: nautilus: Add support for --bucket-id in radosgw-admin bucket stats command added
Actions #9

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #45317: octopus: Add support for --bucket-id in radosgw-admin bucket stats command added
Actions #10

Updated by Vikhyat Umrao almost 4 years ago

  • Description updated (diff)
Actions #11

Updated by Vikhyat Umrao almost 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF