Project

General

Profile

Actions

Feature #9031

closed

List RADOS namespaces and list all objects in all namespaces

Added by Brian Andrus over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
% Done:

0%

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

Description

We can currently create namespaces, but cannot easily view those that have been created. A method of listing namespaces with the rados utility is desired.


Related issues 4 (0 open4 closed)

Related to Ceph - Feature #5521: Enhance PGLS or new op to list all namespace/objects in a pool.Duplicate07/08/2013

Actions
Related to Ceph - Bug #9438: librados API generated doc brokenResolvedDavid Zafman09/11/2014

Actions
Blocks Ceph - Feature #9262: Additional namespace issuesResolvedDavid Zafman08/27/2014

Actions
Blocks Ceph - Bug #9439: pg_op_must_wait() not checking FILTER variantsResolvedDavid Zafman09/11/2014

Actions
Actions #1

Updated by David Zafman over 9 years ago

  • Subject changed from List RADOS namespaces to List RADOS namespaces and list all objects in all namespaces

A way to implement this is to enhance the pg_ls_repsonse_t to include the namespace (or change object_t to hobject_t). We'd have to provide a wildcard value (e.g. *, ALL) for the namespace to list all object in all namespaces.

A new librados list namespaces operation could run through the pg_ls_response_t for all objects and build a list of unique namespace names. Then a new rados command could be added to list namespaces for a given pool.

We could then easily add the long sought feature of a rados command that lists all objects in a pool in "namespace/objectname" format.

Finally, a printable wildcard value should be an illegal namespace name. Or a non-printable wildcard value would require an additional option to the rados command (e.g. --all, --all-namespaces).

Actions #2

Updated by David Zafman over 9 years ago

  • Status changed from New to 12
  • Assignee set to David Zafman
Actions #3

Updated by Samuel Just over 9 years ago

  • Target version set to 0.88
Actions #4

Updated by David Zafman over 9 years ago

  • Status changed from 12 to Fix Under Review
Actions #5

Updated by Samuel Just over 9 years ago

  • Status changed from Fix Under Review to 7
Actions #6

Updated by Samuel Just over 9 years ago

  • Target version changed from 0.88 to 0.89
Actions #7

Updated by Samuel Just over 9 years ago

  • Target version changed from 0.89 to 0.88
Actions #8

Updated by Samuel Just over 9 years ago

  • Status changed from 7 to Resolved
Actions

Also available in: Atom PDF