Bug 1712746

Summary: [RFE] Ignition support for ovirt vms
Product: Red Hat Enterprise Virtualization Manager Reporter: Ryan Barry <rbarry>
Component: ovirt-engineAssignee: Roy Golan <rgolan>
Status: CLOSED ERRATA QA Contact: Nisim Simsolo <nsimsolo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: bugs, jparrill, kboumedh, mavital, mtessun, nsimsolo, pablo.iranzo, rdlugyhe, rgolan
Target Milestone: ovirt-4.4.1Keywords: FutureFeature, ZStream
Target Release: ---Flags: rgolan: needinfo-
rgolan: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-4.4.0-29 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1691704
: 1712747 (view as bug list) Environment:
Last Closed: 2020-08-04 13:19:21 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: 1691704, 1801153    
Bug Blocks: 1712747    

Description Ryan Barry 2019-05-22 07:58:07 UTC
+++ This bug was initially created as a clone of Bug #1691704 +++

Request for enhancement:

To start give support to Openshift4 and OKD4, we need to add ignition support for RHEV vms in order to allow the openshift-installer to scale up and down nodes using oVirt as a base platform.

--- Additional comment from Karim Boumedhel on 2019-05-16 16:47:31 UTC ---

i believe https://gerrit.ovirt.org/#/c/100008 can be used as a workaround

--- Additional comment from Roy Golan on 2019-05-22 07:47:45 UTC ---

The merged patches to the engine supply support over cloud-init cdrom, which is a well known and used
method for a long time.

Currently the way to use it is to pass the ignition config into the 'custom script' section of the vm init object
when creating the vm. If the config file is a valid json file with the ignition key in it, it will be passed to
on into the userdata file under the config-2 disk.

RHCOS side needs to have the openstack ignition enabled in the kernel so it will boot and try to locate 
the config-2 disk - its location will be /dev/disk/by-label/config-2 . The ignition provider mounts it
and then the config data available to ignition.
This means the VM template should be openstack RHCOS image.

Regarding fw_cfg, it doesn't have support from qemu at the moment, and moreover I don't see it supporting large
ignition config files, where in the case of openshift installation, the bootstrap ignition data is 300k big.

Comment 2 Roy Golan 2019-06-16 11:27:21 UTC
Feature page on its way to ovirt-site, please review the pull-request - https://github.com/oVirt/ovirt-site/pull/2021Feature page on its way to ovirt-site, please review the pull-request - https://github.com/oVirt/ovirt-site/pull/2021

Comment 3 Roy Golan 2019-06-16 11:28:02 UTC
Feature page on its way to ovirt-site, please review the pull-request - https://github.com/oVirt/ovirt-site/pull/2021

Comment 4 RHV bug bot 2019-12-13 13:14:21 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 5 RHV bug bot 2019-12-20 17:44:14 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 6 RHV bug bot 2020-01-08 14:46:55 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 2020-01-08 15:15:12 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-24 19:48:41 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 Nisim Simsolo 2020-02-12 10:02:41 UTC
Reassigned, see https://bugzilla.redhat.com/show_bug.cgi?id=1801153

Comment 13 Nisim Simsolo 2020-07-09 07:22:40 UTC
Verified:
ovirt-engine-4.4.1.7-0.3.el8ev
vdsm-4.40.22-1.el8ev.x86_64
qemu-kvm-4.2.0-28.module+el8.2.1+7211+16dfe810.x86_64
libvirt-daemon-6.0.0-25.module+el8.2.1+7154+47ffd890.x86_64

Verification scenario:
Polarion test plan added to bugzilla external trackers.

Comment 17 errata-xmlrpc 2020-08-04 13:19:21 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