Project

General

Profile

Actions

Bug #43536

closed

[pubsub] remove deprecated radogw-admin pubsub creation commands

Added by David Piper over 4 years ago. Updated over 1 year ago.

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

100%

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

Description

Testing pubsub on v14.2.2 in a containerized deployment ( ceph/daemon:v4.0.3-stable-4.0-nautilus-centos-7 )

Pubsub forces me to specify a RGW user, but allows me to create a topic for an unknown uid:

$ sudo docker exec ceph-mon-newwalesa_0 radosgw-admin user list
[
"zone.user"
]

$ sudo docker exec ceph-mon-newwalesa_0 radosgw-admin pubsub topic create --topic footopic --rgw-zone siteA-pubsub
ERROR: user id was not provided (via --uid)
$ sudo docker exec ceph-mon-newwalesa_0 radosgw-admin pubsub topic create --topic footopic --rgw-zone siteA-pubsub --uid foo

This topic appears for all non-existent users:

$ sudo docker exec ceph-mon-newwalesa_0 radosgw-admin pubsub topics list --rgw-zone siteA-pubsub --uid foo {
"topics": [ {
"topic": {
"user": "",
"name": "footopic"
},
"subs": []
}
]
}
$ sudo docker exec ceph-mon-newwalesa_0 radosgw-admin pubsub topics list --rgw-zone siteA-pubsub --uid bar {
"topics": [ {
"topic": {
"user": "",
"name": "footopic"
},
"subs": []
}
]
}

I can get into a similar state by creating a topic for an existing user, and then deleting the user.


Subtasks 1 (0 open1 closed)

Bug #45794: [pubsub] remove hardcoded "pubsub" user from confWon't Fix

Actions
Actions

Also available in: Atom PDF