Bug 1404185 - Cannot cancel an upload using python SDK (operation doesn't exist)
Summary: Cannot cancel an upload using python SDK (operation doesn't exist)
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: ---
: ---
Assignee: Daniel Erez
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 09:34 UTC by Natalie Gavrielov
Modified: 2017-12-22 07:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 09:20:29 UTC
oVirt Team: Storage
rule-engine: ovirt-4.0.z+


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.