Do you happen to run Java 8? It should be Java 7 still.
On 22/01/16 11:32, "Rui Mao" <maoru...@163.com> wrote: >I updated everything, including nss & openssl, still failed, same error. > >I also tried CentOS 6.5 & CloudStack 4.6, followed the installation guide >exactly, but ... :-( > >Best regards, >Rui Mao > > >-----邮件原件----- >发件人: users-return-24362-maorui2k=163....@cloudstack.apache.org >[mailto:users-return-24362-maorui2k=163....@cloudstack.apache.org] 代表 Erik >Weber >发送时间: 2016年1月22日 16:11 >收件人: users@cloudstack.apache.org >主题: Re: Cannot add host in Cloudstack 4.7 > >On Thu, Jan 21, 2016 at 11:39 AM, Rui Mao <maoru...@163.com> wrote: > >> I'm new to CloudStack, and just installed Cloudstack 4.7.0 in two >> computers. >> >> >> >> I got a problem when I tried to add a host. >> >> >> >> The management node is 10.4.0.11, and the other compute node is 10.4.0.12. >> >> >> >> In the mgmt. log, I saw successful messages. >> >> >> >> 2016-01-21 17:02:57,417 DEBUG [c.c.u.s.SSHCmdHelper] >> (catalina-exec-1:ctx-5c87e5f4 ctx-1d155b58) (logid:ecbd70ac) >> cloudstack-setup-agent -m 10.4.0.11 -z 1 -p 1 -c 1 -g >> 3aeb10a1-12ee-392d-ab8a-db571c529e1f -a --pubNic=cloudbr0 >> --prvNic=cloudbr0 >> --guestNic=cloudbr0 --hypervisor=kvm output:Starting to configure your >> system: >> >> Configure Cgroup ... [OK] >> >> Configure SElinux ... [OK] >> >> Configure Network ... [OK] >> >> Configure Libvirt ... [OK] >> >> Configure Firewall ... [OK] >> >> Configure Nfs ... [OK] >> >> Configure cloudAgent ... [OK] >> >> CloudStack Agent setup is done! >> >> >> >> But in the agent.log, a connection error happened! >> >> >> >> 2016-01-21 17:02:58,042 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) Agent started >> >> 2016-01-21 17:02:58,046 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) Implementation Version is 4.7.0 >> >> 2016-01-21 17:02:58,047 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) agent.properties found at >> /etc/cloudstack/agent/agent.properties >> >> 2016-01-21 17:02:58,054 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) Defaulting to using properties file for storage >> >> 2016-01-21 17:02:58,056 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) Defaulting to the constant time backoff algorithm >> >> 2016-01-21 17:02:58,077 INFO [cloud.utils.LogUtils] (main:null) >> (logid:) log4j configuration found at >> /etc/cloudstack/agent/log4j-cloud.xml >> >> 2016-01-21 17:02:58,097 INFO [cloud.agent.AgentShell] (main:null) >> (logid:) Preferring IPv4 address family for agent connection >> >> 2016-01-21 17:02:58,183 INFO [cloud.agent.Agent] (main:null) (logid:) >> id is >> >> >> 2016-01-21 17:02:58,235 INFO [kvm.resource.LibvirtConnection] >> (main:null) >> (logid:) No existing libvirtd connection found. Opening a new one >> >> 2016-01-21 17:02:58,725 INFO [org.reflections.Reflections] >> (main:null) >> (logid:) Reflections took 113 ms to scan 1 urls, producing 7 keys and >> 10 values >> >> 2016-01-21 17:02:58,901 INFO [kvm.resource.LibvirtComputingResource] >> (main:null) (logid:) No libvirt.vif.driver specified. Defaults to >> BridgeVifDriver. >> >> 2016-01-21 17:02:58,941 INFO [cloud.agent.Agent] (main:null) (logid:) >> Agent [id = new : type = LibvirtComputingResource : zone = 1 : pod = 1 >> : workers = >> 5 : host = 10.4.0.11 : port = 8250 >> >> 2016-01-21 17:02:58,946 INFO [utils.nio.NioClient] (main:null) >> (logid:) Connecting to 10.4.0.11:8250 >> >> 2016-01-21 17:03:59,131 ERROR [utils.nio.NioConnection] (main:null) >> (logid:) >> Unable to initialize the threads. >> >> java.io.IOException: Connection closed with -1 on reading size. >> > > >Could be SSL/TLS issue, ensure that packages are updated on your management >server, in particular anything related to nss. > >-- >Erik > >