Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1544230

Summary: StreamingAPI - Moving host to maintenance while Upload/Download disk via UI/SDK is allowed
Product: [oVirt] ovirt-engine Reporter: Avihai <aefrat>
Component: BLL.StorageAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Avihai <aefrat>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.1.2CC: amureini, bugs, ebenahar, lveyde, ylavi
Target Milestone: ovirt-4.2.2Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 10:53:38 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:
Embargoed:

Description Avihai 2018-02-11 13:00:17 UTC
Description of problem:
I have a scenario of starting a file upload & while the upload is in progress move the host to maintenance.

Currently, I see that moving the host to maintenance is allowed  & the upload move to 'pause by system' state.

What is the designed behavior here?

I would expect that the either:
- The upload would proceed at another host as the engine(proxy) is managing the upload.
 or
- Moving the host to maintenance while upload/download is in progress should be forbidden.

As discussed with Daniel, I opened a bug about this for further discussion.

Version-Release number of selected component (if applicable):
4.2.1.6-0.1

How reproducible:
100%

Steps to Reproduce:
Start a file upload & while the upload is in progress move the host to maintenance.

Actual results:
Currently, I see that moving the host to maintenance is allowed  & the upload move to 'pause by system' state.

Expected results:
- The upload would proceed at another host as the engine(proxy) is managing the upload.
 or
- Moving the host to maintenance while upload/download is in progress should be forbidden.


Additional info:

Comment 1 Avihai 2018-02-22 13:14:49 UTC
Verified on 4.2.2.1-0.1

Comment 2 Sandro Bonazzola 2018-03-29 10:53:38 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.