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

dongdong tao 2082030 at bugs.launchpad.net
Wed Nov 20 05:57:41 UTC 2024


** Also affects: ceph (Ubuntu Focal)
   Importance: Undecided
       Status: New

-- 
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