Project

General

Profile

Bug #52044

Bucket sync policy core dumped

Added by Ist Gab over 2 years ago. Updated about 1 year ago.

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

100%

Source:
Tags:
multisite,rgw,sync backport_processed
Backport:
octopus pacific quincy
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hello,

Tried to follow as from one of the redhat enginner suggested to create the multisite flow based on the document and it core-dumped with:

WARNING: cannot find source zone id for name=*
WARNING: cannot find source zone id for name=*

Steps how it was created:

radosgw-admin sync group create --group-id=general-symmetrical-hkg-sin-sync-group --status=allowed radosgw-admin sync group flow create --group-id=general-symmetrical-hkg-sin-sync-group --flow-id=general-symmetrical-hkg-sin-sync-group-flow --flow-type=symmetrical --zones=hkg,sin radosgw-admin sync group pipe create --group-id=general-symmetrical-hkg-sin-sync-group --pipe-id=symmetrical-hkg-sin --source-zones='*' --source-bucket='*' --dest-zones='*' --dest-bucket='*'
radosgw-admin period update --rgw-realm=company --commit

Now the bucket part will come which will inherit the symmetrical-hkg-sin pipe:

radosgw-admin sync group create --bucket=mlflow-artifacts-bucket --group-id=mlflow-artifacts-bucket-default --status=enabled


And here is the above error with a huge dump came:
radosgw-admin sync group pipe create --bucket=mlflow-artifacts-bucket --group-id=mlflow-artifacts-bucket-default --pipe-id=symmetrical-hkg-sin --source-zones='*' --dest-zones='*'

I've attached the dump and the crash info.

crash-info.txt View (1.35 KB) Ist Gab, 08/04/2021 05:15 AM

core-dump.txt View (132 KB) Ist Gab, 08/04/2021 05:15 AM


Related issues

Copied to rgw - Backport #55917: quincy: Bucket sync policy core dumped Resolved
Copied to rgw - Backport #55918: pacific: Bucket sync policy core dumped Resolved
Copied to rgw - Backport #55919: octopus: Bucket sync policy core dumped Rejected

History

#1 Updated by Ist Gab over 2 years ago

New line is missing from the Steps how it was created:

radosgw-admin sync group create --group-id=general-symmetrical-hkg-sin-sync-group --status=allowed 
radosgw-admin sync group flow create --group-id=general-symmetrical-hkg-sin-sync-group --flow-id=general-symmetrical-hkg-sin-sync-group-flow --flow-type=symmetrical --zones=hkg,sin 
radosgw-admin sync group pipe create --group-id=general-symmetrical-hkg-sin-sync-group --pipe-id=symmetrical-hkg-sin --source-zones='*' --source-bucket='*' --dest-zones='*' --dest-bucket='*'

#2 Updated by Pawel Szweminski over 2 years ago

Hey,
I have the same warning in 16.2.5 version.

#3 Updated by Casey Bodley over 2 years ago

  • Assignee set to Yehuda Sadeh

#4 Updated by Soumya Koduri almost 2 years ago

I couldn't reproduce the crash but probably https://github.com/ceph/ceph/pull/46403 fixes it.

#5 Updated by Ist Gab almost 2 years ago

Soumya Koduri wrote:

I couldn't reproduce the crash but probably https://github.com/ceph/ceph/pull/46403 fixes it.

So in the next octopus this one at least will be fixed?

#6 Updated by Soumya Koduri almost 2 years ago

Ist Gab wrote:

Soumya Koduri wrote:

I couldn't reproduce the crash but probably https://github.com/ceph/ceph/pull/46403 fixes it.

So in the next octopus this one at least will be fixed?

Sure, will backport. Meanwhile could you please verify the fix once its merged into main.

#7 Updated by Casey Bodley almost 2 years ago

  • Status changed from New to Fix Under Review
  • Backport set to octopus pacific quincy
  • Pull request ID set to 46403

#8 Updated by Casey Bodley almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Assignee changed from Yehuda Sadeh to Soumya Koduri

#9 Updated by Backport Bot almost 2 years ago

#10 Updated by Backport Bot almost 2 years ago

#11 Updated by Backport Bot almost 2 years ago

#12 Updated by Backport Bot over 1 year ago

  • Tags changed from multisite,rgw,sync to multisite,rgw,sync backport_processed

#13 Updated by Konstantin Shalygin about 1 year ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF