fork/exec error when deploying k8s charm to arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Undecided
|
Ben Hoyt |
Bug Description
Hi Juju team!
I was investigating one issue from a member of the community and to understand better the deployment of charms on arm64 (M2 proc) I tried to deploy two charms that have revisions for arm64:
- https:/
- https:/
However, both failed with the following error:
unit-coredns-0: 14:38:08 ERROR unit.coredns/
Traceback (most recent call last):
File "/var/lib/
main(
File "/var/lib/
_emit_
File "/var/lib/
event_
File "/var/lib/
framework.
File "/var/lib/
self.
File "/var/lib/
custom_
File "/var/lib/
container.
File "/var/lib/
self.
File "/var/lib/
return self._services_
File "/var/lib/
raise ChangeError(
ops.pebble.
- Start service "coredns" (cannot start service: fork/exec /coredns: exec format error)
----- Logs from task 0 -----
2023-06-
-----
unit-coredns-0: 14:38:09 ERROR juju.worker.
unit-coredns-0: 14:38:09 ERROR juju.worker.uniter pebble poll failed for container "coredns": failed to send pebble-ready event: hook failed
Those charms worked fine on amd64 on a cloud instance (at least I saw that they reached the active/idle state).
Is is a problem in the charms or in Juju?
description: | updated |
OS: Ubuntu 22.04 running through Multipass on macOS 13.4.1
Juju version: 2.9.43
microk8s version: v1.24.14