Bug 1530532 - StreamingAPI - no event of download/upload pause/resume VIA SDK exist as in UI - missing AuditLog entry in engine log
Summary: StreamingAPI - no event of download/upload pause/resume VIA SDK exist as in ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.2.0.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.2
: 4.2.2.5
Assignee: Daniel Erez
QA Contact: Evelina Shames
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-03 09:50 UTC by Avihai
Modified: 2018-04-27 07:22 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.2.2.5
Clone Of:
Environment:
Last Closed: 2018-04-27 07:22:49 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
engine , image_proxy logs (82.19 KB, application/x-gzip)
2018-01-03 09:50 UTC, Avihai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 89052 0 master MERGED core: added auditlogs for pause and resume transfer 2018-03-15 14:49:49 UTC
oVirt gerrit 89081 0 ovirt-engine-4.2 MERGED core: added auditlogs for pause and resume transfer 2018-03-15 19:30:30 UTC

Description Avihai 2018-01-03 09:50:36 UTC
Created attachment 1376236 [details]
engine , image_proxy logs

Description of problem:
No event of download/upload pause/resume exists in UI - missing AuditLog entry in engine log.


Version-Release number of selected component (if applicable):
ovirt-engine-tools-4.2.0.2-0.1.el7.noarch
python-ovirt-engine-sdk4-4.2.2-1.el7ev.x86_64

How reproducible:
100%


Steps to Reproduce(ALL VIA SDK):
1.Start disk download via SDK
2.Pause disk download.
3.Check out Engine log & UI events for the pause.

Actual results:
Pause event is missing.

Looking at engine log Pause operation is seen in ImageTransferUpdater but no AuditLog exist.

Expected results:
Engine should have a matching Auditlog entire for download/upload
pause/resume via SDK.


Additional info:
Pause is seen by engine log :
2018-01-03 11:35:42,234+02 INFO  [org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] (default task-12) [55c7699a-9dfe-4f40-bc41-0a5f622b9c66] Updating image transfer 972b352f-b87e-45da-b847-464e6
b6853d2 (image 9668ff60-63fe-40d9-bcbe-5760930fd2ef) phase to Paused by User

But not reported in AuditLog this no event of the pause exists as in UI.

Comment 1 Allon Mureinik 2018-03-15 15:21:15 UTC
The fix looks trivial, and we'd like to get the best user experience possible around this new[ish] feature.
Can this be backported to 4.2?

Comment 2 Daniel Erez 2018-03-15 15:25:38 UTC
(In reply to Allon Mureinik from comment #1)
> The fix looks trivial, and we'd like to get the best user experience
> possible around this new[ish] feature.
> Can this be backported to 4.2?

Sure.

Comment 3 Evelina Shames 2018-04-24 07:14:38 UTC
Verified.
There is no option to pause the download via UI, is it how it should be?

Engine: 4.2.3-0.1

Comment 4 Daniel Erez 2018-04-24 08:28:10 UTC
(In reply to Evelina Shames from comment #3)
> Verified.
> There is no option to pause the download via UI, is it how it should be?

Indeed. Pause/resume download is handled entirely by the client (i.e. browser/curl/etc). 

> 
> Engine: 4.2.3-0.1

Comment 5 Sandro Bonazzola 2018-04-27 07:22:49 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 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.


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