colima
colima copied to clipboard
[Colima] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
Description
Hi, When i try to start colima by running command colima start --memory 8 --arch x86_64 it gets stuck and then it give below error:
colima start --memory 8 --arch x86_64 ✔ 11:49:37 INFO[0000] starting colima INFO[0000] runtime: docker INFO[0000] preparing network ... context=vm INFO[0000] creating and starting ... context=vm
[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.
I have McBook M1 with apple chip. Colima version: stable 0.4.4 (bottled)
Version
Colima Version: stable 0.4.4 (bottled) Lima Version: stable 0.11.3 (bottled) Qemu Version: stable 7.0.0 (bottled)
Operating System
- [ ] macOS Intel
- [X] macOS M1
- [ ] Linux
Reproduction Steps
1.colima start --memory 8 --arch x86_64 2. 3.
Expected behaviour
No response
Additional context
No response
Can you try again with the development version brew install --head colima
?
after doing a colima delete then colima star it has worked for me
Hi I'm basically seeing the same thing - it wasn't an issue until recently; seems explicitly when booting with arch: x86_64
Here is the serial.log file:
[2J[01;01H[=3h[2J[01;01HBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00001 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0): Not Found
BdsDxe: failed to load Boot0002 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0): Not Found
BdsDxe: failed to load Boot0003 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x7,0x0): Not Found
>>Start PXE over IPv4.
PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0004 "UEFI PXEv4 (MAC:5255556DF58D)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(5255556DF58D,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0): Not Found
>>Start PXE over IPv6.
PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0005 "UEFI PXEv6 (MAC:5255556DF58D)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(5255556DF58D,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000): Not Found
>>Start HTTP Boot over IPv4.....
Error: Could not retrieve NBP file size from HTTP server.
Error: Server response timeout.
BdsDxe: failed to load Boot0006 "UEFI HTTPv4 (MAC:5255556DF58D)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(5255556DF58D,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)/Uri(): Not Found
>>Start HTTP Boot over IPv6.
Error: Could not retrieve NBP file size from HTTP server.
Error: Unexpected network error.
BdsDxe: failed to load Boot0007 "UEFI HTTPv6 (MAC:5255556DF58D)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(5255556DF58D,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000)/Uri(): Not Found
BdsDxe: loading Boot0008 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0008 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
[2J[01;01H[01;01HUEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
[1m[33m[40mMapping table[0m[37m[40m
[1m[33m[40m FS0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40mCD0a65535a0b:;BLK2:
PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/CDROM(0x0)/HD(1,MBR,0x00000000,0x0,0xB40)
[1m[33m[40m BLK4:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
PciRoot(0x0)/Pci(0x7,0x0)
[1m[33m[40m BLK5:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
PciRoot(0x0)/Pci(0x7,0x0)/HD(1,MBR,0x052A1B19,0x800,0x77FF800)
[1m[33m[40m BLK0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)
[1m[33m[40m BLK1:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/CDROM(0x0)
[1m[33m[40m BLK3:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0)
[18;01HPress [1m[37m[40mESC[0m[37m[40m in 5 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[18;01HPress [1m[37m[40mESC[0m[37m[40m in 4 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[18;01HPress [1m[37m[40mESC[0m[37m[40m in 3 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[18;01HPress [1m[37m[40mESC[0m[37m[40m in 2 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[18;01HPress [1m[37m[40mESC[0m[37m[40m in 1 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.
[19;01H[1m[33m[40mShell> [0m[37m[40m
@OliHarris what's your machine type and what version of Colima are you using?
@abiosoft - hey there, thanks for getting back - I am on macOS M1. Things seem a bit better today, so will let you know if I find any other unusual behaviour!
after commenting out my env variable in .zshrc file and the do the colima start again, issue resolved for me.
Hey @deepak-katiyar, what env var did you remove? I'm having the same issue and could not find your solution to this problem here in the thread 🤔
Same error for me, any update?
@jhohlfeld I found which variable said @deepak-katiyar:
Some env var seems to have an unexpected value. Could you try unsetting that env var?
- exec /mnt/lima-cidata/boot.sh /mnt/lima-cidata/boot.sh: 25: export:
: bad variable name lima/pkg/cidata/cidata.TEMPLATE.d/boot.sh
Line 25 in 1af4811 [ -n "$line" ] && export "$line"
you can see the complete post here, https://codesti.com/issue/lima-vm/lima/1039
I also have similar issue
I try to do colima start --memory 8 --arch x86_64 --network-address
and then work for me