Bug 1656621

Summary: Importing VM OVA always enables 'Cloud-Init/Sysprep'
Product: Red Hat Enterprise Virtualization Manager Reporter: Abhishekh Patil <abpatil>
Component: ovirt-engineAssignee: Liran Rotenberg <lrotenbe>
Status: CLOSED ERRATA QA Contact: Beni Pelled <bpelled>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.7CC: lrotenbe, mtessun, rdlugyhe
Target Milestone: ovirt-4.4.0Flags: lsvaty: testing_plan_complete-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, an imported VM always had 'Cloud-Init/Sysprep' turned on. The Manager created a VmInit even when one did not exist in the OVF file of the OVA. The current release fixes this issue: The imported VM only has 'Cloud-Init/Sysprep' turned on if the OVA had it enabled. Otherwise, it is disabled.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-04 13:16:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Abhishekh Patil 2018-12-05 21:29:09 UTC
Description of problem:

Importing a Virtual Machine OVA always enables 'Cloud-init/Sysprep' even though it is unchecked/disabled before exporting. 

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

ovirt-engine-4.2.7.5-0.1.el7ev.noarch

How reproducible:
[100%]

Steps to Reproduce:
1. Create a VM and keep 'Cloud_Init/Sysprep' unchecked. 
2. Export the VM as OVA
3. Now, Import the exported OVA.
4. Edit the VM(which is imported using the OVA) and check if 'Cloud_Init/Sysprep' is enabled.

Actual results:

'Cloud_Init/Sysprep' is enabled by default even though it is disabled before exporting. 

Expected results:

'Cloud_Init/Sysprep' should not be enabled after import if it is disabled before export.

Comment 1 Ryan Barry 2019-01-21 14:54:10 UTC
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both

Comment 4 Daniel Gur 2019-08-28 13:15:02 UTC
sync2jira

Comment 5 Daniel Gur 2019-08-28 13:20:05 UTC
sync2jira

Comment 6 RHV bug bot 2019-12-13 13:13:50 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 7 RHV bug bot 2019-12-20 17:43:43 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 8 RHV bug bot 2020-01-08 14:48:18 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 9 RHV bug bot 2020-01-08 15:14:29 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 10 Beni Pelled 2020-01-23 14:09:22 UTC
Verified on:
- ovirt-engine-4.4.0-0.15.master.el7.noarch

Verification steps:
1. Create a VM and make sure 'Initial Run > Use Cloud-Init/Sysprep' is unchecked.
2. Export the VM as OVA.
3. Import the vm from the exported OVA file.

Result:

- VM is imported and 'Initial Run > Use Cloud-Init/Sysprep' remain unchecked.

Comment 11 RHV bug bot 2020-01-24 19:50:06 UTC
WARN: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 18 errata-xmlrpc 2020-08-04 13:16:51 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 (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2020:3247