Bug 1448905 - Amend is allowed when VM is up
Summary: Amend is allowed when VM is up
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.1.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-4.1.3
: 4.1.3
Assignee: Maor
QA Contact: Avihai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-08 15:26 UTC by Avihai
Modified: 2017-07-06 13:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-06 13:22:49 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: blocker+


Attachments (Terms of Use)
engine & vdsm logs (1.36 MB, application/x-gzip)
2017-05-08 15:26 UTC, Avihai
no flags Details
rest get disk and snapshot disk content (3.12 KB, text/plain)
2017-05-08 15:37 UTC, Avihai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 76815 0 master MERGED core: Fix validation for running VMs on amend. 2017-05-21 09:50:07 UTC
oVirt gerrit 77061 0 ovirt-engine-4.1 MERGED core: Fix validation for running VMs on amend. 2017-05-21 15:51:23 UTC

Description Avihai 2017-05-08 15:26:13 UTC
Created attachment 1277123 [details]
engine & vdsm logs

Description of problem:
Amend is allowed when VM & disk is up and running which can cause data/image corruption. 

Version-Release number of selected component (if applicable):
rhevm-4.1.2-0.1.el7.noarch
VDSM:
4.19.11-1

How reproducible:
100%

Steps to Reproduce:
1. Create DC + cluster on v3
2. Create a VM with thin disk and one snapshot
3. Upgrade cluster &DC to version 4
4. Start the VM
5. Attempt to amend the disk & snapshot disks -> should fail


Actual results:
Amend is allowed & upgrade disk + snapshot disks.

Expected results:
Amend should be blocked as VM is running 

Additional info:
Timeline:
May 8, 2017, 5:21:09 PM
vm_TestCase18347_REST_NFS_0817181457_Disk1 has been amended successfully.

May 8, 2017, 5:21:03 PM
VM vm_TestCase18347_REST_NFS_0817181457 vm_TestCase18347_REST_NFS_0817181457_Disk1 disk was updated by admin@internal-authz.

May 8, 2017, 5:21:03 PM
Started to amend vm_TestCase18347_REST_NFS_0817181457_Disk1

May 8, 2017, 5:20:10 PM
User admin@internal-authz logged in.

May 8, 2017, 5:19:55 PM
VM vm_TestCase18347_REST_NFS_0817181457 started on Host host_mixed_1

Comment 1 Avihai 2017-05-08 15:37:29 UTC
Created attachment 1277126 [details]
rest get disk and snapshot disk content

Comment 2 Avihai 2017-05-29 09:04:52 UTC
verified at 4.1.3-0.1


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