Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k3s_install fails to collect stable builds #31

Closed
alexlianides opened this issue Aug 19, 2024 · 0 comments
Closed

k3s_install fails to collect stable builds #31

alexlianides opened this issue Aug 19, 2024 · 0 comments

Comments

@alexlianides
Copy link
Collaborator

k3s_install for all deployments of the Azure Space SDK fails due to inability to bull down the k3s sha246sum-amd64.txt file:

2024-08-19T23:34:40.783Z] [updateContent.sh] [INFO] 2024-08-19 23:34:40: Checking if k3s is install on host...
[2024-08-19T23:34:40.786Z] [updateContent.sh] [TRACE] 2024-08-19 23:34:40: Running 'docker run         --quiet         --privileged         --tty         --rm         --cap-add=SYS_CHROOT         --name host_interface         --net=host --pid=host --ipc=host         --volume /:/host         mcr.microsoft.com/devcontainers/base:ubuntu22.04         chroot /host bash --login -c "systemctl list-unit-files | grep '^k3s.service'"'...
[2024-08-19T23:34:41.718Z] [updateContent.sh] [TRACE] 2024-08-19 23:34:41: ...'docker run         --quiet         --privileged         --tty         --rm         --cap-add=SYS_CHROOT         --name host_interface         --net=host --pid=host --ipc=host         --volume /:/host         mcr.microsoft.com/devcontainers/base:ubuntu22.04         chroot /host bash --login -c "systemctl list-unit-files | grep '^k3s.service'"' Exit code: 1
[2024-08-19T23:34:41.720Z] [updateContent.sh] [TRACE] 2024-08-19 23:34:41: ...'docker run         --quiet         --privileged         --tty         --rm         --cap-add=SYS_CHROOT         --name host_interface         --net=host --pid=host --ipc=host         --volume /:/host         mcr.microsoft.com/devcontainers/base:ubuntu22.04         chroot /host bash --login -c "systemctl list-unit-files | grep '^k3s.service'"' Result: 
[2024-08-19T23:34:41.722Z] [updateContent.sh] [INFO] 2024-08-19 23:34:41: k3s is not installed on the host. Installing...
[2024-08-19T23:34:41.724Z] [updateContent.sh] [DEBUG] 2024-08-19 23:34:41: Adding cri-dockerd to k3s install command...
[2024-08-19T23:34:41.728Z] [updateContent.sh] [INFO] 2024-08-19 23:34:41: Installing k3s on host...
[2024-08-19T23:34:41.732Z] [updateContent.sh] [TRACE] 2024-08-19 23:34:41: Running 'docker run         --quiet         --privileged         --tty         --rm         --cap-add=SYS_CHROOT         --name host_interface         --net=host --pid=host --ipc=host         --volume /:/host         mcr.microsoft.com/devcontainers/base:ubuntu22.04         chroot /host bash --login -c "/var/tmp/devfeature/k3s-on-host/k3s_install.sh --write-kubeconfig-mode "0644" --docker"'...
[2024-08-19T23:34:47.402Z] [updateContent.sh] [TRACE] 2024-08-19 23:34:47: ...'docker run         --quiet         --privileged         --tty         --rm         --cap-add=SYS_CHROOT         --name host_interface         --net=host --pid=host --ipc=host         --volume /:/host         mcr.microsoft.com/devcontainers/base:ubuntu22.04         chroot /host bash --login -c "/var/tmp/devfeature/k3s-on-host/k3s_install.sh --write-kubeconfig-mode "0644" --docker"' Exit code: 1
[2024-08-19T23:34:47.405Z] [updateContent.sh] [TRACE] 2024-08-19 23:34:47: ...'docker run         --quiet         --privileged         --tty         --rm         --cap-add=SYS_CHROOT         --name host_interface         --net=host --pid=host --ipc=host         --volume /:/host         mcr.microsoft.com/devcontainers/base:ubuntu22.04         chroot /host bash --login -c "/var/tmp/devfeature/k3s-on-host/k3s_install.sh --write-kubeconfig-mode "0644" --docker"' Result: [INFO]  Finding release for channel stable

[INFO]  Using stable as release

[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/stable/sha256sum-amd64.txt

[ERROR]  Download failed

[2024-08-19T23:34:47.407Z] [updateContent.sh] [ERROR] 2024-08-19 23:34:47: Script failed.  Received return code of '1'.  Command ran: '/var/tmp/devfeature/k3s-on-host/k3s_install.sh --write-kubeconfig-mode "0644" --docker'.  See previous errors and retry
[2024-08-19T23:34:47.409Z] Stop (10506 ms): Run in container: /bin/sh -c /devfeature/k3s-on-host/updateContent.sh
[2024-08-19T23:34:47.410Z] updateContentCommand failed with exit code 1. Skipping any further user-provided commands.
[2024-08-19T23:34:47.636Z] Error: Command failed: /bin/sh -c /devfeature/k3s-on-host/updateContent.sh
[2024-08-19T23:34:47.636Z]     at N7 (/home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js:235:130)
[2024-08-19T23:34:47.636Z]     at async Am (/home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js:227:4393)
[2024-08-19T23:34:47.637Z]     at async Xw (/home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js:227:3738)
[2024-08-19T23:34:47.637Z]     at async $w (/home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js:227:2814)
[2024-08-19T23:34:47.637Z]     at async MrA (/home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js:661:32735)
[2024-08-19T23:34:47.637Z]     at async krA (/home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js:661:29953)
[2024-08-19T23:34:47.654Z] Stop (10974 ms): Run: /home/azureuser/.vscode-server/bin/fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/node /home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js run-user-commands --container-session-data-folder /tmp/devcontainers-27d08e09-e5bb-4eb6-ade7-caa842aa76e71724110447709 --workspace-folder /home/azureuser/GitHub/azure-orbital-space-sdk-setup --id-label devcontainer.local_folder=/home/azureuser/GitHub/azure-orbital-space-sdk-setup --id-label devcontainer.config_file=/home/azureuser/GitHub/azure-orbital-space-sdk-setup/.devcontainer/devcontainer.json --container-id 80d7ab46784f05e5f58b8ceeeb5dc8281f55caed812dbafb89ef13815f405e7d --log-level debug --log-format json --config /home/azureuser/GitHub/azure-orbital-space-sdk-setup/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --skip-non-blocking-commands true --prebuild false --stop-for-personalization true --remote-env REMOTE_CONTAINERS_IPC=/tmp/vscode-remote-containers-ipc-e4afaf38-4c96-4ad2-94fb-1dde355316f0.sock --remote-env DISPLAY=:0 --remote-env REMOTE_CONTAINERS_DISPLAY_SOCK=/tmp/.X11-unix/X0 --remote-env REMOTE_CONTAINERS=true --mount-workspace-git-root --terminal-columns 256 --terminal-rows 45 --dotfiles-target-path ~/dotfiles
[2024-08-19T23:34:47.654Z] Exit code 1
[2024-08-19T23:34:47.657Z] Command failed: /home/azureuser/.vscode-server/bin/fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/node /home/azureuser/.vscode-remote-containers/dist/dev-containers-cli-0.362.0/dist/spec-node/devContainersSpecCLI.js run-user-commands --container-session-data-folder /tmp/devcontainers-27d08e09-e5bb-4eb6-ade7-caa842aa76e71724110447709 --workspace-folder /home/azureuser/GitHub/azure-orbital-space-sdk-setup --id-label devcontainer.local_folder=/home/azureuser/GitHub/azure-orbital-space-sdk-setup --id-label devcontainer.config_file=/home/azureuser/GitHub/azure-orbital-space-sdk-setup/.devcontainer/devcontainer.json --container-id 80d7ab46784f05e5f58b8ceeeb5dc8281f55caed812dbafb89ef13815f405e7d --log-level debug --log-format json --config /home/azureuser/GitHub/azure-orbital-space-sdk-setup/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --skip-non-blocking-commands true --prebuild false --stop-for-personalization true --remote-env REMOTE_CONTAINERS_IPC=/tmp/vscode-remote-containers-ipc-e4afaf38-4c96-4ad2-94fb-1dde355316f0.sock --remote-env DISPLAY=:0 --remote-env REMOTE_CONTAINERS_DISPLAY_SOCK=/tmp/.X11-unix/X0 --remote-env REMOTE_CONTAINERS=true --mount-workspace-git-root --terminal-columns 256 --terminal-rows 45 --dotfiles-target-path ~/dotfiles
[2024-08-19T23:34:47.657Z] Exit code 1

Issue is currently being tracked by the k3s team here (k3s-io/k3s#10578)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant