Bug 1691704 - [RFE] Ignition support for ovirt vms
Summary: [RFE] Ignition support for ovirt vms
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RFEs
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified with 1 vote
Target Milestone: ovirt-4.4.1
: ---
Assignee: Roy Golan
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks: 1712746
TreeView+ depends on / blocked
 
Reported: 2019-03-22 09:56 UTC by Juan Manuel Parrilla Madrid
Modified: 2020-08-05 06:24 UTC (History)
8 users (show)

Fixed In Version: rhv-4.4.0-29
Clone Of:
: 1712746 (view as bug list)
Environment:
Last Closed: 2020-08-05 06:24:46 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+
mtessun: planning_ack+
pm-rhel: devel_ack+
pm-rhel: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 99372 0 'None' MERGED core: Initial Ignition support over custom script 2020-11-02 22:22:53 UTC
oVirt gerrit 100133 0 'None' MERGED core: handle a case where cloudinit script is null 2020-11-02 22:22:53 UTC
oVirt gerrit 100237 0 'None' MERGED core: Initial Ignition support over custom script 2020-11-02 22:22:53 UTC

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.


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