how about: openssl s_client -connect 10.4.0.11:8250 ? -- Erik
On Sat, Jan 23, 2016 at 12:23 AM, 毛睿 <maoru...@163.com> wrote: > Yes, I can. > > Rui Mao > > > > On 2016-01-23 00:47 , Glenn Wagner Wrote: > > > Hi, > > From the Compute host (10.4.0.12) can you telnet the port 8250 on the > Management server. > > > host# telnet 10.4.0.11 8250 > > Regards > Glenn > > > > > > | > | | > | > | Glenn Wagner | > | > | Senior Consultant | , | ShapeBlue | > | > | > | > | > | d: | | s: +27 21 527 0091 | | | m: | +27 73 917 4111 | > | > | > | e: | glenn.wag...@shapeblue.com | t: | | | w: | www.shapeblue.com | > | > | > | a: | 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town > 7130 South Africa | > | > | > | | > | > | > | > | Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue > Services India LLP is a company incorporated in India and is operated under > license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a > company incorporated in Brasil and is operated under license from Shape > Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of > South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is > a registered trademark. > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based > upon its contents, nor copy or show it to anyone. Please contact the sender > if you believe you have received this email in error. > > | > | > > > -----Original Message----- > From: Rui Mao [mailto:maoru...@163.com] > Sent: Friday, 22 January 2016 12:49 PM > To: users@cloudstack.apache.org > Subject: 答复: Cannot add host in Cloudstack 4.7 > > java version "1.7.0_95" > OpenJDK Runtime Environment (rhel-2.6.4.0.el6_7-x86_64 u95-b00) OpenJDK > 64-Bit Server VM (build 24.95-b01, mixed mode) > > Best regards, > Rui Mao > > > -----邮件原件----- > 发件人: users-return-24365-maorui2k=163....@cloudstack.apache.org [mailto: > users-return-24365-maorui2k=163....@cloudstack.apache.org] 代表 Remi Bergsma > 发送时间: 2016年1月22日 18:46 > 收件人: users@cloudstack.apache.org > 主题: Re: Cannot add host in Cloudstack 4.7 > > 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 > > > > > > > > Find out more about ShapeBlue and our range of CloudStack related services: > IaaS Cloud Design & Build | CSForge – rapid IaaS deployment framework > CloudStack Consulting | CloudStack Software Engineering > CloudStack Infrastructure Support | CloudStack Bootcamp Training Courses >