Azure / Azure/aksArc

[BUG] Running some scripts remotely is not possible without CredSSP due to Double hop issue.

Open
#22 0 comments 0 reactions 1 assignee Claimed by @abhilashaagarwala View on GitHub
Enhancement
Dominant language
PowerShell
Stars
118
Forks
63
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Running scripts such as Initialize-AksHciNode is not possible to run against multiple servers without enabling CredSSP

**To Reproduce**
Steps to reproduce the behavior:
https://github.com/microsoft/WSLab/blob/462137922e0974b2c8d99ed9e4034b3362c674b8/Scenarios/AzSHCI%20and%20Kubernetes/Scenario.ps1#L73

If you run following code, because of double-hop, some actions will fail
Invoke-Command -ComputerName $servers -ScriptBlock {
Initialize-AksHciNode
}

Workaround is to enable credssp
https://github.com/microsoft/WSLab/blob/462137922e0974b2c8d99ed9e4034b3362c674b8/Scenarios/AzSHCI%20and%20Kubernetes/Scenario.ps1#L78

**Expected behavior**
Would be great to be able to specify node or HCI cluster (to avoid confusion what commands needs to be run on every node vs on just one node

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.