Skip to content

Support userdata on QEMU PPC64 #666

Open

Description

@bgilbert

Feature Request

Environment

QEMU ppc64

Desired Feature

Support reading an Ignition config from userdata. fw_cfg is not supported on ppc64.

Other Information

SMBIOS OEM strings are also not supported; see #656 (comment).

Activity

  1. bgilbert commented on Jan 9, 2019

    @bgilbert
    ContributorAuthor

    Ideally QEMU and libvirt would gain support for a generic userdata mechanism that works on all CPU architectures; see #656 (comment).

  2. jcajka commented on Feb 20, 2019

    @jcajka
    Contributor

    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?

  3. dustymabe commented on Feb 20, 2019

    @dustymabe
    Member

    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.

    What specific error are you seeing?

    And from my understanding it is not only way how to interact with ignition, right?

    It is on the qemu (local qemu/libvirt) platform.

    I didn't realize you had said only way

  4. jcajka commented on Feb 20, 2019

    @jcajka
    Contributor

    @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).

  5. dustymabe commented on Feb 20, 2019

    @dustymabe
    Member

    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?

  6. jcajka commented on Feb 20, 2019

    @jcajka
    Contributor

    It is at build time of artifacts.

  7. ajeddeloh commented on Feb 20, 2019

    @ajeddeloh
    Contributor

    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?

  8. jcajka commented on Feb 20, 2019

    @jcajka
    Contributor

    @ajeddeloh yes, that is the case

  9. jcajka commented on Feb 20, 2019

    @jcajka
    Contributor

    Do you prefer some change to this repo or just "per package" patch in the spec?

  10. dustymabe commented on Feb 20, 2019

    @dustymabe
    Member

    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 ?

  11. ajeddeloh commented on Feb 20, 2019

    @ajeddeloh
    Contributor

    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.

  12. dustymabe commented on Feb 20, 2019

    @dustymabe
    Member

    i guess dracut is just bash scripts so can probably just uname -i and act differently based on that.

  13. jcajka commented on Feb 20, 2019

    @jcajka
    Contributor

    @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.

  14. jlebon commented on Feb 26, 2020

    @jlebon
    Member

    @jaypoulz @Prashanth684 Has a channel for PPC64 been investigated and discussed?

  15. Prashanth684 commented on Feb 26, 2020

    @Prashanth684
    Contributor

    @jaypoulz @Prashanth684 Has a channel for PPC64 been investigated and discussed?

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions