abiosoft / abiosoft/colima

VM cannot get network address and start k8s after OS restart

オープン
#642 コメント 11 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
30.8k
フォーク
613
PR マージ指標
30日以内にマージされた PR はありません

説明

### Description

Colima VM created on Mac M1 Ventura with enabled --kubernetes and --network-address options lose its network address (192.168.106.2) and cannot start k8s after the MacOS reboot. The VM deletion, then the Mac reboot, and the start of a new VM resolves the issue but only until a next Mac reboot

### Version

Colima Version: 0.5.2
Lima Version: 0.15.0
Qemu Version: I don't know

### 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
INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address:
INFO[0000] socket: unix:///Users/Rostislav_Dublin/.colima/default/docker.sock
INFO[0000] kubernetes: enabled

### Reproduction Steps

1. Create a VM with --kubernetes and --network-address enabled, deploy some k8s workloads, and feel happy...
2. Stop and start your VM if needed, and reconfigure the CPU and memory settings with no problems.
3. Shutdown and reboot your Mac
4. Make sure you cannot successfully get your Kubernetes back to life anymore:
- each time you call "colima start" it now takes too long...
- and during the VM startup you see (in a second terminal window) a blank value in the "colima list" command output ADDRESS column
image

- and after several minutes of waiting you see the final output message:
image

- and if you run "docker ps -a" you see all containers (including k8s) stopped:
image

5. Delete your Colima VM.
6. Reboot your Mac (reboot is mandatory!)
7. Start a new Colima VM
8. Now you have your k8s again... until a next Mac restart

### Expected behaviour

Your VM successfully overcomes OS restarts.

### Additional context

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。