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

Colima and containers becoming unaccesible after lima 1.0.0 update #1185

Closed
1 of 5 tasks
tonilampela opened this issue Nov 7, 2024 · 5 comments
Closed
1 of 5 tasks

Comments

@tonilampela
Copy link

Description

I think this issue is related to yesterday’s lima 1.0.0 update. Since I installed I’ve started to see all my containers becoming inaccessible after a random period of running. I use docker-compose and even docker-compose restart for a project just hangs.

There is a new issue in lima github that might be related to that, but I don’t have technical knowledge to know for sure.

Version

colima version 0.7.6
git commit: 3ab92f5
limactl version 1.0.0
qemu-img version 9.1.1

Operating System

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

Output of colima status

INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/toni/.colima/default/docker.sock

Reproduction Steps

  1. Start colima
  2. Start some docker containers
  3. Wait x minutes
  4. Containers become unreachable

Expected behaviour

No response

Additional context

No response

@msogrin
Copy link

msogrin commented Nov 7, 2024

I had a similar problem, but with VZ.
Containers became unresponsive. After a few more minutes, Colima was reporting "Stopped" status for the profile without me stopping it.

@msogrin
Copy link

msogrin commented Nov 7, 2024

Recreating Colima profile from scratch results in the same behaviour.
Errors in ha.stderr.log, repeated many times

{"level":"debug","msg":"error in tcp tunnel for id: tcp-127.0.0.1:5432-127.0.0.1:64847 error:readfrom tcp 127.0.0.1:5432-\u003e127.0.0.1:64847: rpc error: code = Unavailable desc = error reading from server: EOF","time":"2024-11-07T09:44:33Z"}
{"error":"rpc error: code = Unavailable desc = error reading from server: EOF","level":"warning","msg":"guest agent events closed unexpectedly","time":"2024-11-07T09:44:33Z"}

Container itself (Postgres, in this case) seems to be working (printing new log messages), but inaccessible from network.

@msogrin
Copy link

msogrin commented Nov 7, 2024

Workaround from #1181 (comment) seems to work.

@abiosoft
Copy link
Owner

abiosoft commented Nov 7, 2024

A release is imminent.

@abiosoft
Copy link
Owner

abiosoft commented Nov 8, 2024

A new release has been published https://github.com/abiosoft/colima/releases/tag/v0.8.0.

@abiosoft abiosoft closed this as completed Nov 8, 2024
tmeijn pushed a commit to tmeijn/dotfiles that referenced this issue Nov 20, 2024
This MR contains the following updates:

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

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.0`](https://github.com/abiosoft/colima/releases/tag/v0.8.0)

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

#### Highlights

This is a new release to address compatibility issues with [Lima v1.0.0](https://github.com/lima-vm/lima/releases/tag/v1.0.0).

-   Colima now utilises virtualization.framework on macOS when Qemu is not available. Fixes [#&#8203;1188](abiosoft/colima#1188).
-   SSH port-forwarding is retained for Lima v1.0.0. Fixes [#&#8203;1181](abiosoft/colima#1181), [#&#8203;1184](abiosoft/colima#1184), [#&#8203;1185](abiosoft/colima#1185).

#### Other Updates

-   Nested Virtualization is now supported with the `--nested-virtualization` flag or `nestedVirtualization` config for m3 devices.
-   The default disk size is now 100GiB.

#### Commits

-   core: retain SSH port forwarder by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1182
-   core: make qemu an optional dependency by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1187

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

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

[Compare Source](abiosoft/colima@v0.7.5...v0.7.6)

#### Highlights

This release introduces the `colima update` command to update the container runtime version (e.g. Docker version) without needing to upgrade Colima or wait for the next release.

#### Other Fixes

-   Avoid error when docker-certs directory does not exist. Fixes [#&#8203;1128](abiosoft/colima#1128).
-   Update host-gateway-ip in proxy settings for docker daemon. Fixes [#&#8203;956](abiosoft/colima#956), [#&#8203;1040](abiosoft/colima#1040).

#### Commits

-   docker: avoid error where the cache docker-certs directory does not exist by [@&#8203;AlexanderOMara](https://github.com/AlexanderOMara) in abiosoft/colima#1129
-   build(deps): bump golang.org/x/term from 0.23.0 to 0.24.0 by [@&#8203;dependabot](https://github.com/dependabot) in abiosoft/colima#1133
-   docs: fixed typo on Apple Silicon in README by [@&#8203;analogsignals](https://github.com/analogsignals) in abiosoft/colima#1137
-   docker: replace 127.0.0.1 with host gateway ip in docker daemon.json proxy settings by [@&#8203;rteeling-evernorth](https://github.com/rteeling-evernorth) in abiosoft/colima#1145
-   ci: bump Go version by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1148
-   net: update vmnet by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1152
-   build(deps): bump golang.org/x/term from 0.24.0 to 0.25.0 by [@&#8203;dependabot](https://github.com/dependabot) in abiosoft/colima#1154
-   Minor updates by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1156
-   ci: use older qemu version by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1160
-   build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 by [@&#8203;dependabot](https://github.com/dependabot) in abiosoft/colima#1171
-   cli: add update command by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1178
-   core: update disk images by [@&#8203;abiosoft](https://github.com/abiosoft) in abiosoft/colima#1179

#### New Contributors

-   [@&#8203;AlexanderOMara](https://github.com/AlexanderOMara) made their first contribution in abiosoft/colima#1129
-   [@&#8203;analogsignals](https://github.com/analogsignals) made their first contribution in abiosoft/colima#1137
-   [@&#8203;rteeling-evernorth](https://github.com/rteeling-evernorth) made their first contribution in abiosoft/colima#1145

**Full Changelog**: abiosoft/colima@v0.7.5...v0.7.6

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
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

3 participants