-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgw/sfs: specifying a region triggers location constraint
errors
#848
Labels
area/rgw-sfs
RGW & SFS related
kind/enhancement
Change that positively impacts existing code
priority/1
Should be fixed for next release
severity/normal
Regular issue, some non-major loss of functionality under specific circumstances
Milestone
Comments
jecluis
added
kind/enhancement
Change that positively impacts existing code
priority/1
Should be fixed for next release
area/rgw-sfs
RGW & SFS related
severity/normal
Regular issue, some non-major loss of functionality under specific circumstances
labels
Nov 28, 2023
Couldn't reproduce this with boto3, but managed to do it with the rust sdk. For a request like this:
We get rgw complaining about a location constraint not being met:
|
turns out it's reproducible with boto3 (need to specify the
|
jecluis
referenced
this issue
in jecluis/ceph
Nov 29, 2023
We don't deal with zones, all zones are welcome zones. So, when someone wants to store something on a given location, welcome them by allowing all zones. Fixes: aquarist-labs/s3gw#848 Signed-off-by: Joao Eduardo Luis <joao@suse.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/rgw-sfs
RGW & SFS related
kind/enhancement
Change that positively impacts existing code
priority/1
Should be fixed for next release
severity/normal
Regular issue, some non-major loss of functionality under specific circumstances
We've had reports that users require specifying
--rgw-relaxed-region-enforcement
to be able to create buckets.I suspect this happens when the user specifies a
region
where to create said bucket.During
RGWCreateBucket::execute()
we hit a series of checks for whether alocation_constraint
is set, and, if so, it relies on the SAL driver to assess whether saidlocation_constraint
is valid. Given we have only stubbed zone/zonegroup APIs, we are likely hitting this issue by returningfalse
onhas_zonegroup_api()
or a similar function.This can potentially be addressed by assuming that whatever region the user specifies is valid, given we don't particularly care about whether a region is set or not.
The text was updated successfully, but these errors were encountered: