Re: Cannot add host in Cloudstack 4.7
It should go through ssl handshaking AS well.. Den lørdag 23. januar 2016 skrev Rui Mao følgende: > Connected, from both local and remote. > > [root@mgmt ~]# openssl s_client -connect 10.4.0.11:8250 > CONNECTED(0003) > > [root@node1 ~]# openssl s_client -connect 10.4.0.11:8250 > CONNECTED(0003) > > Best regards, > Rui Mao > > > -邮件原件- > 发件人: users-return-24371-maorui2k=163@cloudstack.apache.org > [mailto:users-return-24371-maorui2k = > 163@cloudstack.apache.org ] 代表 Erik Weber > 发送时间: 2016年1月23日 07:33 > 收件人: users@cloudstack.apache.org > 主题: Re: RE: Cannot add host in Cloudstack 4.7 > > how about: openssl s_client -connect 10.4.0.11:8250 ? > > -- > Erik > > On Sat, Jan 23, 2016 at 12:23 AM, 毛睿 > > 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" > 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 > wrote: > > > > > >> I'm new to CloudStack, and just installed Cloudstack 4.7.0 in two > > >> computers. &g
答复: RE: Cannot add host in Cloudstack 4.7
Connected, from both local and remote. [root@mgmt ~]# openssl s_client -connect 10.4.0.11:8250 CONNECTED(0003) [root@node1 ~]# openssl s_client -connect 10.4.0.11:8250 CONNECTED(0003) Best regards, Rui Mao -邮件原件- 发件人: users-return-24371-maorui2k=163@cloudstack.apache.org [mailto:users-return-24371-maorui2k=163@cloudstack.apache.org] 代表 Erik Weber 发送时间: 2016年1月23日 07:33 收件人: users@cloudstack.apache.org 主题: Re: RE: Cannot add host in Cloudstack 4.7 how about: openssl s_client -connect 10.4.0.11:8250 ? -- Erik On Sat, Jan 23, 2016 at 12:23 AM, 毛睿 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" 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 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]
Re: RE: Cannot add host in Cloudstack 4.7
how about: openssl s_client -connect 10.4.0.11:8250 ? -- Erik On Sat, Jan 23, 2016 at 12:23 AM, 毛睿 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" 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 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! > >> > >>
Re: RE: Cannot add host in Cloudstack 4.7
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" 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 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
RE: Cannot add host in Cloudstack 4.7
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 [ShapeBlue]<http://www.shapeblue.com> Glenn Wagner Senior Consultant , ShapeBlue d: | s: +27 21 527 0091| m: +27 73 917 4111 e: glenn.wag...@shapeblue.com | t: <mailto:glenn.wag...@shapeblue.com%20|%20t:> | w: www.shapeblue.com<http://www.shapeblue.com> a: 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 South Africa [cid:image4d7d8e.png@abcdd09f.4e9594b4] 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" 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 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.LogUti
答复: 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" 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 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 > >
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" 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 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 > >
Re: Cannot add host in Cloudstack 4.7
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 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
Re: Cannot add host in Cloudstack 4.7
On Thu, Jan 21, 2016 at 11:39 AM, Rui Mao 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
答复: Cannot add host in Cloudstack 4.7
The OS is CentOS 6.6, fresh installed, and installed CloudStack by yum. I could do ssh and telnet. I stopped/flushed the iptables, but still same result. I installed the agent in mgmt server, but could not add host too. [root@mgmt ~]# java -version java version "1.7.0_91" OpenJDK Runtime Environment (rhel-2.6.2.2.el6_7-x86_64 u91-b00) OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode) [root@mgmt ~]# telnet localhost 8250 Trying ::1... Connected to localhost. Escape character is '^]'. a Connection closed by foreign host. [root@mgmt ~]# ssh node1 root@node1's password: Last login: Fri Jan 22 09:50:33 2016 from mgmt [root@node1 ~]# telnet mgmt 8250 Trying 10.4.0.11... Connected to mgmt. Escape character is '^]'. asdsdsa Connection closed by foreign host. [root@node1 ~]# exit logout Connection to node1 closed. Best regards, Rui Mao -邮件原件- 发件人: users-return-24353-maorui2k=163@cloudstack.apache.org [mailto:users-return-24353-maorui2k=163@cloudstack.apache.org] 代表 ilya 发送时间: 2016年1月22日 05:03 收件人: users@cloudstack.apache.org 主题: Re: Cannot add host in Cloudstack 4.7 Please see response in line On 1/21/16 2:39 AM, Rui Mao 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. What are these versions reference? > In the mgmt. log, I saw successful messages. > > >From mgmt server, try to ssh to KVM host with root and confirm it works. >From KVM host, try to reach mgmt server on 8250 via netcat or telnet.. Lastly, what versions of java do you have installed on both hosts? You can try stopping iptables on both hosts to confirm its not causing any issues. Regards ilya > > 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. > > at com.cloud.utils.nio.Link.doHandshake(Link.java:513) > > at com.cloud.utils.nio.NioClient.init(Nio
Re: Cannot add host in Cloudstack 4.7
Please see response in line On 1/21/16 2:39 AM, Rui Mao 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. What are these versions reference? > In the mgmt. log, I saw successful messages. > > >From mgmt server, try to ssh to KVM host with root and confirm it works. >From KVM host, try to reach mgmt server on 8250 via netcat or telnet.. Lastly, what versions of java do you have installed on both hosts? You can try stopping iptables on both hosts to confirm its not causing any issues. Regards ilya > > 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. > > 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-01-21 17:03:59,135 INFO [utils.exception.CSExceptionErrorCode] > (main:null) (logid:) Could not find exception: > com.cloud.utils.exception.NioConnectionException in error code list for > exceptions > > 2016-01-21 17:03:59,135 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.launch
Cannot add host in Cloudstack 4.7
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. 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-01-21 17:03:59,135 INFO [utils.exception.CSExceptionErrorCode] (main:null) (logid:) Could not find exception: com.cloud.utils.exception.NioConnectionException in error code list for exceptions 2016-01-21 17:03:59,135 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