Bug 1436219 - [RFE] Users should be able to seal VMs from RHEV-M
Summary: [RFE] Users should be able to seal VMs from RHEV-M
Keywords:
Status: CLOSED DUPLICATE of bug 1441935
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.3
: ---
Assignee: Shmuel Melamud
QA Contact: Nisim Simsolo
URL: https://trello.com/c/dN08y1W2
Whiteboard:
Depends On: RHV_virt_sysprep
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-27 13:11 UTC by rhev-integ
Modified: 2024-03-25 14:59 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
The feature is documented here: http://www.ovirt.org/develop/release-management/features/virt-sysprep/
Clone Of: RHV_virt_sysprep
Environment:
Last Closed: 2017-05-03 12:36:36 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1280 0 normal SHIPPED_LIVE Red Hat Virtualization Manager (ovirt-engine) 4.1.2 2017-05-24 15:18:48 UTC
oVirt gerrit 65140 0 master ABANDONED core: Virt-sysprep integration 2020-10-02 11:15:25 UTC
oVirt gerrit 65141 0 master ABANDONED ui: Sysprep operation for VM templates 2020-10-02 11:15:23 UTC
oVirt gerrit 66723 0 None ABANDONED storage: Add virt-sysprep support 2020-10-02 11:15:22 UTC
oVirt gerrit 68096 0 master MERGED core: Introducing SealVmTemplateCommand 2020-10-02 11:15:22 UTC
oVirt gerrit 68117 0 master MERGED ui: Seal Template checkbox in Make Template dialog 2020-10-02 11:15:21 UTC
oVirt gerrit 69705 0 master MERGED core: Add template sealing to AddVmTemplateCommand 2020-10-02 11:15:20 UTC
oVirt gerrit 72972 0 ovirt-4.1 MERGED virt: Add virt-sysprep support 2020-10-02 11:15:22 UTC
oVirt gerrit 73489 0 master MERGED core: Add exclusive locks to AddVmTemplateCommand 2020-10-02 11:15:27 UTC
oVirt gerrit 73670 0 master MERGED Added sealing option for Template creation. 2020-10-02 11:15:20 UTC
oVirt gerrit 73675 0 model_4.1 MERGED Added sealing option for Template creation. 2020-10-02 11:15:22 UTC
oVirt gerrit 73733 0 master MERGED restapi: Update to model 4.2.7 2020-10-02 11:15:22 UTC
oVirt gerrit 73737 0 ovirt-engine-4.1 MERGED restapi: Update to model 4.1.32 2020-10-02 11:15:19 UTC
oVirt gerrit 73994 0 master MERGED Update to model 4.2.7 and metamodel 1.2.3 2020-10-02 11:15:19 UTC
oVirt gerrit 73995 0 sdk_4.1 MERGED Update to model 4.1.32 and metamodel 1.1.13 2020-10-02 11:15:18 UTC
oVirt gerrit 74062 0 ovirt-engine-4.1.1.z MERGED restapi: Update to model 4.1.33 2020-10-02 11:15:18 UTC
oVirt gerrit 74099 0 sdk_4.1 MERGED Update to model 4.1.33 2020-10-02 11:15:17 UTC
oVirt gerrit 74419 0 master MERGED restapi: Implement 'seal' parameter for creation of a template 2020-10-02 11:15:17 UTC
oVirt gerrit 74666 0 ovirt-engine-4.1 MERGED core: Introducing virt jobs 2020-10-02 11:15:25 UTC
oVirt gerrit 74668 0 ovirt-engine-4.1 MERGED core: Introducing UpdateVolumeCommand 2020-10-02 11:15:17 UTC
oVirt gerrit 74672 0 ovirt-engine-4.1 MERGED core: Introducing CreateAllTemplateDisksCommand 2020-10-02 11:15:15 UTC
oVirt gerrit 74674 0 ovirt-engine-4.1 MERGED core: Introducing SealVmTemplateCommand 2020-10-02 11:15:17 UTC
oVirt gerrit 74677 0 ovirt-engine-4.1 MERGED core: Add template sealing to AddVmTemplateCommand 2020-10-02 11:15:23 UTC
oVirt gerrit 74686 0 ovirt-engine-4.1 MERGED ui: Seal Template checkbox in Make Template dialog 2020-10-02 11:15:16 UTC
oVirt gerrit 74687 0 ovirt-engine-4.1 MERGED core: Add exclusive locks to AddVmTemplateCommand 2020-10-02 11:15:14 UTC
oVirt gerrit 74762 0 ovirt-engine-4.1 MERGED core: fix a regression on import image as template 2020-10-02 11:15:16 UTC

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)


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