Bug 1379181 - [RFE] Virt-sysprep integration
Summary: [RFE] Virt-sysprep integration
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.1.0-alpha
: ---
Assignee: Shmuel Melamud
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks: RHV_virt_sysprep
TreeView+ depends on / blocked
 
Reported: 2016-09-25 20:42 UTC by Moran Goldboim
Modified: 2016-09-26 08:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-09-26 08:51:00 UTC
oVirt Team: Virt
Embargoed:
tjelinek: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Moran Goldboim 2016-09-25 20:42:17 UTC
Description of problem:
The need for an integrated solution to create gold image in the form of a template has been a challenge for a while for a while to oVirt users. the need to clear ssh keys, persistence udev network rules, users and passwords etc has been manual process, which presents a hassle to the users.

Proposed solution:
integration of virt-sysprep in oVirt. 
when creating a template or applying it on an existing one, the user would be able to run virt-sysprep on a specific template, clearing all relevant data from the image and have a clean image for future use as a template.

use-cases to cover:
-creation of a template from a vm
-run on an existing template/s

API:
needed as addition actions to the above use cases

Configuration:
the command line parameters needs to be configurable. with possibility for different profiles in the future

Packaging:
virt-sysprep will be required on the hosts

UI:
-an option to run virt-sysprep would be added to create vm from template command dialogue 
-an option to run virt-sysprep on selected templates would be added to the template tab

Comment 1 Tomas Jelinek 2016-09-26 06:20:29 UTC
Before implementing, will need to be considered how the new template version will behave in case VMs are based on the latest one.

Comment 2 Michal Skrivanek 2016-09-26 08:51:00 UTC
this is now tracked on https://trello.com/c/dN08y1W2 with a target of 4.1 for the "run on an existing template" case


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