Skip to content

colima start fails due to 'QEMU has already exited' - QEMU 8.0.4 #777

@z0sen

Description

@z0sen

Description

No response

Version

Colima Version: 0.5.5
Lima Version: 0.17.0
Qemu Version: 8.0.4

Operating System

  • macOS Intel <= 12 (Monterrey)
  • macOS Intel >= 13 (Ventura)
  • macOS M1 <= 12 (Monterrey)
  • macOS M1 >= 13 (Ventura)
  • Linux

Output of colima status

FATA[0000] colima is not running

Reproduction Steps

  1. Run colima start

Expected behaviour

colima starts without errors.

Additional context

❯ colima start --very-verbose
TRAC[0000] cmd ["limactl" "info"]
TRAC[0000] cmd ["limactl" "list" "colima" "--json"]
INFO[0000] starting colima
INFO[0000] runtime: docker
TRAC[0000] cmd ["limactl" "list" "colima" "--json"]
INFO[0000] preparing network ... context=vm
TRAC[0000] cmd ["/usr/local/bin/colima" "daemon" "status" "default"]
TRAC[0000] cmd ["/usr/local/bin/colima" "daemon" "stop" "default"]
TRAC[0000] cmd ["/usr/local/bin/colima" "daemon" "start" "default" "--gvproxy" "--very-verbose"]
TRAC[0000] cmd ["limactl" "list" "colima" "--json"]
INFO[0000] starting ... context=vm
TRAC[0000] cmd ["limactl" "start" "colima"]

Using the existing instance "colima"
[hostagent] Starting QEMU (hint: to watch the boot progress, see "/Users/xxx/.lima/colima/serial*.log")
SSH Local Port: 49426
[hostagent] Waiting for the essential requirement 1 of 5: "ssh"
[hostagent] Driver stopped due to error: "exit status 255"
[hostagent] Shutting down the host agent
[hostagent] failed to exit SSH master
[hostagent] Shutting down QEMU with ACPI
[hostagent] failed to open the QMP socket "/Users/xxx/.lima/colima/qmp.sock", forcibly killing QEMU
[hostagent] QEMU has already exited
exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see "/Users/xxx/.lima/colima/ha.stderr.log")
FATA[0001] error starting vm: error at 'starting': exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions