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

Azure Kubernetes Service (AKS) hybrid possible race condition in ScaleConfigJoin.json creation #1957

Closed
ajoint opened this issue Jun 22, 2023 · 3 comments
Assignees
Labels
aks_arc AKS hybrid (AKS EE, AKS HCI, AKS WinSrv) related user_fix Fixed by the user or user error

Comments

@ajoint
Copy link

ajoint commented Jun 22, 2023

Using aks_hybrid/aks_edge_essentials_full jumpstart I encountered a one-time failure. The AKS cluster failed to complete/join.
LogonScript.log shows the following:

INFO: Node1's kubeconfig is ready - copying over config-node1
INFO: Waiting on kubeconfig files took 532.3553327 seconds.
INFO:
[06/22/2023 16:01:25]
INFO: Please create a deployment before using this commandlet.
INFO: INFO: Node1's ScaleConfigJoin.json is ready
Copy-Item : Cannot find path 'C:\Deployment\ScaleConfigJoin.json' because it does not exist.
At C:\Temp\LogonScript.ps1:388 char:1

  • Copy-Item -FromSession $s -Path $path -Destination $destinationPath
  •   + CategoryInfo          : InvalidArgument: (C:\Deployment\ScaleConfigJoin.json:String) [Copy-Item], 
    

ArgumentException
+ FullyQualifiedErrorId : RemotePathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Cannot find path 'C:\Deployment\ScaleConfigJoin.json' because it does not exist.
At C:\Temp\LogonScript.ps1:388 char:1

  • Copy-Item -FromSession $s -Path $path -Destination $destinationPath
  •   + CategoryInfo          : InvalidArgument: (C:\Deployment\ScaleConfigJoin.json:String) [Copy-Item], ArgumentExcept
     ion
      + FullyQualifiedErrorId : RemotePathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
    
    

Get-Content : Cannot find path 'C:\Temp\ScaleConfigJoin.json' because it does not exist.

This is the first time I have encountered this error. I had previously created clusters using this bicep. Creating a new instance in a new resource group with no other changes immediately following this failure succeeded.

@ajoint ajoint added bug Something isn't working triage issue or feature up for triage labels Jun 22, 2023
@github-actions
Copy link

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.

@lanicolas lanicolas self-assigned this Jun 26, 2023
@lanicolas
Copy link
Contributor

hi @ajoint

thanks for using jumpstart and flagging this, I was not able to reproduce the error. As you mentioned this might be a one time thing could we close the issue?

@ajoint
Copy link
Author

ajoint commented Jun 27, 2023

Since neither of us can reproduce this issue, I'm going to close it. Should it occur again, the issue may be reopened.

@ajoint ajoint closed this as completed Jun 27, 2023
@likamrat likamrat added aks_arc AKS hybrid (AKS EE, AKS HCI, AKS WinSrv) related wontfix This will not be worked on user_fix Fixed by the user or user error and removed triage issue or feature up for triage bug Something isn't working wontfix This will not be worked on labels Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aks_arc AKS hybrid (AKS EE, AKS HCI, AKS WinSrv) related user_fix Fixed by the user or user error
Projects
None yet
Development

No branches or pull requests

3 participants