Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start colima after upgrade to 0.7.3 #1116

Closed
1 of 5 tasks
joggeli34 opened this issue Aug 20, 2024 · 3 comments
Closed
1 of 5 tasks

Unable to start colima after upgrade to 0.7.3 #1116

joggeli34 opened this issue Aug 20, 2024 · 3 comments

Comments

@joggeli34
Copy link

Description

After the upgrade, the colima service is not able to start anymore and failes with a "connection refused"

{"level":"debug","msg":"Creating iso file /Users/joggeli34/.colima/_lima/colima/cidata.iso","time":"2024-08-20T17:18:12+02:00"}
{"level":"debug","msg":"Using /var/folders/yd/fq77396j36q832zq7k7ygd8r0000gn/T/diskfs_iso2456784916 as workspace","time":"2024-08-20T17:18:12+02:00"}
{"level":"debug","msg":"Failed to detect CPU features. Assuming that AES acceleration is available on this Apple silicon.","time":"2024-08-20T17:18:12+02:00"}
{"level":"debug","msg":"OpenSSH version 9.7.1 detected","time":"2024-08-20T17:18:12+02:00"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing aes128-gcm@openssh.com and aes256-gcm@openssh.com","time":"2024-08-20T17:18:12+02:00"}
{"level":"info","msg":"hostagent socket created at /Users/joggeli34/.colima/_lima/colima/ha.sock","time":"2024-08-20T17:18:12+02:00"}
{"level":"info","msg":"Starting VZ (hint: to watch the boot progress, see \"/Users/joggeli34/.colima/_lima/colima/serial*.log\")","time":"2024-08-20T17:18:12+02:00"}
{"level":"fatal","msg":"dial unix /Users/joggeli34/.colima/_lima/_networks/user-v2/user-v2_fd.sock: connect: connection refused","time":"2024-08-20T17:18:12+02:00"}

brew services list shows follwoing:

brew services list  
Name    Status     User        File
colima  error  256 joggeli34 ~/Library/LaunchAgents/homebrew.mxcl.colima.plist

I'm using vz and have a apple m3 Pro

Version

colima version 0.7.3
git commit: a66b375
limactl version 0.23.1
qemu-img version 9.0.2
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
Docker version 27.1.2, build d01f264bcc

Operating System

  • macOS Intel <= 13 (Ventura)
  • macOS Intel >= 14 (Sonoma)
  • Apple Silicon <= 13 (Ventura)
  • Apple Silicon >= 14 (Sonoma)
  • Linux

Output of colima status

FATA[0000] colima is not running

Reproduction Steps

Just trying to start with brew services restart colima

Expected behaviour

No response

Additional context

No response

@abiosoft
Copy link
Owner

Can you try the following command and try again.

rm -rf .colima/_lima/_networks

@joggeli34
Copy link
Author

Yes that did the job.
Thanks for the help

@abiosoft
Copy link
Owner

This should be resolved now with the new release https://github.com/abiosoft/colima/releases/tag/v0.8.1.

tmeijn pushed a commit to tmeijn/dotfiles that referenced this issue Dec 21, 2024
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [abiosoft/colima](https://github.com/abiosoft/colima) | patch | `v0.8.0` -> `v0.8.1` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>abiosoft/colima (abiosoft/colima)</summary>

### [`v0.8.1`](https://github.com/abiosoft/colima/releases/tag/v0.8.1)

[Compare Source](abiosoft/colima@v0.8.0...v0.8.1)

#### Highlights

This is an incremental release with bug fixes.

#### Fixes

-   Cleanup of network assets directory on startup. Fixes [#&#8203;1210](abiosoft/colima#1210), [#&#8203;1029](abiosoft/colima#1029), [#&#8203;1212](abiosoft/colima#1212), [#&#8203;1116](abiosoft/colima#1116).
-   Use of primary network adapter as default route when external network address is enabled. Fixes [#&#8203;1214](abiosoft/colima#1214).

#### Other Updates

-   `VZ` is now the default virtual machine type on macOS 13 or newer. Qemu can still be used if specified.
-   Disk image can now be downloaded locally and specified with the `--disk-image` flag for `colima start`.

##### Runtime version bumps

Runtime version can be updated running the `colima update` command.

-   Docker version updated to `27.4.0`
-   Nerdctl version updated to `2.0.2`
-   Incus version updated to `6.8`

#### Commits

-   ci: fix integration tests by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1190
-   build(deps): bump golang.org/x/term from 0.25.0 to 0.26.0 by [@&#8203;dependabot](https://github.com/dependabot) in abiosoft/colima#1189
-   core: update disk images by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1191
-   cli: add --json flag to status command by [@&#8203;ecrousseau](https://github.com/ecrousseau) in abiosoft/colima#1196
-   config: ability to specifying memory in decimal GiB by [@&#8203;qiao-summer](https://github.com/qiao-summer) in abiosoft/colima#1206
-   build(deps): bump golang.org/x/term from 0.26.0 to 0.27.0 by [@&#8203;dependabot](https://github.com/dependabot) in abiosoft/colima#1207
-   net: clear assets directory on startup by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1213
-   net: set route for external address by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1214
-   core: update disk images by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1215
-   vm: add support for custom disk images by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1216
-   config: use vz as default vm type on macOS 13 or newer by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1217
-   ci: clean up by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1220

#### New Contributors

-   [@&#8203;ecrousseau](https://github.com/ecrousseau) made their first contribution in abiosoft/colima#1196
-   [@&#8203;qiao-summer](https://github.com/qiao-summer) made their first contribution in abiosoft/colima#1206

**Full Changelog**: abiosoft/colima@v0.8.0...v0.8.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43Ny4wIiwidXBkYXRlZEluVmVyIjoiMzkuNzcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants