coreos-assembler: coreos-assembler breaks on ppc64le

This is the error I see when trying to run this on the ppc64le architecture.

[root@rhel-ocpapp1 coreos]# coreos-assembler init https://github.com/coreos/fedora-coreos-config
Trying to pull quay.io/cgwalters/coreos-assembler...Getting image source signatures
Copying blob sha256:e69e955c514f72cef9e9e7db408266a32ba48133f0e2a27d5e4b52ed1995d864
 85.99 MB / 85.99 MB [=====================================================] 10s
Copying blob sha256:a8a4d821e15658a276717ed65d865469e12dabbde7cf1871c755025118b58f3b
 160 B / 160 B [============================================================] 0s
Copying blob sha256:99a83b419d3cb4c515d32e0af4ca354f48dd4fdc40872f7bd0e4b939a04afee8
 2.53 KB / 2.53 KB [========================================================] 0s
Copying blob sha256:8faffdba319aeddefcd0a7598774221bf6ac3e7ba136bc147e0231a74e6166fc
 1.16 KB / 1.16 KB [========================================================] 0s
Copying blob sha256:a417b5e014d6bfb6b81ce057971d82f67739a0c9ebd47dd615939a63255cd7a7
 561.86 MB / 561.86 MB [===================================================] 56s
Copying blob sha256:acf8382988a511a2e77d66b6db5d6ab926198625b1d451a21040458b984184ba
 3.51 MB / 3.51 MB [========================================================] 0s
Copying blob sha256:b4118eadddddafb8e15b73ac929c6cb0e40a53036d49d87c611982c9c66adf96
 169.87 MB / 169.87 MB [===================================================] 19s
Copying blob sha256:134fd40227f49150593822289e2fd1efdf359ec2730aaf6ab01488001eab3b65
 3.32 KB / 3.32 KB [========================================================] 0s
Copying blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
 32 B / 32 B [==============================================================] 0s
Copying blob sha256:710caf03ad410b4ffd7ae487eb56e51e6a3b58f16a9711f551f03cbed8a40973
 137 B / 137 B [============================================================] 0s
Skipping fetch of repeat blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Skipping fetch of repeat blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Skipping fetch of repeat blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Skipping fetch of repeat blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Writing manifest to image destination
Storing signatures
standard_init_linux.go:190: exec user process caused "exec format error"

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 74 (52 by maintainers)

Most upvoted comments

It turns out that SMBIOS is only available on x86 and ARM. fw_cfg is available on more architectures, but not ppc64:

https://github.com/torvalds/linux/blob/ef78e5ec9214376c5cb989f5da70b02d0c117b66/drivers/firmware/Kconfig#L199-L201

Well, we don’t really need qemu_fw_cfg. It just makes it really convenient to test locally, right?

At present, if we don’t have it, there’s no reasonable way to pass an Ignition config to a ppc64 QEMU VM (https://github.com/coreos/ignition/issues/666). (It’d have to be done by netbooting the guest or modifying the disk image.) That would also affect production virtualization.

Otherwise I guess we could recommend config drives or coreos.config.url for local testing on those platforms?

By policy, Ignition doesn’t support config drives.

For the purposes of the exercise for now, I’d recommend just building rpm-ostree from source in the container. I can make a ppc64le scratch build in Koji if you’d like? Let me do that.

That could be a new Koji tag, it could be something like rpmdistro-gitoverlay running on multiple architectures, it could be ensuring COPR has arch parity - whichever.

Migrating this particular discussion to https://github.com/coreos/fedora-coreos-tracker/issues/84 since I think it warrants it’s own high level topic.

Yeah, probably worth doing a release this week to reduce friction for coreos-assembler users, though I’ll mention that you should be able to use the rpm-ostree from FAHC for the time being.