antrea
antrea copied to clipboard
Install-OVS.ps1 may fail to start ovsdb-server when running over ssh connection
Describe the bug
If I run the script (Install-OVS.ps1) over a ssh connection, it may fail because the ovsdb-server Service fails to start. The strange observation is, I can successfully run the same script over a RDP console.
To Reproduce
- run Install-OVS.ps1 over a ssh connection
- the script is blocking at step "Start-Service ovsdb-server" (https://github.com/antrea-io/antrea/blob/main/hack/windows/Install-OVS.ps1#L262C1-L262C31)
- Open another ssh connection and check the service status of ovsdb-server, "get-service ovsdb-server", it will show that the service is not coming to "Running" status.
Expected
The script is supposed to execute successfully, and ovsdb-server is running.
Actual behavior
The script is stuck at starting status.
Versions:
All antrea versions.
Additional context