Repository navigation
Description
What happens
producer-vm-base (in opencharly/plugin-firecracker) declares its guest packages through
cloud_init.package: — [sudo, podman] — and the guest it boots has no podman. Everything else
declared alongside it took effect (the users, the timezone), so the guest boots, sshd answers, and the
deploy applies; the package list is what does not land.
Measured
opencharly/plugin-firecracker's check-firecracker-producer-vm bed, 2026-11-13, on the Arch cloud
image path:
[deploy-add] PASS (9.4s) [member deploy] PASS (48.1s) [check-live] FAIL
FAIL check the producer emits a microVM box image inside a disposable guest [producer-artefact-in-guest]
exit=2, want 0 (stderr: NO PODMAN on PATH)
Every other precondition in that same step passed — the project files, the pinned kernel at
/var/lib/firecracker/kernels/5.10/vmlinux, sudo -n true — so the guest is otherwise fully
provisioned. Composing a candy whose distro: arch: package: [podman] section installs it
(the deploy's own transaction log names podman-6.2.0-1), after which the same step advances past
that precondition. So the difference is exactly cloud-init's package list versus the deploy's.
Why it matters
A vm: bed that declares its guest packages through cloud_init.package: is relying on a mechanism
that — measured at least on this distro path — does not deliver them. Every future vm: bed built
from such an entity inherits the same silent gap, and the symptom appears far from the cause: a
command -v <tool> inside an unrelated check step.
What I have not established
The mechanism. Candidates: the cloud-init user-data's package module not running on this image
(no package_update, or a pacman key that needs pacman_update), the module running but failing
silently (cloud-init logs would say), or the seed ISO being regenerated after the module's run
(vm-create.log does print Regenerated cloud-init seed ISO from charly.yml). The guest's
/var/log/cloud-init*.log would decide it, and it is destroyed with the disposable guest — so a
reproduction that captures those logs before teardown is the next step.
Notes
Found while shipping opencharly/charly#1131's consumer bed. The bed itself composes a
producer-vm-engine candy so that its own environment is defined explicitly (a bed may do that),
and its failure message now names the missing engine — but the image-side declaration is what this
issue records, because it should work or say why it does not.
Agent: charly-plugins
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Activity