cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 李学强 <nemolee...@foxmail.com>
Subject loudstack 4.6 计算结点加入不了
Date Sun, 29 Nov 2015 03:12:12 GMT
各位大侠,
     我配置centos 6.5 A (管理控制台,nfs), centos 6.5 B kvm计算结点的 
cloudstack 4.6,怎么计算结点加入不了呢,求救啊

  我是参考下面文档配置的,http://docs.cloudstack.apache.org/projects 
/cloudstack- installation/en/4.6/qig.html

在/var/log/cloudstack/agent/agent.log日志中有这样的错误

2015-11-29 05:29:50,617 ERROR [utils.nio.NioConnection] (main:null) 
Unable to initialize the threads.
java.io.IOException: Connection closed with -1 on reading size.
     at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
     at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
     at com.cloud.agent.Agent.start(Agent.java:227)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:399)
     at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351)
     at com.cloud.agent.AgentShell.start(AgentShell.java:461)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
2015-11-29 05:29:50,620 INFO  [utils.exception.CSExceptionErrorCode] 
(main:null) Could not find exception: 
com.cloud.utils.exception.NioConnectionException in error code list for 
exceptions
2015-11-29 05:29:50,620 ERROR [cloud.agent.AgentShell] (main:null) 
Unable to start agent:
com.cloud.utils.exception.CloudRuntimeException: Unable to start the 
connection!
     at com.cloud.agent.Agent.start(Agent.java:229)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:399)
     at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351)
     at com.cloud.agent.AgentShell.start(AgentShell.java:461)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: com.cloud.utils.exception.NioConnectionException: Connection 
closed with -1 on reading size.
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:94)
     at com.cloud.agent.Agent.start(Agent.java:227)
     ... 9 more
Caused by: java.io.IOException: Connection closed with -1 on reading size.
     at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
     at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
     ... 10 more
2015-11-29 05:29:50,625 INFO  [cloud.agent.Agent] 
(AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
2015-11-29 05:34:50,195 INFO  [cloud.agent.AgentShell] (main:null) Agent 
started
2015-11-29 05:34:50,196 INFO  [cloud.agent.AgentShell] (main:null) 
Implementation Version is 4.6.0
2015-11-29 05:34:50,198 INFO  [cloud.agent.AgentShell] (main:null) 
agent.properties found at /etc/cloudstack/agent/agent.properties
2015-11-29 05:34:50,202 INFO  [cloud.agent.AgentShell] (main:null) 
Defaulting to using properties file for storage
2015-11-29 05:34:50,208 INFO  [cloud.agent.AgentShell] (main:null) 
Defaulting to the constant time backoff algorithm
2015-11-29 05:34:50,223 INFO  [cloud.utils.LogUtils] (main:null) log4j 
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2015-11-29 05:34:50,236 INFO  [cloud.agent.AgentShell] (main:null) 
Preferring IPv4 address family for agent connection
2015-11-29 05:34:50,288 INFO  [cloud.agent.Agent] (main:null) id is
2015-11-29 05:34:50,318 INFO  [kvm.resource.LibvirtConnection] 
(main:null) No existing libvirtd connection found. Opening a new one


2015-11-29 05:34:50,633 INFO  [org.reflections.Reflections] (main:null) 
Reflections took 70 ms to scan 1 urls, producing 7 keys and 10 values
2015-11-29 05:34:50,749 INFO [kvm.resource.LibvirtComputingResource] 
(main:null) No libvirt.vif.driver specified. Defaults to BridgeVifDriver.
2015-11-29 05:34:50,770 INFO  [cloud.agent.Agent] (main:null) Agent [id 
= new : type = LibvirtComputingResource : zone = 1 : pod = 1 : workers = 
5 : host = 123.1.177.65 : port = 8250
2015-11-29 05:34:50,773 INFO  [utils.nio.NioClient] (main:null) 
Connecting to 123.1.177.65:8250
2015-11-29 05:35:50,902 ERROR [utils.nio.NioConnection] (main:null) 
Unable to initialize the threads.
java.io.IOException: Connection closed with -1 on reading size.
     at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
     at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
     at com.cloud.agent.Agent.start(Agent.java:227)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:399)
     at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351)
     at com.cloud.agent.AgentShell.start(AgentShell.java:461)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
2015-11-29 05:35:50,905 INFO  [utils.exception.CSExceptionErrorCode] 
(main:null) Could not find exception: 
com.cloud.utils.exception.NioConnectionException in error code list for 
exceptions
2015-11-29 05:35:50,905 ERROR [cloud.agent.AgentShell] (main:null) 
Unable to start agent:
com.cloud.utils.exception.CloudRuntimeException: Unable to start the 
connection!
     at com.cloud.agent.Agent.start(Agent.java:229)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:399)
     at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351)
     at com.cloud.agent.AgentShell.start(AgentShell.java:461)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: com.cloud.utils.exception.NioConnectionException: Connection 
closed with -1 on reading size.
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:94)
     at com.cloud.agent.Agent.start(Agent.java:227)
     ... 9 more
Caused by: java.io.IOException: Connection closed with -1 on reading size.
     at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
     at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
     ... 10 more
2015-11-29 05:35:50,910 INFO  [cloud.agent.Agent] 
(AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
2015-11-29 05:41:30,852 INFO  [cloud.agent.AgentShell] (main:null) Agent 
started
2015-11-29 05:41:30,854 INFO  [cloud.agent.AgentShell] (main:null) 
Implementation Version is 4.6.0
2015-11-29 05:41:30,855 INFO  [cloud.agent.AgentShell] (main:null) 
agent.properties found at /etc/cloudstack/agent/agent.properties
2015-11-29 05:41:30,859 INFO  [cloud.agent.AgentShell] (main:null) 
Defaulting to using properties file for storage
2015-11-29 05:41:30,865 INFO  [cloud.agent.AgentShell] (main:null) 
Defaulting to the constant time backoff algorithm
2015-11-29 05:41:30,879 INFO  [cloud.utils.LogUtils] (main:null) log4j 
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2015-11-29 05:41:30,892 INFO  [cloud.agent.AgentShell] (main:null) 
Preferring IPv4 address family for agent connection
2015-11-29 05:41:30,945 INFO  [cloud.agent.Agent] (main:null) id is
2015-11-29 05:41:30,979 INFO  [kvm.resource.LibvirtConnection] 
(main:null) No existing libvirtd connection found. Opening a new one
2015-11-29 05:41:31,300 INFO  [org.reflections.Reflections] (main:null) 
Reflections took 72 ms to scan 1 urls, producing 7 keys and 10 values
2015-11-29 05:41:31,413 INFO [kvm.resource.LibvirtComputingResource] 
(main:null) No libvirt.vif.driver specified. Defaults to BridgeVifDriver.
2015-11-29 05:41:31,434 INFO  [cloud.agent.Agent] (main:null) Agent [id 
= new : type = LibvirtComputingResource : zone = 1 : pod = 1 : workers = 
5 : host = 123.1.177.65 : port = 8250
2015-11-29 05:41:31,437 INFO  [utils.nio.NioClient] (main:null) 
Connecting to 123.1.177.65:8250
2015-11-29 05:42:31,562 ERROR [utils.nio.NioConnection] (main:null) 
Unable to initialize the threads.
java.io.IOException: Connection closed with -1 on reading size.
     at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
     at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
     at com.cloud.agent.Agent.start(Agent.java:227)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:399)
     at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351)
     at com.cloud.agent.AgentShell.start(AgentShell.java:461)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
2015-11-29 05:42:31,565 INFO  [utils.exception.CSExceptionErrorCode] 
(main:null) Could not find exception: 
com.cloud.utils.exception.NioConnectionException in error code list for 
exceptions
2015-11-29 05:42:31,565 ERROR [cloud.agent.AgentShell] (main:null) 
Unable to start agent:
com.cloud.utils.exception.CloudRuntimeException: Unable to start the 
connection!
     at com.cloud.agent.Agent.start(Agent.java:229)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:399)
     at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367)
     at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351)
     at com.cloud.agent.AgentShell.start(AgentShell.java:461)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: com.cloud.utils.exception.NioConnectionException: Connection 
closed with -1 on reading size.
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:94)
     at com.cloud.agent.Agent.start(Agent.java:227)
     ... 9 more
Caused by: java.io.IOException: Connection closed with -1 on reading size.
     at com.cloud.utils.nio.Link.doHandshake(Link.java:513)
     at com.cloud.utils.nio.NioClient.init(NioClient.java:80)
     at com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
     ... 10 more
2015-11-29 05:42:31,567 INFO  [cloud.agent.Agent] 
(AgentShutdownThread:null) Stopping the agent: Reason = sig.kill





Mime
View raw message