abiosoft / abiosoft/colima

Colima fails to start: FATA[0600] error starting vm: error at 'creating and starting': exit status 1

Offen
#905 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
30.8k
Forks
613
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Description

Colima fails to start unless `--arch x86_64 --cpu-type max` args are passed.

Simply running `colima start` fails with the following output:

```
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] creating and starting ... context=vm
> [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
> [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
> [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
> [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
> [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
> did not receive an event with the "running" status
FATA[0600] error starting vm: error at 'creating and starting': exit status 1
```

Sometimes it also fails with an error about `QEMU not exiting in 3m0s` or something like that, I haven't got that in a while...

### Version

```
colima version 0.6.5
git commit: a3adebfcd9da8c85614d81030033d02f04908a79

runtime: docker
arch: x86_64
client: v24.0.7
server: v24.0.7
limactl version 0.18.0
qemu-img version 8.1.3
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
```

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [ ] Apple Silicon <= 13 (Ventura)
- [X] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

```
Apple M2 Max Chip
32 GB RAM
1 TB SSD
Sonoma 14.1.1
```

### Output of `colima status`

`FATA[0003] error retrieving current runtime: empty value `

### Reproduction Steps

1. brew install colima
2. colima start

Tried this too:

1. colima delete
2. colima start

### Expected behaviour

Colima to start normally. The only way I can make it work is using these args after a delete or a fresh install:

`colima start --cpu 4 --memory 8 --arch x86_64 --cpu-type max`

### Additional context

Following an unsuccessful start, attempting to start it again with different args will fail with:

`WARN[0000] already running, ignoring `

Stopping colima fails with this other error:

```
INFO[0000] stopping colima
WARN[0002] error retrieving runtimes: error retrieving current runtime: empty value
INFO[0002] stopping ... context=vm
> [hostagent] Waiting for the essential requirement 2 of 5: "user session is ready for ssh"
> [hostagent] Waiting for the essential requirement 2 of 5: "user session is ready for ssh"
> [hostagent] Waiting for the essential requirement 2 of 5: "user session is ready for ssh"
> [hostagent] Waiting for the essential requirement 2 of 5: "user session is ready for ssh"
> [hostagent] Waiting for the essential requirement 2 of 5: "user session is ready for ssh"
> did not receive an event with the "exiting" status
FATA[0182] error stopping vm: error at 'stopping': exit status 1
```

Attempting to start it again after the unsuccessful stop using known working params will fail with the original error.

```
> [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
> did not receive an event with the "running" status
FATA[0600] error starting vm: error at 'starting': exit status 1
```

The `serial*.log` logs only show stuff like:

```
BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x1,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: loading Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0)

Synchronous Exception at 0x000000023C308000
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.