Skip to content

bug: vm-driver BYOC does not build the container properly causing VM process to exit with 0 #2149

Description

@bornav

Agent Diagnostic

Description

VM does not start exits with status 0

expected is that BYOC behaves same as prepublished image

Reproduction Steps

run local openshell-gateway with driver type vm
add gateway

run openshell sandbox create --from $HOME/git/openshell/bring-your-own-container --name pi -- python

fails with ProcessExited: VM process exited with status 0

log attached bellow

Environment

  • OS: NixOS 26.11 (Zokor) x86_64
  • Openshell: v0.67 / compiled from latest main

Logs

rootfs-console.log:

[    0.090496] EXT4-fs (vda): write access unavailable, skipping orphan cleanup
[0.003s] setting up writable overlay root
[    0.141515] EXT4-fs (vdc): write access unavailable, cannot proceed (try mounting with noload)
mount: /image-cache: cannot mount /dev/vdc read-only.
       dmesg(1) may have more information after failed mount system call.

Agent-First Checklist

  • I pointed my agent at the repo and had it investigate this issue
  • I loaded relevant skills (e.g., debug-openshell-cluster, debug-inference, openshell-cli)
  • My agent could not resolve this — the diagnostic above explains why

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions