Project

General

Profile

Actions

Bug #54158

closed

jenkins api tests: RBD permission error (error deleting image from trash)

Added by Deepika Upadhyay about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2022-02-04T18:24:42.355+0000 7fc429176700 -1 librbd::api::Trash: remove: error: deferment time has not expired.
2022-02-04T18:24:42.359+0000 7fc429176700  0 [dashboard ERROR taskexec] Error while calling Task(ns=rbd/trash/remove, md={'image_id_spec': 'rbd/6e0f356c0547'})
Traceback (most recent call last):
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/services/exception.py", line 61, in handle_rbd_error
    yield
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/controllers/rbd.py", line 445, in delete
    return rbd_call(pool_name, namespace, self.rbd_inst.trash_remove, image_id,
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/services/rbd.py", line 87, in rbd_call
    func(ioctx, *args, **kwargs)
  File "rbd.pyx", line 876, in rbd.RBD.trash_remove
rbd.PermissionError: [errno 1] RBD permission error (error deleting image from trash)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/tools.py", line 550, in _run
    val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs)  # type: ignore
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/services/exception.py", line 63, in handle_rbd_error
    raise DashboardException(e, component='rbd')
dashboard.exceptions.DashboardException: [errno 1] RBD permission error (error deleting image from trash)
2022-02-04T18:24:42.359+0000 7fc417dd4700  0 [dashboard INFO taskmgr] finished Task(ns=rbd/trash/remove, md={'

https://jenkins.ceph.com/job/ceph-api/31358/consoleFull#-811452663e4bfde06-44c1-4b3c-8379-d9ee175fb257

Actions #1

Updated by Christopher Hoffman about 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Christopher Hoffman
Actions #2

Updated by Deepika Upadhyay about 2 years ago

  • Status changed from In Progress to Closed

seems like a false positive, the issue was related to PR being tested, feel free to reopen if hit again

Actions

Also available in: Atom PDF