Project

General

Profile

Actions

Bug #36484

closed

mgr/dashboard: Long running RBD cloning / copying message

Added by Ricardo Marques over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Ricardo Marques
Category:
Component - RBD
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

When cloning an RBD, the message "Cloning..." is no longer displayed in the corresponding row.

How to reproduce:

1) Guarantee that operation will take 10 seconds to complete by applying the following patch:

--- a/src/pybind/mgr/dashboard/controllers/rbd.py
+++ b/src/pybind/mgr/dashboard/controllers/rbd.py
@@ -32,6 +32,8 @@ def RbdTask(name, metadata, wait_for):

 def _rbd_call(pool_name, func, *args, **kwargs):
+    import time
+    time.sleep(10)
     with mgr.rados.open_ioctx(pool_name) as ioctx:

2) Clone an RBD snapshot and check that "Cloning..." text will not appear in the corresponding row


This was a regression introduced in https://github.com/ceph/ceph/pull/23555

Actions

Also available in: Atom PDF