colima: FATA[0600] error starting vm: error at 'creating and starting': exit status 1

Description

Hi Team, I am new to colima. I am trying to get it up on macos with M2 chip.

It is getting stuck at [hostagent] Waiting for the essential requirement 1 of 5: “ssh”.

I have tried colima stop --force and colima delete and start again as well but same output every time.

I am starting as - “colima start -c 4 -m 12 -a x86_64 --very-verbose” below is the output.

colima start -c 4 -m 12 -a x86_64 --very-verbose
TRAC[0000] cmd [“limactl” “info”]
TRAC[0000] cmd [“limactl” “list” “colima” “–json”]
TRAC[0000] error retrieving running instance: instance ‘colima’ does not exist INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] preparing network … context=vm TRAC[0000] cmd [“/opt/homebrew/bin/colima” “daemon” “status” “default”] TRAC[0000] cmd [“/opt/homebrew/bin/colima” “daemon” “start” “default” “–gvproxy” “–very-verbose”] INFO[0000] creating and starting … context=vm TRAC[0000] cmd [“limactl” “start” “–tty=false” “/var/folders/ct/5g8zpgbj187171z4jj85y4xw0000gn/T/colima.yaml”]

Terminal is not available, proceeding without opening an editor “Attempting to download the image” arch=x86_64 digest=“sha512:f761b807fe9ba345968df72c07f8c5abcae0c4a44976fe5595c0ff748ef693841221a70e663986c700b027cea32b7cac24d5490d4c721593c39f2b8840c362a2” location=“https://github.com/abiosoft/alpine-lima/releases/download/colima-v0.5.5/alpine-lima-clm-3.18.0-x86_64.iso” Using cache “/Users/mustafaawad/Library/Caches/lima/download/by-url-sha256/50d875a98d6487107ea1ce984f1b8e6ebbddc0e8da0347334649c2c46ca9a84d/data” [hostagent] Starting QEMU (hint: to watch the boot progress, see “/Users/mustafaawad/.lima/colima/serial*.log”) SSH Local Port: 52041 [hostagent] Waiting for the essential requirement 1 of 5: “ssh” [hostagent] Waiting for the essential requirement 1 of 5: “ssh” [hostagent] Waiting for the essential requirement 1 of 5: “ssh” [hostagent] Waiting for the essential requirement 1 of 5: “ssh” [hostagent] Waiting for the essential requirement 1 of 5: “ssh” [hostagent] Waiting for the essential requirement 1 of 5: “ssh” [hostagent] Waiting for the essential requirement 1 of 5: “ssh” [hostagent] Waiting for the essential requirement 1 of 5: “ssh” did not receive an event with the “running” status FATA[0600] error starting vm: error at ‘creating and starting’: exit status 1

Version

Colima Version: colima version 0.5.5 Lima Version: 0.17.2 Qemu Version: 8.1.0

Operating System

  • macOS Intel <= 12 (Monterrey)
  • macOS Intel >= 13 (Ventura)
  • macOS M1 <= 12 (Monterrey)
  • macOS M1 >= 13 (Ventura)
  • Linux

Output of colima status

FATA[0074] error retrieving current runtime: empty value

Reproduction Steps

  1. brew install colima
  2. brew install qemu
  3. “colima start -c 4 -m 12 -a x86_64 --very-verbose”

Expected behaviour

No response

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (2 by maintainers)

Most upvoted comments

I also have the same problem, the fix with downgrading qemu to 8.0.4 worked for me. @dxtich thanks for providing the old qemu brew formula 🙏🏼

@jledesma84 @rainasingh02 workaround works for me:

brew install colima
brew uninstall --ignore-dependencies qemu
brew install dxtich/core/qemu@8.0.4

@jledesma84 @rainasingh02 workaround works for me:

brew install colima
brew uninstall --ignore-dependencies qemu
brew install dxtich/core/qemu@8.0.4

I’ve downgraded qemu from 8.1.0 to 8.0.4 and colima for x86-64 instance works fine on mac book arm. So, the issue seems to be coming from qemu instead of colima.