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

LogonScript k3s installation (intermittent failiure) #2320

Closed
renato-marciano opened this issue Dec 7, 2023 · 2 comments
Closed

LogonScript k3s installation (intermittent failiure) #2320

renato-marciano opened this issue Dec 7, 2023 · 2 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@renato-marciano
Copy link

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?

https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_k8s/aks_hybrid/aks_edge_essentials_single/#post-deployment

Describe the issue or the bug
When LogonScript executes, it failed to download k3s. This could be just an intermittent network failure. The script continues to run with "Deployment successful", even though k3s failed to install. See logs below. At the very least, I think this should throw an exception or even better, maybe have a retry logic.

I did create another VM and was successful the second time.

To Reproduce

  1. Follow the Jumpstart to deploy an AKSEE VM
  2. Log In to trigger the LogonScript
  3. Watch script logs

Expected behavior
Installation of k3s successful

Screenshots
LogonScript logs excerpt

--- Verifying AksEdge Install Configuration...
* AKS Edge Essentials - K3s to be installed
*** No errors found in the Install Configuration.
Installing AKS Edge Essentials - K3s from https://aka.ms/aks-edge/k3s-msi
PS>TerminatingError(Invoke-WebRequest): "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."
failed to download from https://aka.ms/aks-edge/k3s-msi
Deployment Successful.

Checking kubernetes nodes

Full log attached below
LogonScript.txt

@renato-marciano renato-marciano added the triage needed issue or feature up for triage label Dec 7, 2023
Copy link

github-actions bot commented Dec 7, 2023

Hey friend! Thanks for opening this issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on the Azure Arc Jumpstart.

@dkirby-ms dkirby-ms assigned chintalavr and dkirby-ms and unassigned chintalavr Dec 11, 2023
@dkirby-ms
Copy link
Contributor

Thank you for the feedback.

This message in your logs indicates some kind of network interruption. As part of our ongoing development we will continue to add additional error handling and retry logic where possible. Glad to hear that retrying the script was successful and thank you again for your feedback.

Installing AKS Edge Essentials - K3s from https://aka.ms/aks-edge/k3s-msi
PS>TerminatingError(Invoke-WebRequest): "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."

@likamrat likamrat added wontfix This will not be worked on and removed triage needed issue or feature up for triage labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants