kwasm-operator: exec container process `/wasi_example_main.wasm`: Exec format error
Hi Team,
I was playing with the kwasm operator. I followed the steps in the official docs but encountered an error. Can you please assist me with this? A few days ago, it was working fine. Today, I checked again and encountered an error.
Environment Details:
Kubernetes Version: v1.28
Environment Type: Sandbox
CRI: containerd 1.6.6
Working:
Not Working:
Error Output:
controlplane ~ ➜ kubectl logs pod/wasm-test-gmzpv
{"msg":"exec container process `/wasi_example_main.wasm`: Exec format error","level":"error","time":"2023-09-25T17:42:14.765200Z"}
Earlier, crun is managed by the kwasm operator; now, I have to install it manually. Did we update anything recently? Can you share any URL where I can read about this?
Thanks & Regards,
About this issue
- Original URL
- State: open
- Created 9 months ago
- Comments: 17 (7 by maintainers)
Commits related to this issue
- Adapt examples to 0.3.0 installer linked to https://github.com/KWasm/kwasm-operator/issues/27 Signed-off-by: Sven Pfennig <s.pfennig@reply.de> — committed to KWasm/kwasm.github.io by 0xE282B0 9 months ago
- Adapt examples to 0.3.0 installer linked to KWasm/kwasm-operator#27 Signed-off-by: Sven Pfennig <s.pfennig@reply.de> — committed to KWasm/kwasm-node-installer by 0xE282B0 9 months ago
Hi @Tej-Singh-Rana,
I tried to reproduce your setup but can’t reproduce your issue.
Here is what I did: I got a VM from civo.com. I choose a
Mediuminstance (2 CPU amd64 / 4 GB RAM / 50 GB Disk / Ubuntu 20.04) and set up a single node cluster after the official docs: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/Detailed steps
Install prerequisites
Set up cluster
Install and test KWasm operator
Test results
KWasm.sh quickstart
I also tried the example from KWasm.sh, also without issues:
Summary
I used a CIVO
MediumVM instance (2 CPU amd64 / 4 GB RAM / 50 GB Disk / Ubuntu 20.04) and here are the versions of the tools I used:I have not been able to reproduce your problem. Is there anything I did that is different from your setup?
Content of the
config.tomlfile:https://kwasm.sh/quickstart/#installation
https://github.com/KWasm/kwasm-node-installer/releases/tag/v0.3.0
Content of the
config.tomlfile:https://kwasm.sh/quickstart/#wasm-runtime-configuration