colima icon indicating copy to clipboard operation
colima copied to clipboard

Colima fails to start when VM driver is set to `vz`.

Open wujekbogdan opened this issue 2 years ago • 2 comments

Description

After setting vmType: vz I'm getting the following error message when starting Colima

→ colima start
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0001] starting ...                                  context=vm
> Using the existing instance "colima"
> Starting the instance "colima" with VM driver "vz"
> [hostagent] hostagent socket created at /Users/wujekbogdan/.colima/_lima/colima/ha.sock
> [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/wujekbogdan/.colima/_lima/colima/serial*.log")
> exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see "/Users/wujekbogdan/.colima/_lima/colima/ha.stderr.log")
FATA[0001] error starting vm: error at 'starting': exit status 1

Version

colima version 0.6.6
git commit: 9ed7f4337861931b4d0192ca5409683a4b7d1cdc
limactl version 0.19.0
qemu-img version 8.1.3

Operating System

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

Output of colima status

FATA[0000] colima is not running

Reproduction Steps

  1. set vmType: vz
  2. run colima start

Expected behaviour

Colima starts

Additional context

  • Everything works fine with vmType: qemu
  • Not sure if it makes ant difference, but I tried various mountType settings because of the comment I found in the config that says "Default: virtiofs (for vz), sshfs (for qemu)".

wujekbogdan avatar Dec 11 '23 13:12 wujekbogdan

try colima delete before colima start --vm-type=vz

ujanssen avatar Jan 30 '24 07:01 ujanssen

That worked, but doesn't it indicate an issue? Deletion shouldn't be required when toggling between vmType settings.

wujekbogdan avatar Jan 30 '24 08:01 wujekbogdan