Actions
Bug #80755
closed
OO
OO
qa/rgw/dbstore - failure at teardown/cleanup: radosgw-admin user rm --purge-data fails with "unable to list user vector buckets" when user owns no buckets
Bug #80755:
qa/rgw/dbstore - failure at teardown/cleanup: radosgw-admin user rm --purge-data fails with "unable to list user vector buckets" when user owns no buckets
Due date:
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-4118-gec896b4209
Released In:
Upkeep Timestamp:
2026-10-07T13:45:52+00:00
Description
All s3-tests passed successfully:
2026-09-22T00:55:01.589 INFO:teuthology.orchestra.run.trial141.stdout:========= 480 passed, 69 skipped, 543 deselected in 212.83s (0:03:32) ========== 2026-09-22T00:55:01.649 INFO:teuthology.orchestra.run.trial141.stdout: py: OK (220.23=setup[7.22]+cmd[213.01] seconds) 2026-09-22T00:55:01.649 INFO:teuthology.orchestra.run.trial141.stdout: congratulations :) (220.24 seconds)
However, the suite failed in the clean-up phase afterwards:
2026-09-22T00:55:01.839 INFO:teuthology.orchestra.run.trial141.stderr:could not remove user: unable to remove user, unable to list user vector buckets
2026-09-22T00:55:01.839 INFO:teuthology.orchestra.run.trial141.stderr:2026-09-22T00:55:01.835+0000 7809c1c3d000 20 rgw DBStore backend: DB successfully destroyed - name:/var/lib/ceph/radosgw/dbstore-default_ns
2026-09-22T00:55:01.840 DEBUG:teuthology.orchestra.run:got remote process result: 95
2026-09-22T00:55:01.841 INFO:tasks.s3tests:Removing s3-tests...
2026-09-22T00:55:01.841 DEBUG:teuthology.orchestra.run.trial141:> rm -rf /home/ubuntu/cephtest/s3-tests-client.0
2026-09-22T00:55:02.375 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/run_tasks.py", line 112, in run_tasks
manager.__enter__()
File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_ceph-ci_ec26a38998b04a01e2deab93cd9888093777431a/qa/tasks/s3tests.py", line 839, in task
with contextutil.nested(
File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
next(self.gen)
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/contextutil.py", line 54, in nested
raise exc[1]
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/contextutil.py", line 46, in nested
if exit(*exc):
^^^^^^^^^^
File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
next(self.gen)
File "/home/teuthworker/src/git.ceph.com_ceph-ci_ec26a38998b04a01e2deab93cd9888093777431a/qa/tasks/s3tests.py", line 310, in create_users
ctx.cluster.only(client).run(
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/orchestra/cluster.py", line 85, in run
procs = [remote.run(**kwargs, wait=_wait) for remote in remotes]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/orchestra/remote.py", line 596, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/orchestra/run.py", line 461, in run
r.wait()
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/orchestra/run.py", line 161, in wait
self._raise_for_status()
File "/home/teuthworker/src/git.ceph.com_teuthology_7c41cc6b57ea1d6ae5c6091821f5f6e80bdee20c/teuthology/orchestra/run.py", line 181, in _raise_for_status
raise CommandFailedError(
teuthology.exceptions.CommandFailedError: Command failed on trial141 with status 95: 'adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage radosgw-admin -n client.0 user rm --uid foo.client.0 --purge-data --clust
er ceph'
2026-09-22T00:55:02.712 ERROR:teuthology.util.sentry: Sentry event: https://sentry.ceph.com/organizations/ceph/?query=46848e5e6ed74a6694803c1e99f5e183
...
2026-09-22T00:56:40.667 INFO:teuthology.run:FAIL
CB Updated by Casey Bodley 2 months ago
- Priority changed from Normal to Urgent
OO Updated by Oguzhan Ozmen 2 months ago
I think this might be related to a recent commit rgw/s3vectors: support purging and remove the s3 backend re beucket vectors as the error line says "unable to list user vector buckets"
rgw::sal::BucketList vector_listing;
do {
ret = driver->list_vector_buckets(dpp, user->get_id(), user->get_tenant(),
vector_listing.next_marker, string(),
max_buckets, vector_listing, y);
if (ret < 0) {
set_err_msg(err_msg, "unable to list user vector buckets");
return ret;
}
@Yuval Lifshitz - you may want to take a look?
I think it's because dbstore SAL driver doesn't support S3 Vectors.
OO Updated by Oguzhan Ozmen 2 months ago
- Status changed from New to In Progress
- Assignee set to Oguzhan Ozmen
I think this would be really easy fix. Just skipping if it's for a not-supported backend should be enough.
OO Updated by Oguzhan Ozmen 2 months ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 72338
UB Updated by Upkeep Bot about 2 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to ec896b42097285a8ceb8fc692076b3cf922beee5
- Fixed In set to v21.3.0-4118-gec896b4209
- Upkeep Timestamp set to 2026-10-07T13:45:52+00:00
Actions