abiosoft / abiosoft/colima

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

Đang mở
#754 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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"}

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.