Bug 1297452

Summary: Scan alignment should not be allowed to run on running VMs
Product: [oVirt] ovirt-engine Reporter: Tal Nisan <tnisan>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: amureini, bugs
Target Milestone: ovirt-3.6.2Flags: tnisan: ovirt-3.6.z?
rule-engine: planning_ack?
tnisan: devel_ack+
acanan: testing_ack+
Target Release: 3.6.2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:07:26 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:
Attachments:
Description Flags
screenshot none

Description Tal Nisan 2016-01-11 14:47:20 UTC
Description of problem:
Currently scan alignment can be run on VMs that are not down, since we run the scan directly and not through Libvirt this will cause a scan on a running VM to mark it as tainted

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


How reproducible:


Steps to Reproduce:
1. Try to run a scan on an running VM
2.
3.

Actual results:
The scan starts

Expected results:
Scan should fail

Additional info:

Comment 1 Aharon Canan 2016-01-17 14:29:18 UTC
Verified
========
rhevm-3.6.2.5-0.1.el6.noarch
vdsm-4.17.17-0.el7ev.noarch

Steps to Reproduce:
===================
Try to scan disk on an running VM

Results 
=======
right click on one of the disks - "Scan Alignment" grayed out.

Comment 2 Aharon Canan 2016-01-17 14:29:40 UTC
Created attachment 1115609 [details]
screenshot