Project

General

Profile

Actions

Bug #59577

open

sync notifications has object size of zero

Added by Yuval Lifshitz about 1 year ago. Updated about 1 year ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
multisite, notification backport_processed
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

how to reproduce:
run an http POST server on port 10900
run the following commands:

MON=1 OSD=1 MDS=0 MGR=0 ../src/test/rgw/test-rgw-multisite.sh 2
export AWS_ACCESS_KEY_ID=1234567890
export AWS_SECRET_ACCESS_KEY=pencil
aws --region=zg1 --endpoint-url http://localhost:8201 sns create-topic --name=fishtopic --attributes='{"push-endpoint": "http://localhost:10900"}'
aws --region=zg1 --endpoint-url http://localhost:8101 s3 mb s3://fish
aws --region=zg1 --endpoint-url http://localhost:8201 s3api put-bucket-notification-configuration  --bucket fish --notification-configuration='{"TopicConfigurations": [{"Id": "notif1", "TopicArn": "arn:aws:sns:default::fishtopic", "Events": ["s3:ObjectSynced:Create"]}]}'
head -c 512 </dev/urandom > myfile
aws --region=zg1 --endpoint-url http://localhost:8101 s3 cp myfile s3://fish


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #59646: reef: sync notifications has object size of zeroResolvedJane ZhuActions
Actions

Also available in: Atom PDF