Bug 871371 (block_vm_delete)

Summary: PRD32 - RFE: allow to define termination protection per vm (block delete without a config change)
Product: Red Hat Enterprise Virtualization Manager Reporter: Itamar Heim <iheim>
Component: ovirt-engineAssignee: Frantisek Kobzik <fkobzik>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, chetan, dyasny, iheim, lpeer, michal.skrivanek, oramraz, pstehlik, rgolan, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: sf1 Doc Type: Release Note
Doc Text:
A delete protection entity has been added for virtual machines and templates. When it is enabled in the web administration portal or REST API, the virtual machine or template cannot be deleted.
Story Points: ---
Clone Of:
: 892426 (view as bug list) Environment:
Last Closed: 2013-06-10 21:15:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 892426, 915537    

Description Itamar Heim 2012-10-30 10:46:30 UTC
To prevent accidental delete of critical VMs, allow to add a checkbox at VM config, preventing deletion of the VM.
Delete VM will fail if this checkbox is enabled.
user must edit the VM and remove this checkbox before deleting the VM.
idea is to not allow user to delete even via a dialog confirmation, rather force user to edit the VM first to disable this option.

Comment 5 Roy Golan 2012-12-06 06:47:11 UTC
REST tests fix
http://gerrit.ovirt.org/#/c/9757/

Comment 7 Jiri Belka 2013-01-25 10:52:32 UTC
OK, sf4, checkbox exists.

Comment 14 Jiri Belka 2013-01-31 13:50:59 UTC
ok, sf5.

Comment 15 errata-xmlrpc 2013-06-10 21:15:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHSA-2013-0888.html