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

Bug 1092987

Summary: Extending RO shareable disk that attached to other VM as RW should fail
Product: Red Hat Enterprise Virtualization Manager Reporter: Raz Tamir <ratamir>
Component: ovirt-engineAssignee: Vered Volansky <vered>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, acathrow, amureini, gklein, iheim, lpeer, Rhev-m-bugs, scohen, vered, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: av9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 1102906    
Attachments:
Description Flags
vdsm and engine logs none

Description Raz Tamir 2014-04-30 11:24:46 UTC
Created attachment 891142 [details]
vdsm and engine logs

Description of problem:
Setup with 2 vm with boot disks. 1 shareable disk attached to vm1 as RW and to vm2 as RO.
When extending the shared disk from vm1 (sees the share disk as RW) it works fine.
When extending the shared disk from vm2 (sees the share disk as RO) it should fail but it also works.
According to bug: 1092087, 1092371


Version-Release number of selected component (if applicable):
rhevm-3.4.0-0.15.beta3.el6ev.noarch
vdsm-4.14.7-0.1.beta3.el6ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Attach shareable disk to vm1 as RW
2. Attache tha same disk to other vm (vm2) as RO
3. Extend the disk from vm2

Actual results:
Operation succeeded

Expected results:
should fail according according to bug: 1092087, 1092371


Additional info:

Comment 1 Allon Mureinik 2014-04-30 16:24:01 UTC
Vered, IIUC, the fix for bug 1092087 should fix this one too.
Can you confirm?

Comment 2 Vered Volansky 2014-04-30 16:26:54 UTC
Yes. Moving to post.

Comment 3 Elad 2014-05-15 13:46:17 UTC
Resize to disk attached to a VM as RO is blocked with a CDA:

"Cannot edit Virtual Machine Disk. Read-only disk cannot be resized."


Verified using av9.1

Comment 4 Itamar Heim 2014-06-12 14:11:15 UTC
Closing as part of 3.4.0