abiosoft / colima

Container runtimes on macOS (and Linux) with minimal setup
MIT License
17.73k stars 364 forks source link

Colima not starting after upgrading to MacOS 14.5 #1029

Open rachellawson opened 1 month ago

rachellawson commented 1 month ago

Description

I’m seeing a failure to Start Colima after upgrading my MacBook Pro M3 to Mac OS 14.5

Startup log appears to be:

{"level":"debug","msg":"Creating iso file /Users/rlawson/.colima/_lima/colima/cidata.iso","time":"2024-05-14T09:53:04+01:00"} {"level":"debug","msg":"Using /var/folders/kt/_k_x72x90370249hvcjh29lhb9_9bm/T/diskfs_iso1647795550 as workspace","time":"2024-05-14T09:53:04+01:00"} {"level":"debug","msg":"Failed to detect CPU features. Assuming that AES acceleration is available on this Apple silicon.","time":"2024-05-14T09:53:04+01:00"} {"level":"debug","msg":"OpenSSH version 9.6.1 detected","time":"2024-05-14T09:53:04+01:00"} {"level":"debug","msg":"AES accelerator seems available, prioritizing aes128-gcm@openssh.com and aes256-gcm@openssh.com","time":"2024-05-14T09:53:04+01:00"} {"level":"info","msg":"hostagent socket created at /Users/rlawson/.colima/_lima/colima/ha.sock","time":"2024-05-14T09:53:04+01:00"} {"level":"info","msg":"Starting VZ (hint: to watch the boot progress, see \"/Users/rlawson/.colima/_lima/colima/serial*.log\")","time":"2024-05-14T09:53:04+01:00"} {"level":"fatal","msg":"dial unix /Users/rlawson/.colima/_lima/_networks/user-v2/user-v2_fd.sock: connect: connection refused","time":"2024-05-14T09:53:04+01:00"}

Version

colima version 0.6.8 git commit: 9b0809d0ed9ad3ff1e57c405f27324e6298ca04f limactl version 0.22.0 qemu-img version 9.0.0 Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers

installed via brew

Operating System

Output of colima status

FATA[0000] colima is not running

Reproduction Steps

  1. Upgrade to Mac OS 14.5
  2. Run colima

Expected behaviour

Colima starts

Additional context

I tried totally removing colima and reinstalling. No difference.

mscrivo commented 1 month ago

Same here on M1 Mac. Seems fine on Intel ones though

mscrivo commented 1 month ago

actually, I got it working by running:

rm -rf ~/.colima/_lima/_networks/user-v2
colima restart
Physium commented 1 month ago

actually, I got it working by running:

rm -rf ~/.colima/_lima/_networks/user-v2
colima restart

not sure what this does but this works! thanks!

diei commented 1 month ago

My colleague had the same problem and deleting ~/.colima/_lima/_networks/user-v2 does not helped.

The following steps helped:

# Install all colima updates
brew upgrade

# Cleanup whole colima (images, volumes etc. are deleted)
colima delete

colima start
steinmb commented 1 month ago

Non of the "soft" fixes did it for me. Only the fix above worked for me https://github.com/abiosoft/colima/issues/1029#issuecomment-2112429291