Bug 1419886 - Upload image operations are available using the GUI when there is an active download of the image using the python sdk (for the image that is downloaded)
Summary: Upload image operations are available using the GUI when there is an active d...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.1.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.1
: 4.1.1.2
Assignee: Daniel Erez
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-07 10:31 UTC by Natalie Gavrielov
Modified: 2017-04-21 09:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-21 09:53:28 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.1+


Attachments (Terms of Use)
logs: engine, proxy, vdsm, daemon (932.35 KB, application/zip)
2017-02-07 10:31 UTC, Natalie Gavrielov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 71905 0 master MERGED webadmin: disable upload actions when API transfer is active 2017-02-09 13:40:32 UTC
oVirt gerrit 72026 0 ovirt-engine-4.1 MERGED webadmin: disable upload actions when API transfer is active 2017-02-12 09:06:44 UTC

Description Natalie Gavrielov 2017-02-07 10:31:15 UTC
Created attachment 1248363 [details]
logs: engine, proxy, vdsm, daemon

Description of problem:
Upload feature is available via GUI even though there is an active download of an image using the SDK (for that same image).  

Version-Release number of selected component:
ovirt-engine-4.1.0.3-0.1.el7.noarch
ovirt-imageio-proxy-1.0.0-0.el7ev.noarch
ovirt-imageio-common-1.0.0-0.el7ev.noarch
ovirt-imageio-daemon-1.0.0-1.el7.noarch
vdsm-4.19.4-20.git1d7560e.el7.centos.x86_64


How reproducible:
100%

Steps to Reproduce:
1. Download an image using python sdk.
2. During the download, go to webadmin -> disks tab, mark the disk being downloaded and click on "Upload".


Actual results:
Start, Cancel and Pause buttons are available.
Clicked on cancel, and the download stopped, then disk switched state to: Finalizing Failure => Failed => illegal

Expected results:
Since there is an active download using the sdk - for all the upload using the UI to be disabled.

Comment 1 Natalie Gavrielov 2017-03-13 16:42:32 UTC
Verified, "Cancel", "Pause" and "Resume" are now disabled for the downloaded disk via GUI.
Used: rhevm-4.1.1.4-0.1.el7.noarch


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