colima icon indicating copy to clipboard operation
colima copied to clipboard

Waiting for the essential requirement 1 of 5: "ssh"

Open mendezona opened this issue 1 year ago • 1 comments

Description

I seem to be getting some sort of network error when trying to start Colima using the command colima start --arch amd.

I get the following error messages in terminal:

  • [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
  • did not receive an event with the "running" status
  • FATA[0601] error starting vm: error at 'starting': exit status 1

I receive more IPV6/IPV4 error related messages in serial.log but I'm not sure what to make of them. Any help would be appreciated! :)

serial.log

Version

Colima Version: 0.4.4 Lima Version: 0.11.3 Qemu Version: 7.1.0

Operating System

  • [ ] macOS Intel
  • [X] macOS M1
  • [ ] Linux

Reproduction Steps

  1. Open terminal
  2. Type colima start --arch amd
  3. Error message will appear after a few minutes

Attached is my serial.log

Expected behaviour

No response

Additional context

No response

mendezona avatar Sep 12 '22 14:09 mendezona

Not sure if this thread is also related, seems to be different error output message - https://github.com/abiosoft/colima/issues/411

mendezona avatar Sep 12 '22 14:09 mendezona

Can you try again with the development version brew install --head colima ?

abiosoft avatar Sep 18 '22 07:09 abiosoft

Hello, I believe I am still receiving a network error after installing the development version with the command above. Attached are the logs serial.log

mendezona avatar Sep 18 '22 12:09 mendezona

@mendezona how recent was your installation as I pushed some fixes shortly ago.

Also, can you kindly run with colima start --very-verbose and share the output here?

Thanks.

abiosoft avatar Sep 18 '22 12:09 abiosoft

@abiosoft - Hey I reinstalled the development version again 5 minutes ago and still getting the network error. Here is the serial.log after running colima start --arch amd, and then the serial and output logs after running colima start --very-verbose serial.log Screen Shot 2022-09-18 at 3 21 29 PM serial.log

mendezona avatar Sep 18 '22 13:09 mendezona

Ah yes, using delete then start seems to solve it - thanks for the tip! This even works in the non-development version of Colima

mendezona avatar Sep 22 '22 13:09 mendezona

This issue in Lima might be related: https://github.com/lima-vm/lima#stuck-on-waiting-for-the-essential-requirement-1-of-x-ssh

johntellsall avatar Oct 29 '22 23:10 johntellsall

For others getting here, I had to

colima delete
colima start --arch x86_64

Colima downloaded the some x86_64 file and then proceeded. It still showed Waiting for the essential requirement 1 of 5: "ssh" twice for about a minute but then finished.

gaspar09 avatar Dec 02 '22 22:12 gaspar09