antrea icon indicating copy to clipboard operation
antrea copied to clipboard

Install-OVS.ps1 may fail to start ovsdb-server when running over ssh connection

Open wenyingd opened this issue 1 year ago • 4 comments

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

  1. run Install-OVS.ps1 over a ssh connection
  2. 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)
  3. 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

wenyingd avatar Dec 22 '23 03:12 wenyingd