Bug 1444982 - Host can be moved to maintenance while it there are jobs running on it
Summary: Host can be moved to maintenance while it there are jobs running on it
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.1.2
: 4.1.2.1
Assignee: Liron Aravot
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-24 16:39 UTC by Liron Aravot
Modified: 2017-05-23 08:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-05-23 08:18:34 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.1+
amureini: devel_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 75522 0 master MERGED core: Block moving host to maintenance if it's running jobs 2017-04-24 16:40:24 UTC
oVirt gerrit 75955 0 ovirt-engine-4.1 MERGED core: Block moving host to maintenance if it's running jobs 2017-04-24 20:12:37 UTC

Description Liron Aravot 2017-04-24 16:39:37 UTC
Description of problem:
When a host is running jobs the engine doesn't block moving it to maintenance while the jobs are running.

How reproducible:
Always

Steps to Reproduce:
- Have a 4.1 DC with one host and two or more storage domains.

1. Create a disk (to ease the reproduction make sure that the disk contains data).
2. Move the disk 
3. While the copy_data job is running attempt to switch the host to maintenance.

Expected results:
The engine should block moving the host to maintenance until the jobs running on the host are completed.

Comment 1 Allon Mureinik 2017-04-25 06:47:06 UTC
Liron - this bug may have visible but hard-to-understand effects on user environments in oVirt 4.1/4.1.1.
Can you please add some doctext to it to explain the issue and the fix?
Thanks!

Comment 2 rhev-integ 2017-04-26 10:40:27 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[TAG 'ovirt-engine-4.1.2' DOESN'T CONTAIN PATCH 'https://gerrit.ovirt.org/75955']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.1.2

For more info please contact: infra

Comment 3 Kevin Alon Goldblatt 2017-05-08 15:23:23 UTC
Verified with the following code:
------------------------------------
ovirt-engine-4.1.2.1-0.1.el7.noarch
rhevm-4.1.2.1-0.1.el7.noarch
vdsm-4.19.12-1.el7ev.x86_64


Verified with the following scenario:
-------------------------------------
Steps to Reproduce:
- Have a 4.1 DC with one host and two or more storage domains.

1. Create a disk on a VM and copy around 1G og data to it (to ease the reproduction make sure that the disk contains data).
2. Move the disk 
3. While the copy_data job is running attempt to switch the host to maintenance >>>> The engine blocks moving the host to maintenance until the jobs running on the host are completed.


Moving to VERIFIED!


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