[ 
https://issues.apache.org/jira/browse/HDDS-15513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rishabh Patel updated HDDS-15513:
---------------------------------
    Status: Patch Available  (was: In Progress)

> MiniOzoneCluster setup stuck when any VPN is enabled
> ----------------------------------------------------
>
>                 Key: HDDS-15513
>                 URL: https://issues.apache.org/jira/browse/HDDS-15513
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Rishabh Patel
>            Assignee: Rishabh Patel
>            Priority: Major
>              Labels: pull-request-available
>
> When any VPN is enabled, MiniOzoneCluster setup is stuck with the following 
> logs
> {code:java}
>   2026-06-08 21:27:39,275 
> [2e356ac8-c8fe-422b-ab07-b38cf90f4ac5@group-D0937D61FBB5-StateMachineUpdater] 
> INFO  SCMHATransactionMonitor 
> (BackgroundSCMService.java:notifyStatusChanged(78)) - Service 
> SCMHATransactionMonitor transitions to RUNNING.
>   2026-06-08 21:27:58,720 [main] INFO  ipc_.Client 
> (Client.java:handleConnectionTimeout(861)) - Retrying connect to server: 
> 0.0.0.0/0.0.0.0:15001. Already tried 0 time(s); maxRetries=45
>   2026-06-08 21:28:18,724 [main] INFO  ipc_.Client 
> (Client.java:handleConnectionTimeout(861)) - Retrying connect to server: 
> 0.0.0.0/0.0.0.0:15001. Already tried 1 time(s); maxRetries=45
>   2026-06-08 21:28:38,727 [main] INFO  ipc_.Client 
> (Client.java:handleConnectionTimeout(861)) - Retrying connect to server: 
> 0.0.0.0/0.0.0.0:15001. Already tried 2 time(s); maxRetries=45
>   2026-06-08 21:28:58,730 [main] INFO  ipc_.Client 
> (Client.java:handleConnectionTimeout(861)) - Retrying connect to server: 
> 0.0.0.0/0.0.0.0:15001. Already tried 3 time(s); maxRetries=45 {code}
> The problem is that the bind address for SCM is never set. As a result it 
> defaults to 0.0.0.0. This reroutes to localhost/127.0.0.1 when no VPN is 
> enabled but it is rerouted to a random IP when VPN is enabled. 
> Without VPN:
> {code:java}
> rpatel@GQ2V5HK6NX ~ % lsof -i :15001
> COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
> java    21703 rpatel  406u  IPv4 0x61ad94e3040c8c85      0t0  TCP *:15001 
> (LISTEN)
> java    21703 rpatel  504u  IPv4 0xda4ec39b5b69c9c1      0t0  TCP 
> mac:57747->mac:15001 (ESTABLISHED)
> java    21703 rpatel  505u  IPv4 0x970351ac8a67ab7c      0t0  TCP 
> mac:15001->mac:57747 (ESTABLISHED) {code}
> With VPN:
> {code:java}
> rpatel@GQ2V5HK6NX ~ % lsof -i :15001
> COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
> java    21382 rpatel  406u  IPv4 0xbe6aafab2e6f769a      0t0  TCP *:15001 
> (LISTEN)
> java    21382 rpatel  504u  IPv4 0x5febf36e5f0f5a7e      0t0  TCP 
> 10.19.13.105:57618->192.168.4.44:15001 (SYN_SENT) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to