abiosoft / abiosoft/colima

Colima start fails with ~/.lima/colima/basedisk: no such file or directory

Open
#754 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30.8k
Forks
613
PR merge metrics
No merged PRs in 30d

Description

### Description

This has happened to multiple people, daily. Can do colima start and stop multiple times, but every once in a while, colima start fails with:

❯ colima start
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] preparing network ... context=vm
INFO[0001] starting ... context=vm
> Using the existing instance "colima"
> exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see "/Users/xxxxxxxxx/.lima/colima/ha.stderr.log")
FATA[0001] error starting vm: error at 'starting': exit status 1

We are all running Mac M1 Pro computers

We need to do a colima delete, then colima start will work. However we lose all our images and need to build/pull them again.

### Version

Colima Version: 0.5.5
Lima Version: 0.16.0
Qemu Version: 8.0.3

### Operating System

- [ ] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [X] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

❯ colima status
FATA[0000] colima is not running

### Reproduction Steps

1. colima start
2.
3.

### Expected behaviour

colima start should start with no errors

### Additional context

the contents of ha.stderr.log:
❯ cat ha.stderr.log
{"level":"debug","msg":"Creating iso file /Users/msolinski/.lima/colima/cidata.iso","time":"2023-07-21T13:44:53-07:00"}
{"level":"debug","msg":"Using /var/folders/38/6shnbjld13bdlzr6wdhsrx200000gq/T/diskfs_iso377245416 as workspace","time":"2023-07-21T13:44:53-07:00"}
{"level":"debug","msg":"Failed to detect CPU features. Assuming that AES acceleration is available on this Apple silicon.","time":"2023-07-21T13:44:53-07:00"}
{"level":"debug","msg":"OpenSSH version 9.0.1 detected","time":"2023-07-21T13:44:53-07:00"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing aes128-gcm@openssh.com and aes256-gcm@openssh.com","time":"2023-07-21T13:44:53-07:00"}
{"level":"debug","msg":"QEMU version 8.0.3 detected","time":"2023-07-21T13:44:53-07:00"}
{"level":"debug","msg":"firmware candidates = [/Users/msolinski/.local/share/qemu/edk2-aarch64-code.fd /Users/msolinski/.colima/_wrapper/3a9197e1ca3cd2da076da2b473d7a7eb118e2cca/share/qemu/edk2-aarch64-code.fd /usr/share/AAVMF/AAVMF_CODE.fd /usr/share/qemu-efi-aarch64/QEMU_EFI.fd]","time":"2023-07-21T13:44:53-07:00"}
{"level":"fatal","msg":"open /Users/msolinski/.lima/colima/basedisk: no such file or directory","time":"2023-07-21T13:44:53-07:00"}

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.