Skip to content

openshell-driver-vm v0.0.40 hangs during MicroVM initialization on macOS M1 #1809

Description

@ShivaKumar0786

Agent Diagnostic

Investigated sandbox creation failures on Apple Silicon Macs using the MicroVM runtime. Traced the sandbox creation workflow through openshell-driver-vm (v0.0.40) and verified the execution path using driver logs, sandbox filesystem artifacts, process inspection, and manual rootfs extraction testing.

The driver successfully resolves the container image, creates the sandbox directory structure, and extracts the root filesystem (~4.5 GB). However, during VM startup, the process hangs indefinitely while initializing the MicroVM through libkrun. No libkrun process is launched, no additional logs are emitted, and the operation eventually fails with a timeout error.

Description

Sandbox creation fails with a timeout error. The openshell-driver-vm process hangs indefinitely during libkrun VM initialization, preventing the sandbox from starting.

Reproduction Steps

Configure OpenShell to use the MicroVM driver (openshell-driver-vm).
Run a command that creates a new sandbox.
Observe sandbox initialization progress.
Wait for the operation to complete.
The sandbox creation eventually fails with a timeout error.
Review driver logs and observe that logging stops after image resolution/rootfs extraction.
Verify that no libkrun VM process is started.

Environment

OS: macOS (ARM64 / Apple Silicon)
Hardware: M1 Mac
Driver: openshell-driver-vm v0.0.40
VM Runtime: libkrun

Logs

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

    questionFurther information is requested

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions