Description of problem: Engine should list the tasks that are preventing storage domain or SPM deactivation. Currently, it just informs that there are running tasks and the operation is locked. For example, putting domain in maintenance right after removal of a disk that resides on it should be blocked and engine should report something like the following: " Error while executing action: Cannot deactivate Storage while there are running tasks on this Storage. The running tasks are: -Remove disk -Please wait until tasks will finish and try again. "
Looked into this RFE, unfortunately this is impossible to implement in a nice and user friendly manner. The only available human readable info in an async task is the command name, I've displayed it as it's better that nothing. Example: Error while executing action: Cannot deactivate Storage while there are running tasks on this Storage. -Tasks running: AddImageFromScratch -Please wait until tasks will finish and try again.
This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?.
Verified ovirt-engine-4.3.0-0.8.rc2.el7.noarch vdsm-4.30.6-1.el7ev.x86_64 The message that appears: Error while executing an action: Cannot deactivate Storage while there are running tasks on this Storage. -Tasks running: RemoveDisk -Please wait until tasks will finish and try again.
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.