Bug 1656621 - Importing VM OVA always enables 'Cloud-Init/Sysprep'
Summary: Importing VM OVA always enables 'Cloud-Init/Sysprep'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.2.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Liran Rotenberg
QA Contact: Beni Pelled
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-05 21:29 UTC by Abhishekh Patil
Modified: 2023-10-06 18:01 UTC (History)
3 users (show)

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.
Clone Of:
Environment:
Last Closed: 2020-08-04 13:16:51 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 RHSA-2020:3247 0 None None None 2020-08-04 13:17:21 UTC
oVirt gerrit 104269 0 'None' MERGED core: fix ova import cloud-init/sysprep 2020-11-23 10:41:18 UTC

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


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