[Bug 2082030] Re: rgw could not reset user stats: Value too large for defined data type
Dave Jones
2082030 at bugs.launchpad.net
Mon Jan 13 16:36:58 UTC 2025
Channelling the SRU team, I predict the following questions may arise:
The patch contains several copies of the added patch file. This appears
to be because src/test/{debian-jessie,ubuntu-16.04,ubuntu-18.04}
contains symlinks to debian/ which has caused the debdiff to include
erroneous changes. It may be preferable to use git to generate the diff.
The test case, while doubtless accurate, assumes a fair amount of
knowledge on the part of the tester. Does "Deploy a 15.2.17 ceph
cluster" expand to a few commands, or is it more like a morning's work?
If it's horribly complex, then I can see the case for keeping the test-
case as it is and relying on experienced testers, but if it's possible
to expand it into something I (or others) could follow blindly, that
would be preferable.
The regression potential is minimal and definitely needs expanding.
Expanding the size of a field can have any number of knock-on side
effects in various contexts (e.g. ABI or network protocol
compatibility). I'm guessing those aren't applicable here, but the SRU
team aren't going to guess: they'll want to know explicitly why
modifying this (default) field size won't / can't impact existing
deployments and / or any packages that depend on this one.
Unsubscribing ubuntu-sponsors pending revision of the above. Please re-
subscribe when ready for review again.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2082030
Title:
rgw could not reset user stats: Value too large for defined data type
Status in ceph package in Ubuntu:
New
Status in ceph source package in Focal:
New
Bug description:
[Impact]
reset-stats is designed to fix the user stat inconsistency which could happen due to rgw bugs
But it failed on octopus:
# radosgw-admin user stats --uid taodd --reset-stats
ERROR: could not reset user stats: (75) Value too large for defined data type
This issue caused users unable to create new objects on buckets that
ran out of quota because of the inconsistent user stats.
[Test Case]
1. Deploy a 15.2.17 ceph cluster
2. Create a bucket and put some objects to this bucket
3. Run the command "radosgw-admin user stats --uid taodd --reset-
stats", you will see the same error
4. Apply the patched package, the same command will reset the headers
successfully
[Potential Regression]
Requires 32 extra bytes to store the return value, not a concern
[Other Info]
Upstream has the fix https://github.com/ceph/ceph/pull/41809, but only backported down to Pacific.
We need to backport this to Ubuntu octopus ceph package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2082030/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list