Bridge-To-Kubernetes icon indicating copy to clipboard operation
Bridge-To-Kubernetes copied to clipboard

Failed to update dependencies

Open alexwilson1 opened this issue 1 year ago • 4 comments

Describe the bug When attempting to use the extension, we occasionally receive the error:

Failed to update dependencies: Failed to move kubectl to bridge folder with error: Failed to retrieve kubectl version: Failed to execute: /home/vscode/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/kubectl/linux/kubectl version --short --client -o json. Error: spawn /home/vscode/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/kubectl/linux/kubectl EACCES

This is solved by running chmod u+x /home/vscode/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/kubectl/linux/kubectl

Mention the platform you are using VSCode Devcontainers Linux arm64 6.5.0-15-generic macOS Sonoma Version 14.3.1 mindaro 2.0.120240111 Happens with Docker Desktop and Colima.

To Reproduce Unclear repro steps, happens occasionally. We think it might be related to closing a VSCode window where bridge is running before disconnecting the bridge.

Expected behavior The error does not occur

Logs: After searching the logs folder for 'EACCES', we find the term does not appear in the log files.

alexwilson1 avatar Feb 16 '24 11:02 alexwilson1

@alexwilson1 Thanks for raising this issue, I have noticed this issue after recent release. I will check on the permissions issue for kubectl binaries folder and update them in the upcoming release.

hsubramanianaks avatar Feb 16 '24 14:02 hsubramanianaks

@alexwilson1 Thanks for raising this issue, I have noticed this issue after recent release. I will check on the permissions issue for kubectl binaries folder and update them in the upcoming release.

Thanks! Although we've been seeing this issue for at least a month or more... does this still seem like an issue with recent release? Additionally, not sure why it is sporadic.

alexwilson1 avatar Feb 16 '24 14:02 alexwilson1

@alexwilson1 it was introduced with release which had changes for mac arm64 support which is in Jan release. Previous to Jan releases this issue was not occurring. I will update once this is fixed. Thank you.

hsubramanianaks avatar Feb 26 '24 14:02 hsubramanianaks

I would need this feature too, would there be any plans to add support in the near future?

Mauzer93 avatar Dec 19 '24 21:12 Mauzer93