You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could we in the mean time drop the hard requirement on the qemu_fw_cfg as it break the coreos assembler on platforms that are not supported by it. And from my understanding it is not only way how to interact with ignition, right?
@dustymabe respective kernel module doesn't exists on those platforms so dracut during initramfs always errorout
To clarify my drop has been directed in direction of dropping the requirement on not supported arches(this could be done even on spec file level).
could you try to provide ignition.config.url=http://example.com/ignition.ign on the kernel command line and see if it still errors out?
Ignition itself doesn't require it for building, only at runtime. I'm guessing this is erroring out when rpm-ostree runs dracut and tries to install the kernel module to the initramfs?
There's not a lot to change in this repo other than adding the ability to exclude platforms from the build process. I'm fine with building Ignition with qemu support that doesn't work on some arches short term. But long term we need to fix it or have a way to disable platforms at compile time. I suppose we could have a patch applied to the spec file that removes qemu support on unsupported platforms, but that seems hacky; it'd be better to make the ignition build process more modular.
@ajeddeloh tbh me neither. I will dig in to the possibility to do it "cleanly" in dracut, otherwise IMHO some ifarch patch will be good for the mean time.
No. it has been a more urgent requirement for s390x, becauseOpenshft libvirt IPI was the only way possible for running the CI. For ppc64, we have the Openstack platform for running the CI, so in terms of priority it has taken a backseat.
Activity
bgilbert commentedon Jan 9, 2019
Ideally QEMU and libvirt would gain support for a generic userdata mechanism that works on all CPU architectures; see #656 (comment).
jcajka commentedon Feb 20, 2019
Could we in the mean time drop the hard requirement on the qemu_fw_cfg as it break the coreos assembler on platforms that are not supported by it. And from my understanding it is not only way how to interact with ignition, right?
dustymabe commentedon Feb 20, 2019
What specific error are you seeing?
It is on theqemu(local qemu/libvirt) platform.I didn't realize you had said only way
jcajka commentedon Feb 20, 2019
@dustymabe respective kernel module doesn't exists on those platforms so dracut during initramfs always errorout
To clarify my drop has been directed in direction of dropping the requirement on not supported arches(this could be done even on spec file level).
dustymabe commentedon Feb 20, 2019
could you try to provide
ignition.config.url=http://example.com/ignition.ignon the kernel command line and see if it still errors out?jcajka commentedon Feb 20, 2019
It is at build time of artifacts.
ajeddeloh commentedon Feb 20, 2019
Ignition itself doesn't require it for building, only at runtime. I'm guessing this is erroring out when rpm-ostree runs dracut and tries to install the kernel module to the initramfs?
jcajka commentedon Feb 20, 2019
@ajeddeloh yes, that is the case
jcajka commentedon Feb 20, 2019
Do you prefer some change to this repo or just "per package" patch in the spec?
dustymabe commentedon Feb 20, 2019
right I was thinking it was probably
ignition-dracut.. so we would make the change there:https://github.com/coreos/ignition-dracut/blob/master/dracut/30ignition/module-setup.sh#L78
Can we do arch specific things in dracut modules ?
ajeddeloh commentedon Feb 20, 2019
There's not a lot to change in this repo other than adding the ability to exclude platforms from the build process. I'm fine with building Ignition with qemu support that doesn't work on some arches short term. But long term we need to fix it or have a way to disable platforms at compile time. I suppose we could have a patch applied to the spec file that removes qemu support on unsupported platforms, but that seems hacky; it'd be better to make the ignition build process more modular.
The changes would probably need to be made around here: https://github.com/coreos/ignition-dracut/blob/master/dracut/30ignition/module-setup.sh#L78 but I'm not sure what the normal approach for specifying different behavior with different arches for dracut is.
dustymabe commentedon Feb 20, 2019
i guess dracut is just bash scripts so can probably just
uname -iand act differently based on that.jcajka commentedon Feb 20, 2019
@ajeddeloh tbh me neither. I will dig in to the possibility to do it "cleanly" in dracut, otherwise IMHO some ifarch patch will be good for the mean time.
jlebon commentedon Feb 26, 2020
@jaypoulz @Prashanth684 Has a channel for PPC64 been investigated and discussed?
Prashanth684 commentedon Feb 26, 2020
No. it has been a more urgent requirement for s390x, becauseOpenshft libvirt IPI was the only way possible for running the CI. For ppc64, we have the Openstack platform for running the CI, so in terms of priority it has taken a backseat.