Check the ‘host’ name entry in configuration table (or global settings via UI). 
This is the ip that ssvm/cpvm will use to try to connect back to MS.
Make sure that it is reachable and points to MS.

Abhinandan Prateek
S: +44 20 3603 0540 <tel:+442036030540> | M: +91 97011 99011 
<tel:+91%2097011%2099011>
abhinandan.prat...@shapeblue.com







On 24/11/15, 12:51 PM, "kotipalli venkatesh" <venkateshcloudt...@gmail.com> 
wrote:

>Hi All,
>
>The above solution how can re-solve please help me guys.
>
>Regards,
>Venkatesh.k
>
>On Tue, Nov 24, 2015 at 12:49 PM, kotipalli venkatesh <
>venkateshcloudt...@gmail.com> wrote:
>
>> Hi All,
>>
>> 2014-06-16 08:08:01,108 INFO  [utils.nio.NioClient] (Agent-Selector:null)
>> Connecting to 10.102.192.247:8250
>>
>> 2014-06-16 08:08:01,872 ERROR [utils.nio.NioConnection]
>> (Agent-Selector:null) Unable to initialize the threads.
>>
>> java.io.IOException: SSL: Fail to init SSL! java.io.IOException:
>> Connection closed with -1 on reading size.
>>
>> at com.cloud.utils.nio.NioClient.init(NioClient.java:84)
>>
>> at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
>>
>> at java.lang.Thread.run(Thread.java:701)
>>
>> *Solution* : -
>>
>>
>>
>> 1. rm
>> ./client/target/cloud-client-ui-4.3.0.0/WEB-INF/classes/cloudmanagementserver.keystore
>> ./client/target/conf/cloudmanagementserver.keystore
>> ./client/target/generated-webapp/WEB-INF/classes/cloudmanagementserver.keystore
>>
>>
>>
>> 2. remove root entry from cloud.keystore;
>>
>>
>>
>> 3. remove ssl.keystore from cloud.configuration where description like
>> '%key%';
>>
>>
>>
>> 4. restart MS agent in ssvm
>>
>>
>> Regards,
>>
>> Venkatesh.k
>>
>>
>> On Tue, Nov 24, 2015 at 12:44 PM, Yan Bai <baiyan...@gmail.com> wrote:
>>
>>> By the way, there is a similar error mention in document below:
>>>
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
>>>
>>> Seems this error is caused by corrupted keystore. I tried the solution in
>>> the document but did not solve this issue.
>>>
>>> On Tue, Nov 24, 2015 at 1:11 AM, Yan Bai <baiyan...@gmail.com> wrote:
>>>
>>> > I got same error when I deployed CloudStack 4.5 on CentOS 6.5 with yum
>>> > repository(http://cloudstack.apt-get.eu/). I investigated this issue a
>>> > lot online but I failed to find a solution. Then I tried to deploy
>>> > CloudStack 4.3 on Ubuntu then I did not see this error and the system
>>> > running well.
>>> >
>>> > -Yan
>>> >
>>> > On Tue, Nov 24, 2015 at 1:01 AM, kotipalli venkatesh <
>>> > venkateshcloudt...@gmail.com> wrote:
>>> >
>>> >> Hi All,
>>> >>
>>> >> I have successful installed CS 4.6.0 and hypervisor is Xenserver 6.5
>>> >>  Agent state is  not up on both VM's (CPVM and SSVM)
>>> >>
>>> >> Please find the below SSVM log error :
>>> >>
>>> >> 2015-11-24 06:43:48,995 DEBUG [utils.script.Script] (main:null) Looking
>>> >> for
>>> >> createvolume.sh in the classpath
>>> >> 2015-11-24 06:43:48,995 DEBUG [utils.script.Script] (main:null) System
>>> >> resource: null
>>> >> 2015-11-24 06:43:48,995 DEBUG [utils.script.Script] (main:null)
>>> Classpath
>>> >> resource:
>>> >>
>>> file:/usr/local/cloud/systemvm/scripts/storage/secondary/createvolume.sh
>>> >> 2015-11-24 06:43:48,995 DEBUG [utils.script.Script] (main:null)
>>> Absolute
>>> >> path =
>>> >> /usr/local/cloud/systemvm/scripts/storage/secondary/createvolume.sh
>>> >> 2015-11-24 06:43:48,995 INFO  [storage.template.DownloadManagerImpl]
>>> >> (main:null) createvolume.sh found in
>>> >> /usr/local/cloud/systemvm/scripts/storage/secondary/createvolume.sh
>>> >> 2015-11-24 06:43:49,002 INFO  [storage.template.UploadManagerImpl]
>>> >> (main:null) UploadManager: starting additional services since we are
>>> >> inside
>>> >> system vm
>>> >> 2015-11-24 06:43:49,357 INFO  [cloud.serializer.GsonHelper] (main:null)
>>> >> Default Builder inited.
>>> >> 2015-11-24 06:43:49,367 DEBUG [cloud.agent.Agent] (main:null) Adding
>>> >> shutdown hook
>>> >> 2015-11-24 06:43:49,368 INFO  [cloud.agent.Agent] (main:null) Agent
>>> [id =
>>> >> new : type = PremiumSecondaryStorageResource : zone = 2 : pod = 2 :
>>> >> workers
>>> >> = 5 : host = 10.0.0.170 : port = 8250
>>> >> 2015-11-24 06:43:49,379 INFO  [utils.nio.NioClient] (main:null)
>>> Connecting
>>> >> to 10.0.0.170:8250
>>> >> 2015-11-24 06:44:49,607 *ERROR [utils.nio.NioConnection] (main: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:80)
>>> >>         at
>>> com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
>>> >>         at com.cloud.agent.Agent.start(Agent.java:227)
>>> >>         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 com.cloud.agent.AgentShell.main(AgentShell.java:496)
>>> >> 2015-11-24 06:44:49,613 INFO  [utils.exception.CSExceptionErrorCode]
>>> >> (main:null) Could not find exception:
>>> >> com.cloud.utils.exception.NioConnectionException in error code list for
>>> >> exceptions
>>> >> 2015-11-24 06:44:49,614 ERROR [cloud.agent.AgentShell] (main:null)
>>> Unable
>>> >> to start agent:
>>> >> com.cloud.utils.exception.CloudRuntimeException: Unable to start the
>>> >> connection!
>>> >>         at com.cloud.agent.Agent.start(Agent.java:229)
>>> >>         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 com.cloud.agent.AgentShell.main(AgentShell.java:496)
>>> >> 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:227)
>>> >>         ... 5 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)
>>> >>         ... 6 more
>>> >> 2015-11-24 06:44:49,620 INFO  [cloud.agent.Agent]
>>> >> (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
>>> >>
>>> >> Could you please quick respone ASAP.
>>> >>
>>> >> Regards,
>>> >> Venkatesh.k
>>> >>
>>> >
>>> >
>>>
>>
>>
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.

Reply via email to