abiosoft / abiosoft/colima

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

Open
#777 19 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30.8k
Forks
613
PR merge metrics
No merged PRs in 30d

Description

### 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)
- [X] 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.