?????? centos6.6 64bit   cloudstack 4.8.0
??????????????????????????????????????4.4??????,????????????????????????????
????????????
2016-05-11 13:12:10,782 INFO  [o.a.c.e.o.NetworkOrchestrator] 
(Network-Scavenger-1:ctx-0a3e0702) (logid:e9b756c5) NetworkGarbageCollector 
uses '600' seconds for GC interval.
2016-05-11 13:12:10,801 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterMonitor-1:ctx-607f2c61) (logid:2defa81b) Found 0 running routers. 
2016-05-11 13:12:10,801 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-18968d8b) (logid:a10ccdcd) Found 0 routers to update 
status. 
2016-05-11 13:12:10,802 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-18968d8b) (logid:a10ccdcd) Found 0 VPC networks to 
update Redundant State. 
2016-05-11 13:12:10,803 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-18968d8b) (logid:a10ccdcd) Found 0 networks to 
update RvR status. 
2016-05-11 13:12:13,008 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] 
(catalina-exec-3:ctx-69ba9cac ctx-d3b2ba8a) (logid:3990f251) Timeout, to wait 
for the host connecting to mgt svr, assuming it is failed
2016-05-11 13:12:13,034 WARN  [c.c.r.ResourceManagerImpl] 
(catalina-exec-3:ctx-69ba9cac ctx-d3b2ba8a) (logid:3990f251) Unable to find the 
server resources at http://192.168.170.11
2016-05-11 13:12:13,036 INFO  [c.c.u.e.CSExceptionErrorCode] 
(catalina-exec-3:ctx-69ba9cac ctx-d3b2ba8a) (logid:3990f251) Could not find 
exception: com.cloud.exception.DiscoveryException in error code list for 
exceptions
2016-05-11 13:12:13,037 WARN  [o.a.c.a.c.a.h.AddHostCmd] 
(catalina-exec-3:ctx-69ba9cac ctx-d3b2ba8a) (logid:3990f251) Exception: 
com.cloud.exception.DiscoveryException: Unable to add the host
        at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:802)
        at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:597)
        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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy157.discoverHosts(Unknown Source)
        at 
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:698)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:529)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:297)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:127)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:124)
        at com.cloud.api.ApiServlet.doPost(ApiServlet.java:91)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:299)
        at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:732)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)


????????????
2016-05-11 13:08:15,873 INFO  [cloud.agent.Agent] (AgentShutdownThread:null) 
(logid:) Stopping the agent: Reason = sig.kill
2016-05-11 13:42:12,729 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Agent started
2016-05-11 13:42:12,731 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Implementation Version is 4.8.0
2016-05-11 13:42:12,732 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
agent.properties found at /etc/cloudstack/agent/agent.properties
2016-05-11 13:42:12,736 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to using properties file for storage
2016-05-11 13:42:12,737 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to the constant time backoff algorithm
2016-05-11 13:42:12,750 INFO  [cloud.utils.LogUtils] (main:null) (logid:) log4j 
configuration found at /etc/cloudstack/agent/log4j-cloud.xml
2016-05-11 13:42:12,761 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Preferring IPv4 address family for agent connection
2016-05-11 13:42:12,810 INFO  [cloud.agent.Agent] (main:null) (logid:) id is 
2016-05-11 13:42:12,838 INFO  [kvm.resource.LibvirtConnection] (main:null) 
(logid:) No existing libvirtd connection found. Opening a new one
2016-05-11 13:42:13,108 INFO  [org.reflections.Reflections] (main:null) 
(logid:) Reflections took 67 ms to scan 1 urls, producing 7 keys and 10 values 
2016-05-11 13:42:13,225 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) No libvirt.vif.driver specified. Defaults to 
BridgeVifDriver.
2016-05-11 13:42:13,248 INFO  [cloud.agent.Agent] (main:null) (logid:) Agent 
[id = new : type = LibvirtComputingResource : zone = 3 : pod = 3 : workers = 5 
: host = 192.168.170.9 : port = 8250
2016-05-11 13:42:13,250 INFO  [utils.nio.NioClient] (main:null) (logid:) 
Connecting to 192.168.170.9:8250
2016-05-11 13:43:13,408 ERROR [utils.nio.NioConnection] (main:null) (logid:) 
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:228)
        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)
2016-05-11 13:43:13,411 INFO  [utils.exception.CSExceptionErrorCode] 
(main:null) (logid:) Could not find exception: 
com.cloud.utils.exception.NioConnectionException in error code list for 
exceptions
2016-05-11 13:43:13,411 ERROR [cloud.agent.AgentShell] (main:null) (logid:) 
Unable to start agent: 
com.cloud.utils.exception.CloudRuntimeException: Unable to start the connection!
        at com.cloud.agent.Agent.start(Agent.java:230)
        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:228)
        ... 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
2016-05-11 13:43:13,412 INFO  [cloud.agent.Agent] (AgentShutdownThread:null) 
(logid:) Stopping the agent: Reason = sig.kill

回复