Hi :)

I'm running some VMs with sufficient resources now. But I can't access the VM console due to an error:

"2023-01-24 19:56:57,983 ERROR [resource.consoleproxy.ConsoleProxyResource] (Console Proxy GC Thread:null) Unable to send out load info due to Unable to
 post agent control request as link is not available
com.cloud.exception.AgentControlChannelException: Unable to post agent control request as link is not available"

Anyone can show me a way to fix it?

I am attaching output from cloud.log


Thank you.
2023-01-24 19:56:55,184 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Lost connection to host: 192.168.122.2. Attempting reconnection while we still
 have 0 commands in progress.
2023-01-24 19:56:55,191 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) NioClient connection closed
2023-01-24 19:56:57,983 INFO  [utils.exception.CSExceptionErrorCode] (Console Proxy GC Thread:null) Could not find exception: com.cloud.exception.Agent
ControlChannelException in error code list for exceptions
2023-01-24 19:56:57,983 ERROR [resource.consoleproxy.ConsoleProxyResource] (Console Proxy GC Thread:null) Unable to send out load info due to Unable to
 post agent control request as link is not available
com.cloud.exception.AgentControlChannelException: Unable to post agent control request as link is not available
        at com.cloud.agent.Agent.postRequest(Agent.java:961)
        at com.cloud.agent.Agent.postRequest(Agent.java:949)
        at com.cloud.agent.resource.consoleproxy.ConsoleProxyResource.reportLoadInfo(ConsoleProxyResource.java:417)
        at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.cloud.consoleproxy.ConsoleProxy.reportLoadInfo(ConsoleProxy.java:222)
        at com.cloud.consoleproxy.ConsoleProxyGCThread.run(ConsoleProxyGCThread.java:104)
2023-01-24 19:57:00,191 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Reconnecting to host:192.168.122.2
2023-01-24 19:57:00,192 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connecting to 192.168.122.2:8250
2023-01-24 19:57:00,192 WARN  [utils.nio.NioConnection] (Agent-Handler-1:null) Unable to connect to remote: is there a server running on port 8250
2023-01-24 19:57:05,212 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Reconnecting to host:192.168.122.2
2023-01-24 19:57:05,212 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connecting to 192.168.122.2:8250
2023-01-24 19:57:05,214 WARN  [utils.nio.NioConnection] (Agent-Handler-1:null) Unable to connect to remote: is there a server running on port 8250
2023-01-24 19:57:07,983 INFO  [utils.exception.CSExceptionErrorCode] (Console Proxy GC Thread:null) Could not find exception: com.cloud.exception.Agent
ControlChannelException in error code list for exceptions
2023-01-24 19:57:07,983 ERROR [resource.consoleproxy.ConsoleProxyResource] (Console Proxy GC Thread:null) Unable to send out load info due to Unable to
 post agent control request as link is not available
com.cloud.exception.AgentControlChannelException: Unable to post agent control request as link is not available
        at com.cloud.agent.Agent.postRequest(Agent.java:961)
        at com.cloud.agent.Agent.postRequest(Agent.java:949)
        at com.cloud.agent.resource.consoleproxy.ConsoleProxyResource.reportLoadInfo(ConsoleProxyResource.java:417)
        at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.cloud.consoleproxy.ConsoleProxy.reportLoadInfo(ConsoleProxy.java:222)
        at com.cloud.consoleproxy.ConsoleProxyGCThread.run(ConsoleProxyGCThread.java:104)
2023-01-24 19:57:10,221 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Reconnecting to host:192.168.122.2
2023-01-24 19:57:10,221 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connecting to 192.168.122.2:8250
2023-01-24 19:57:10,224 INFO  [utils.nio.Link] (Agent-Handler-1:null) Conf file found: /usr/local/cloud/systemvm/conf/agent.properties
2023-01-24 19:57:10,403 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) SSL: Handshake done
2023-01-24 19:57:10,404 INFO  [utils.nio.NioClient] (Agent-Handler-1:null) Connected to 192.168.122.2:8250
2023-01-24 19:57:10,459 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Process agent startup answer, agent id = 0
2023-01-24 19:57:10,460 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Set agent id 0
2023-01-24 19:57:10,460 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Startup Response Received: agent id = 0
2023-01-24 19:57:10,651 INFO  [resource.consoleproxy.ConsoleProxyResource] (agentRequest-Handler-3:null) Invoke launchConsoleProxy() in responding to S
tartConsoleProxyAgentHttpHandlerCommand
2023-01-24 19:57:10,651 INFO  [resource.consoleproxy.ConsoleProxyResource] (agentRequest-Handler-3:null) Building class loader for com.cloud.consolepro
xy.ConsoleProxy
2023-01-24 19:57:10,651 INFO  [resource.consoleproxy.ConsoleProxyResource] (agentRequest-Handler-3:null) com.cloud.consoleproxy.ConsoleProxy is already
 running
2023-01-24 19:57:10,693 INFO  [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing agent ready command, agent id = 2
2023-01-24 19:57:10,694 INFO  [cloud.agent.Agent] (agentRequest-Handler-4:null) Set agent id 2
2023-01-24 19:57:10,694 INFO  [cloud.agent.Agent] (agentRequest-Handler-4:null) Ready command is processed for agent id = 2
2023-01-24 19:57:10,694 INFO  [resource.consoleproxy.ConsoleProxyResource] (agentRequest-Handler-4:null) Receive ReadyCommand, response with ReadyAnswe
r
2023-01-24 19:57:10,757 INFO  [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing agent ready command, agent id = 2
2023-01-24 19:57:10,758 INFO  [cloud.agent.Agent] (agentRequest-Handler-1:null) Set agent id 2
2023-01-24 19:57:10,759 INFO  [cloud.agent.Agent] (agentRequest-Handler-1:null) Processed new management server list: 192.168.122.2@static
2023-01-24 19:57:10,759 INFO  [cloud.agent.Agent] (agentRequest-Handler-1:null) Ready command is processed for agent id = 2
2023-01-24 19:57:10,759 INFO  [resource.consoleproxy.ConsoleProxyResource] (agentRequest-Handler-1:null) Receive ReadyCommand, response with ReadyAnswe
r
2023-01-24 19:57:15,405 INFO  [cloud.agent.Agent] (Agent-Handler-1:null) Connected to the host: 192.168.122.2

Reply via email to