Project

General

Profile

Actions

Bug #64124

closed

diff users in the tenant, create the same name topic, rgw topic is covered

Added by zhipeng li 4 months ago. Updated 3 months ago.

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

0%

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

Description

[root@node106 ~]# cat .aws/credentials
[default]
aws_access_key_id = key11
aws_secret_access_key = sec11
[root@node106 ~]# aws --endpoint-url http://192.168.56.106:8009 sns create-topic --name=mytopic1 --attributes='{"push-endpoint": "kafka://node5:9092"}' {
"TopicArn": "arn:aws:sns:default:beijing:mytopic1"
}
[root@node106 ~]# radosgw-admin topic list --topic=mytopic1 --tenant=beijing {
"topics": [ {
"user": "beijing",
"name": "mytopic1",
"dest": {
"push_endpoint": "kafka://node5:9092",
"push_endpoint_args": "Version=2010-03-31&push-endpoint=kafka://node5:9092",
"push_endpoint_topic": "mytopic1",
"stored_secret": false,
"persistent": false
},
"arn": "arn:aws:sns:default:beijing:mytopic1",
"opaqueData": ""
}
]
}
[root@node106 ~]# vi .aws/credentials
[root@node106 ~]# cat .aws/credentials
[default]
aws_access_key_id = key44
aws_secret_access_key = sec44
[root@node106 ~]# aws --endpoint-url http://192.168.56.106:8009 sns create-topic --name=mytopic1 --attributes='{"push-endpoint": "kafka://node6:9092"}' {
"TopicArn": "arn:aws:sns:default:beijing:mytopic1"
}
[root@node106 ~]# radosgw-admin topic list --topic=mytopic1 --tenant=beijing {
"topics": [ {
"user": "beijing",
"name": "mytopic1",
"dest": {
"push_endpoint": "kafka://node6:9092",
"push_endpoint_args": "Version=2010-03-31&push-endpoint=kafka://node6:9092",
"push_endpoint_topic": "mytopic1",
"stored_secret": false,
"persistent": false
},
"arn": "arn:aws:sns:default:beijing:mytopic1",
"opaqueData": ""
}
]
}

Actions

Also available in: Atom PDF