staySober commented on issue #5000:
URL: https://github.com/apache/cloudstack/issues/5000#issuecomment-833397123
I am sure the firewalled is disable
and I didn't specify a VLAN for the public network range
and I the IP (10.13.56.254) is the network gateway.
I split up six virtual machines on one physical machine to deploy these
applications,
I used to do tests on multiple physical machines, and they were all
successful at that time,
Could it be a problem of applying virtual machines to virtual machines on
top of virtual machines? This problem may involve layer 2 virtualization
technology, I am not very familiar with it
two systemvms have the same logs in the following
```
2021-05-06 06:21:31,466 INFO [cloud.agent.Agent] (main:null) Attempted to
connee
ct to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
at com.cloud.agent.Agent.start(Agent.java:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:44
22)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406)
at com.cloud.agent.AgentShell.start(AgentShell.java:512)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406)
at com.cloud.agent.AgentShell.start(AgentShell.java:512)
at com.cloud.agent.AgentShell.main(AgentShell.java:547)
Caused by: 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:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.javaa
:694)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
... 6 more
2021-05-06 06:21:36,466 INFO [cloud.agent.Agent] (main:null) Connecting to
hostt
:10.13.56.88
2021-05-06 06:21:36,467 INFO [utils.nio.NioClient] (main:null) Connecting
to 100
.13.56.88:8250
2021-05-06 06:21:39,529 ERROR [utils.nio.NioConnection] (main:null) Unable
to inn
itialize 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:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
@
at java.base/sun.nio.ch.Net.connect(Net.java:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.javaa
:694)
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:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:44
22)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406)
at com.cloud.agent.AgentShell.start(AgentShell.java:512)
at com.cloud.agent.AgentShell.main(AgentShell.java:547)
2021-05-06 06:21:39,530 INFO [utils.nio.NioClient] (main:null) NioClient
connecc
tion closed
2021-05-06 06:21:39,530 INFO [cloud.agent.Agent] (main:null) Attempted to
connee
ct to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
at com.cloud.agent.Agent.start(Agent.java:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:44
22)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:44
22)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406)
at com.cloud.agent.AgentShell.start(AgentShell.java:512)
at com.cloud.agent.AgentShell.main(AgentShell.java:547)
Caused by: 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:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.javaa
:694)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
... 6 more
2021-05-06 06:21:44,530 INFO [cloud.agent.Agent] (main:null) Connecting to
hostt
:10.13.56.88
2021-05-06 06:21:44,531 INFO [utils.nio.NioClient] (main:null) Connecting
to 100
.13.56.88:8250
2021-05-06 06:21:47,593 ERROR [utils.nio.NioConnection] (main:null) Unable
to inn
itialize the threads.
java.net.NoRouteToHostException: No route to host
at java.base/sun.nio.ch.Net.connect0(Native Method)
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:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.javaa
:694)
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:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:44
22)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406)
at com.cloud.agent.AgentShell.start(AgentShell.java:512)
at com.cloud.agent.AgentShell.main(AgentShell.java:547)
2021-05-06 06:21:47,594 INFO [utils.nio.NioClient] (main:null) NioClient
connecc
tion closed
2021-05-06 06:21:47,594 INFO [cloud.agent.Agent] (main:null) Attempted to
connee
ct to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
at com.cloud.agent.Agent.start(Agent.java:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at com.cloud.agent.Agent.start(Agent.java:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:44
22)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406)
at com.cloud.agent.AgentShell.start(AgentShell.java:512)
at com.cloud.agent.AgentShell.main(AgentShell.java:547)
Caused by: 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:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.javaa
:694)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
... 6 more
2021-05-06 06:21:52,594 INFO [cloud.agent.Agent] (main:null) Connecting to
hostt
:10.13.56.88
2021-05-06 06:21:52,595 INFO [utils.nio.NioClient] (main:null) Connecting
to 100
.13.56.88:8250
2021-05-06 06:21:55,657 ERROR [utils.nio.NioConnection] (main:null) Unable
to inn
itialize the threads.
java.net.NoRouteToHostException: No route to host
at com.cloud.agent.AgentShell.main(AgentShell.java:547)
2021-05-06 09:48:54,345 INFO [utils.nio.NioClient] (main:null) NioClient
connecc
tion closed
2021-05-06 09:48:54,345 INFO [cloud.agent.Agent] (main:null) Attempted to
connee
ct to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
at com.cloud.agent.Agent.start(Agent.java:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:455)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:44
22)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:406)
at com.cloud.agent.AgentShell.start(AgentShell.java:512)
at com.cloud.agent.AgentShell.main(AgentShell.java:547)
Caused by: 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:476)
at java.base/sun.nio.ch.Net.connect(Net.java:468)
at
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.javaa
:694)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
... 6 more
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]