[Bug 2082030] Re: rgw could not reset user stats: Value too large for defined data type

dongdong tao 2082030 at bugs.launchpad.net
Fri Feb 28 01:09:04 UTC 2025


Regarding the test, this would require some experience to
deploy/configure the Ceph and S3 storage, otherwise it's going to take
quite some time to make it work.

Expanding the size limitation of the return value from 32 to 64 bytes,
this value will be serialized and sent over the network from the server
to the client.  The operation that invokes this change is very, very
rare, only when the cluster hits some rgw bug and requires to reset the
user stat

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/2082030

Title:
  rgw could not reset user stats: Value too large for defined data type

Status in Ubuntu Cloud Archive:
  New
Status in Ubuntu Cloud Archive ussuri series:
  New
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/cloud-archive/+bug/2082030/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list