Opened 3 weeks ago
Closed 10 days ago
#72567 closed defect (fixed)
Colima & Lima on Mac Monterey
Reported by: | iap (Iko) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | halostatue (Austin Ziegler) | |
Port: | lima, colima |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I have an issue when running Colima on Mac Monterey with warn message, and I guest there no lima-additional-guestagents
package:
WARN[0000] Failed to resolve the guest agent binary for "aarch64" error="guest agent binary could not be found for Linux-aarch64 (Hint: try installing `lima-additional-guestagents` package)" WARN[0000] Failed to resolve the guest agent binary for "armv7l" error="guest agent binary could not be found for Linux-armv7l (Hint: try installing `lima-additional-guestagents` package)" WARN[0000] Failed to resolve the guest agent binary for "ppc64le" error="guest agent binary could not be found for Linux-ppc64le (Hint: try installing `lima-additional-guestagents` package)" WARN[0000] Failed to resolve the guest agent binary for "riscv64" error="guest agent binary could not be found for Linux-riscv64 (Hint: try installing `lima-additional-guestagents` package)" WARN[0000] Failed to resolve the guest agent binary for "s390x" error="guest agent binary could not be found for Linux-s390x (Hint: try installing `lima-additional-guestagents` package)" INFO[0000] starting colima INFO[0000] runtime: docker INFO[0003] creating and starting ... context=vm > [hostagent] Waiting for the essential requirement 1 of 2: "ssh" > [hostagent] Waiting for the essential requirement 1 of 2: "ssh" > [hostagent] Waiting for the essential requirement 1 of 2: "ssh" > [hostagent] QEMU did not exit in 3m0s, forcibly killing QEMU > "[hostagent] QEMU has exited, after killing forcibly" error="signal: killed" > exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see "/Users/i/.colima/_lima/colima/ha.stderr.log") FATA[0306] error starting vm: error at 'creating and starting': exit status 1
Change History (5)
comment:1 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)
Cc: | halostatue added |
---|---|
Description: | modified (diff) |
Keywords: | colima lima lima-additional-guestagents removed |
Owner: | set to herbygillot |
Port: | colima added |
Status: | new → assigned |
comment:2 Changed 3 weeks ago by halostatue (Austin Ziegler)
comment:3 follow-up: 4 Changed 3 weeks ago by iap (Iko)
No worries,
I try sudo port install lima +additional_guestagents
the (WARN[0000] Failed to resolve the guest agent binary for "aarch64"
) solve. But it keep looping on [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
.
Im using Mac Air 2017 with macOS Monterey Intel chip.
Thank you for your time. Much appreciate it.
comment:4 Changed 11 days ago by halostatue (Austin Ziegler)
I can't produce this with colima
anymore, but
❯ limactl create --arch=x86_64 template://debian ? Creating an instance "debian" Proceed with the current configuration FATA[0004] guest agent binary could not be found for Linux-x86_64: file does not exist: attempted [/opt/local/share/lima/lima-guestagent.Linux-x86_64.gz /opt/local/share/lima/lima-guestagent.Linux-x86_64] (Hint: try installing variant `+additional_guestagents`)
Replying to iap:
No worries,
I try
sudo port install lima +additional_guestagents
the (WARN[0000] Failed to resolve the guest agent binary for "aarch64"
) solve. But it keep looping on[hostagent] Waiting for the essential requirement 1 of 2: "ssh"
.Im using Mac Air 2017 with macOS Monterey Intel chip.
I believe that if there's an issue with the ssh server not working correctly, you should look through colima issues first — I have seen this in the past and it is possible that there's an issue with SSH configuration detritus in ~/.colima
.
comment:5 Changed 10 days ago by halostatue (Austin Ziegler)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
We don't have a separate package, but we do have
lima
variant+additional_guestagents
. This variant also forces a dependency onqemu
because most of the guest agents mentioned in the message aren't supported natively or via Rosetta 2.This will take a little bit of time because the message needs to be overridden in Lima and I'm won't have time until the weekend.
I'm not sure if it is possible to build both
lima
andlima+additional_guestagents
with a build bot, because the additional guest agents double the build time.