[Bug 1149701] New: Ignition needs to autodetect the platform
http://bugzilla.suse.com/show_bug.cgi?id=1149701 Bug ID: 1149701 Summary: Ignition needs to autodetect the platform Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kubic Assignee: iforster@suse.com Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de CC: kubic-bugs@opensuse.org Found By: --- Blocker: --- Currently the platform ignition runs on has to be specified manually on the kernel cmdline with ignition.platform.id and not specifying it at all breaks booting completely. What needs to happen instead is that if ignition.platform.id is not specified by ignition is supposed to run, it makes some educated guesses which platform it is running on (vmware, qemu, openstack, gce, etc.) and uses metal as fallback. ds-identify from cloud-init can serve as inspiration: https://github.com/cloud-init/cloud-init/blob/master/tools/ds-identify -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1149701 http://bugzilla.suse.com/show_bug.cgi?id=1149701#c1 --- Comment #1 from Ignaz Forster <iforster@suse.com> --- For clarification: Currently there is no user interaction required (i.e. not "manually" in the sense of "the user has to change it"). An educated guess of the platform will be performed by the package's post script on regular installations and by setting the kernel parameters in KIWI. As long as KIWI will continue building a separate image for each platform this is working reasonably fine, but implementing this in Ignition itself would definitely be the better way from our perspective. This will need to be discussed with the upstream project. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1149701 http://bugzilla.suse.com/show_bug.cgi?id=1149701#c3 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com --- Comment #3 from Ludwig Nussel <lnussel@suse.com> --- AFIACS the ignition %post script just runs "virt-what" to set platform.id. Shouldn't that also work dynamically in initrd if virt-what was included there? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1149701 http://bugzilla.suse.com/show_bug.cgi?id=1149701#c4 --- Comment #4 from Ludwig Nussel <lnussel@suse.com> --- ignition-dracut %post that is -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com