Bug 1404185

Summary: Cannot cancel an upload using python SDK (operation doesn't exist)
Product: [oVirt] ovirt-engine Reporter: Natalie Gavrielov <ngavrilo>
Component: BLL.StorageAssignee: Daniel Erez <derez>
Status: CLOSED DEFERRED QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.6CC: bugs, tnisan
Target Milestone: ---Flags: rule-engine: ovirt-4.0.z+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 09:20:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Natalie Gavrielov 2016-12-13 09:34:55 UTC
Description of problem:
Cannot cancel an upload using python SDK

Version-Release number of selected component (if applicable):
ovirt-engine-4.0.6-0.1.el7ev.noarch
vdsm-4.18.17-1.el7ev.x86_64

How reproducible:
100%

Steps to Reproduce:
Upload an image, pause and try to cancel the upload - all actions using the python sdk.

Actual results:
There is just no way to cancel an existing upload using the sdk.

Expected results:
To have an option to cancel an upload using the sdk. 

Additional info:
No documentation regarding the cancel option available.

Comment 1 Yaniv Kaul 2016-12-14 09:20:29 UTC
I honestly don't see the value of cancel in an API.
I certainly do not understand why it's High severity.

BTW, not sure why we need pause in the API either.

I can imagine an upload get stuck and as a result in the catch we might want to cancel it perhaps? Remote chance. Deferring for now.