You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ghaith Bannoura <gh...@hotmail.com> on 2015/10/26 16:21:10 UTC

Problem in Agent for system VM

Hello All,
I installed Apache Cloud stack on my environment but after that i have multiple problems on it as per below :
1- Virtual router not created 2-system VMs (CPVM and SSVM) is running but the agent in the UI is not running , i used health check in SSVM (/usr/local/cloud/systemvm/ssvm-check.sh) and everything is appear running normally , but i checked the cloud.log  but i founded the error that as below : 
2015-10-26 13:48:49,621 INFO  [utils.nio.NioClient] (Agent-Selector:null) Connecting to 192.168.100.2:82502015-10-26 13:49:35,461 ERROR [utils.nio.NioConnection] (Agent-Selector: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:81)        at com.cloud.utils.nio.NioConnection.run(NioConnection.java:113)        at java.lang.Thread.run(Thread.java:745)2015-10-26 13:49:40,469 INFO  [utils.nio.NioClient] (Agent-Selector:null) Connecting to 192.168.100.2:8250 ..


the third problem that i have is no any templates or ISO can be downloaded , i think this problem related for the agent in SSVM and CPVM .

Please advice how can i resolve this issue .

Best RegardsGhaith Bannoura
 		 	   		  

Re: Problem in Agent for system VM

Posted by Dag Sonstebo <Da...@shapeblue.com>.
Hi Ghaith,

with regards to your third listed issue - what is the status of the
template download in your zone? You might want to check that you can reach
the URL for any URL from locally on the SSVM as well, just to rule out any
other connectivity issues.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue





On 27/10/2015, 05:59, "Rajani Karuturi" <ra...@apache.org> wrote:

>virtual router will be created only when you launch an instance.
>
>Regarding the connection issue, what is the java version?
>upgrading java or nss might help.
>details at http://blog.backslasher.net/java-ssl-crash.html
>
>~Rajani
>
>On Mon, Oct 26, 2015 at 8:51 PM, Ghaith Bannoura
><ghaithbannoura@hotmail.com
>> wrote:
>
>> Hello All,
>> I installed Apache Cloud stack on my environment but after that i have
>> multiple problems on it as per below :
>> 1- Virtual router not created 2-system VMs (CPVM and SSVM) is running
>>but
>> the agent in the UI is not running , i used health check in SSVM
>> (/usr/local/cloud/systemvm/ssvm-check.sh) and everything is appear
>>running
>> normally , but i checked the cloud.log  but i founded the error that as
>> below :
>> 2015-10-26 13:48:49,621 INFO  [utils.nio.NioClient]
>>(Agent-Selector:null)
>> Connecting to 192.168.100.2:82502015-10-26 13:49:35,461 ERROR
>> [utils.nio.NioConnection] (Agent-Selector: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:81)        at
>> com.cloud.utils.nio.NioConnection.run(NioConnection.java:113)        at
>> java.lang.Thread.run(Thread.java:745)2015-10-26 13:49:40,469 INFO
>> [utils.nio.NioClient] (Agent-Selector:null) Connecting to
>> 192.168.100.2:8250 ..
>>
>>
>> the third problem that i have is no any templates or ISO can be
>>downloaded
>> , i think this problem related for the agent in SSVM and CPVM .
>>
>> Please advice how can i resolve this issue .
>>
>> Best RegardsGhaith Bannoura
>>

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

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. 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.

Re: Problem in Agent for system VM

Posted by Rajani Karuturi <ra...@apache.org>.
virtual router will be created only when you launch an instance.

Regarding the connection issue, what is the java version?
upgrading java or nss might help.
details at http://blog.backslasher.net/java-ssl-crash.html

~Rajani

On Mon, Oct 26, 2015 at 8:51 PM, Ghaith Bannoura <ghaithbannoura@hotmail.com
> wrote:

> Hello All,
> I installed Apache Cloud stack on my environment but after that i have
> multiple problems on it as per below :
> 1- Virtual router not created 2-system VMs (CPVM and SSVM) is running but
> the agent in the UI is not running , i used health check in SSVM
> (/usr/local/cloud/systemvm/ssvm-check.sh) and everything is appear running
> normally , but i checked the cloud.log  but i founded the error that as
> below :
> 2015-10-26 13:48:49,621 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.100.2:82502015-10-26 13:49:35,461 ERROR
> [utils.nio.NioConnection] (Agent-Selector: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:81)        at
> com.cloud.utils.nio.NioConnection.run(NioConnection.java:113)        at
> java.lang.Thread.run(Thread.java:745)2015-10-26 13:49:40,469 INFO
> [utils.nio.NioClient] (Agent-Selector:null) Connecting to
> 192.168.100.2:8250 ..
>
>
> the third problem that i have is no any templates or ISO can be downloaded
> , i think this problem related for the agent in SSVM and CPVM .
>
> Please advice how can i resolve this issue .
>
> Best RegardsGhaith Bannoura
>

Re: Problem in Agent for system VM

Posted by Erik Weber <te...@gmail.com>.
On Mon, Oct 26, 2015 at 4:21 PM, Ghaith Bannoura <ghaithbannoura@hotmail.com
> wrote:

> Hello All,
> I installed Apache Cloud stack on my environment but after that i have
> multiple problems on it as per below :
> 1- Virtual router not created 2-system VMs (CPVM and SSVM) is running but
> the agent in the UI is not running , i used health check in SSVM
> (/usr/local/cloud/systemvm/ssvm-check.sh) and everything is appear running
> normally , but i checked the cloud.log  but i founded the error that as
> below :
> 2015-10-26 13:48:49,621 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.100.2:82502015-10-26 13:49:35,461 ERROR
> [utils.nio.NioConnection] (Agent-Selector: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:81)        at
> com.cloud.utils.nio.NioConnection.run(NioConnection.java:113)        at
> java.lang.Thread.run(Thread.java:745)2015-10-26 13:49:40,469 INFO
> [utils.nio.NioClient] (Agent-Selector:null) Connecting to
> 192.168.100.2:8250 ..
>
>
> the third problem that i have is no any templates or ISO can be downloaded
> , i think this problem related for the agent in SSVM and CPVM .
>
> Please advice how can i resolve this issue .
>
>
I've experienced this a couple of times, and resolved it by updating the
system/OS on the management server. The link Rajani provided should be
helpful, as that is what guided me in the right direction.

After you have resolved that part, the rest should hopefully also resolve
itself, as most of them are related to lack of agent communication.

Regards,
Erik