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

Bug 1452988

Summary: Block disk operations on disks containing memory dumps
Product: [oVirt] ovirt-engine Reporter: Tal Nisan <tnisan>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: amureini, bugs, tnisan
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 10:44:15 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:
Bug Depends On:    
Bug Blocks: 1452989    

Description Tal Nisan 2017-05-21 14:38:30 UTC
Description of problem:
Currently there is nothing blocking operations on disks containing memory dumps other than the fact that they are filtered in the general disks view although operations on those disks are not supported (update, move, remove, attach to a VM).
This posses two problems:
- Theoretically if the user knows the ID of the disk those operations can be done via REST while they should be blocked.

- As part of the work on content type those images should be visible to the user in the future and for that reason the operations should be blocked

Comment 1 Allon Mureinik 2017-06-13 09:28:52 UTC
Tal - both patches attached to this BZ are merged. Are we waiting for anything else, or should this be MODIFIED?

Comment 4 Kevin Alon Goldblatt 2017-07-05 16:26:15 UTC
Verified with the following code:
----------------------------------------
ovirt-engine-4.2.0-0.0.master.20170621095718.git8901d14.el7.centos.noarch
vdsm-4.20.1-66.git228c7be.el7.centos.x86_64

Verified with the following scenario:
---------------------------------------
Created Vm with snapshot
Used REST API and tried to perform operations on Disk id of the snapshot memory disk >>>>> operations are blocked

Moving to VERIFIED!

Comment 5 Sandro Bonazzola 2017-12-20 10:44:15 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.