Project

General

Profile

Actions

Feature #53662

open

rgw: radosgw-admin can list and remove bucket notification topics; it must also be able to create them

Added by Matt Benjamin over 2 years ago. Updated 6 days ago.

Status:
Need More Info
Priority:
Normal
Target version:
-
% Done:

0%

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

Description

I don't know why were permitted this feature to merge with no easy and no fully documented way to create and use notifications.

1) the cli interface permits to list and remove topics, but not create them; I don't consider this reasonable, and the lack of symmetry is compounded by the fact that there is no worked example in the doc for creating a topic using an api either;
2) my recollection is that you can't use the boto3 client to create notifications without monkey patching; If I'm remembering right, this is fine--but it must be documented and examples provided; if we want to use other client SDKs for examples (e.g., golang) that's fine too.

Actions #1

Updated by Casey Bodley over 2 years ago

  • Status changed from New to Need More Info

i seem to remember that Yuval wanted to deprecate the radosgw-admin stuff, since it was for the pubsub sync module. can you confirm, Yuval?

Actions #2

Updated by Matt Benjamin over 2 years ago

  • Priority changed from Urgent to Normal
Actions #3

Updated by Yuval Lifshitz over 1 year ago

  • Status changed from Need More Info to New

topic creation is part of notifications (not pubsub). so this is still relevant.
however, topics can be created using the aws cli (it is part of the AWS SNS service). so configuration should be easy using standard tooling.
see example: https://github.com/ceph/ceph/tree/main/examples/boto3#aws-cli

Actions #4

Updated by Yuval Lifshitz over 1 year ago

  • Tracker changed from Bug to Feature
  • Subject changed from rgw: radosgw-admin can list and remove bucket notification topics; it must also be able to create them to rgw: radosgw-admin can list and remove bucket notification topics; it must also be able to create them
Actions #5

Updated by Yuval Lifshitz over 1 year ago

  • Tags set to notifications
Actions #6

Updated by Casey Bodley 8 days ago

  • Status changed from New to Need More Info
  • Backport deleted (pacific)

trying to scrub some old feature requests. is there still interest in this?

in general, i don't think radosgw-admin needs to contain all functionality in rgw. for example, radosgw-admin can list and remove buckets, but can't create them

Actions #7

Updated by Yuval Lifshitz 6 days ago

agree we should close.
  • topic creation by an admin will mess up the topic ownership logic
  • we can create notifications using standard SDKs (if we are not using our extension)
Actions

Also available in: Atom PDF