Hi,

The netstat output looks ok.

Can you check  the IP 10.0.33.1 is reachable from system vm ?

-Wei



On Wed, 4 Oct 2023 at 03:30, jaejong <cb...@naver.com> wrote:

> OS : Rocky 8.8
> ACS : 4.18.1
>
> ACS management server listem 8250 port only from ipv6(tcp6)
> So SystemVMs can not connect to server.
>
> How to Fix to listen on ipv4?
>
> 2023-10-04 00:18:10,281 INFO  [cloud.agent.Agent] (main:null) Agent [id =
> 2 : type = PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers =
> 5 : host = 10.0.33.1 : port = 8250
> 2023-10-04 00:18:10,300 INFO  [utils.nio.NioClient] (main:null) Connecting
> to 10.0.33.1:8250
> 2023-10-04 00:18:13,358 ERROR [utils.nio.NioConnection] (main:null) Unable
> to initialize the threads.
> java.net.NoRouteToHostException: No route to host
>         at java.base/sun.nio.ch.Net.connect0(Native Method)
>         at java.base/sun.nio.ch.Net.connect(Net.java:483)
>         at java.base/sun.nio.ch.Net.connect(Net.java:472)
>         at java.base/sun.nio.ch
> .SocketChannelImpl.connect(SocketChannelImpl.java:692)
>         at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
>         at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
>         at com.cloud.agent.Agent.start(Agent.java:283)
>         at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
>         at
> com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
>         at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
>         at com.cloud.agent.AgentShell.start(AgentShell.java:511)
>         at com.cloud.agent.AgentShell.main(AgentShell.java:541)
>
> $ netstat -tulpn
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
>      PID/Program name
> tcp        0      0 0.0.0.0:892             0.0.0.0:*
>  LISTEN      1533/rpc.mountd
> tcp        0      0 0.0.0.0:2049            0.0.0.0:*
>  LISTEN      -
> tcp        0      0 0.0.0.0:32803           0.0.0.0:*
>  LISTEN      -
> tcp        0      0 0.0.0.0:3306            0.0.0.0:*
>  LISTEN      1127/mysqld
> tcp        0      0 0.0.0.0:111             0.0.0.0:*
>  LISTEN      1/systemd
> tcp        0      0 0.0.0.0:662             0.0.0.0:*
>  LISTEN      1532/rpc.statd
> tcp        0      0 0.0.0.0:22              0.0.0.0:*
>  LISTEN      1036/sshd
> tcp6       0      0 :::8250                 :::*
> LISTEN      1454/java
> tcp6       0      0 :::36667                :::*
> LISTEN      1454/java
> tcp6       0      0 :::892                  :::*
> LISTEN      1533/rpc.mountd
> tcp6       0      0 :::41533                :::*
> LISTEN      1454/java
> tcp6       0      0 :::2049                 :::*
> LISTEN      -
> tcp6       0      0 :::9090                 :::*
> LISTEN      1454/java
> tcp6       0      0 :::32803                :::*
> LISTEN      -
> tcp6       0      0 :::33060                :::*
> LISTEN      1127/mysqld
> tcp6       0      0 :::111                  :::*
> LISTEN      1/systemd
> tcp6       0      0 :::8080                 :::*
> LISTEN      1454/java
> tcp6       0      0 :::662                  :::*
> LISTEN      1532/rpc.statd
> tcp6       0      0 :::22                   :::*
> LISTEN      1036/sshd
>
>
>
>
>

Reply via email to