Bug 1691704

Summary: [RFE] Ignition support for ovirt vms
Product: [oVirt] ovirt-engine Reporter: Juan Manuel Parrilla Madrid <jparrill>
Component: RFEsAssignee: Roy Golan <rgolan>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: futureCC: bugs, emarcus, jcall, kboumedh, mtessun, nsimsolo, pablo.iranzo, rgolan
Target Milestone: ovirt-4.4.1Keywords: FutureFeature
Target Release: ---Flags: pm-rhel: ovirt-4.4+
mtessun: planning_ack+
pm-rhel: devel_ack+
pm-rhel: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-4.4.0-29 Doc Type: Enhancement
Doc Text:
Red Hat Virtualization Manager virtual machines now support ignition configuration, and this feature can be used via the UI or API by any guest OS that supports it, for example, RHCOS or FCOS.
Story Points: ---
Clone Of:
: 1712746 (view as bug list) Environment:
Last Closed: 2020-08-05 06:24:46 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:
Bug Depends On:    
Bug Blocks: 1712746    

Description Juan Manuel Parrilla Madrid 2019-03-22 09:56:51 UTC
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.

Comment 1 Karim Boumedhel 2019-05-16 16:47:31 UTC
i believe https://gerrit.ovirt.org/#/c/100008 can be used as a workaround

Comment 2 Roy Golan 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 3 Roy Golan 2019-06-16 11:26:37 UTC
Feature page on its way to ovirt-site, please review the pull-request - https://github.com/oVirt/ovirt-site/pull/2021

Comment 5 Nisim Simsolo 2020-02-12 10:02:53 UTC
Reassigned, see https://bugzilla.redhat.com/show_bug.cgi?id=1801153

Comment 8 Nisim Simsolo 2020-07-09 07:23:49 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 11 Sandro Bonazzola 2020-08-05 06:24:46 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

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