Bug 1436219

Summary: [RFE] Users should be able to seal VMs from RHEV-M
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: RFEsAssignee: Shmuel Melamud <smelamud>
Status: CLOSED DUPLICATE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jcoscia, kmorey, lbopf, lsurette, mavital, mgoldboi, michal.skrivanek, mtessun, rbalakri, srevivo, ykaul, zbrown
Target Milestone: ovirt-4.1.3Keywords: FutureFeature, ZStream
Target Release: ---Flags: lsvaty: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
URL: https://trello.com/c/dN08y1W2
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The feature is documented here: http://www.ovirt.org/develop/release-management/features/virt-sysprep/
Story Points: ---
Clone Of: RHV_virt_sysprep Environment:
Last Closed: 2017-05-03 12:36:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1335642    
Bug Blocks:    

Description rhev-integ 2017-03-27 13:11:50 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1335642 +++
======================================================================

Description of problem:
Currently, in order to properly "seal" (make a VM generic in preparation for cloning or template), it is a manual process or a painful RHEV-CLI process in order to use virt-sysprep. In RHEL+KVM (or CENTOS, Ubuntu, etc), this is not an issue. Our own Red Hat documentation suggests a painful manual removal of SSH keys, UDEV rules, MAC addresses, system id, and hostname. It is the complete opposite of automation.

In order to run sys-virtprep in RHEV, you have to go through the trouble of deploying the RHEV-CLI, locate the the disk image, activate the logical volume, run virt-sysprep, deactivate the logical volume, then create the template back in RHEV-M. 

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

How reproducible:
Create a VM in RHEV. You are unable to utilize `virt-sysprep` or other libguestfs tools in a convenient manner.

Expected results:
Have an option in the template tab or VM tab to open a dialog box for sealing options.

(Originally by Jon Benedict)

Comment 1 rhev-integ 2017-03-27 13:11:59 UTC
I ran into this same issue at a customer site this week.

The process of building a template does seem archaic in comparison to the larger story we're delivering around hybrid cloud automation.

It would be helpful to have this functionality delivered from the UI for RHEL guests.

(Originally by Zak Berrie)

Comment 3 rhev-integ 2017-03-27 13:12:05 UTC
upstream tracking https://trello.com/c/dN08y1W2

(Originally by michal.skrivanek)

Comment 4 rhev-integ 2017-03-27 13:12:11 UTC
may appear in 4.1.z or even 4.1 GA

(Originally by michal.skrivanek)