Thank you, Sebgoa, this advice has helped !

Vadim.

-----Original Message-----
From: sebgoa [mailto:run...@gmail.com] 
Sent: Friday, November 08, 2013 12:38 PM
To: users@cloudstack.apache.org
Subject: Re: Error adding XCP host in CS 4.2

I forgot about CLOUDSTACK-534, see the link that Sailaja sent you, you just 
need to add that plugin I believe


On Nov 8, 2013, at 10:48 AM, Vadim Kimlaychuk <vadim.kimlayc...@elion.ee> wrote:

> Sebastien,
> 
>       I read this article many times during past 2 months :) . I have 4 hosts 
> setup as Debian + XCP-XAPI and from command line they work very well.  I host 
> all my management infrastructure on one of them and the rest 3 I'm going to 
> use as hosts for CS. No errors or non-conformities regarding XCP-XAPI.  I 
> think there is some utility that is missing (not necessary belonging to CS or 
> XCP). But I don't know which one.
> 
> Vadim
> 
> -----Original Message-----
> From: Sebastien Goasguen [mailto:run...@gmail.com]
> Sent: Friday, November 08, 2013 11:19 AM
> To: users@cloudstack.apache.org
> Subject: Re: Error adding XCP host in CS 4.2
> 
> 
> On Nov 8, 2013, at 4:14 AM, Vadim Kimlaychuk <vadim.kimlayc...@elion.ee> 
> wrote:
> 
>> Hello,
>> 
>>           I have fresh install of CS 4.2. Adding host to the cluster gives 
>> me “Internal server error”. In the logs I can see these messages:
>> 
>> 2013-11-08 10:37:15,908 DEBUG [cloud.resource.ResourceState] 
>> (catalina-exec-12:n
>> ull) Resource state update: [id = 1; name = xcp1; old state = 
>> Creating; event = InternalCreated; new state = Enabled]
>> 2013-11-08 10:37:15,908 DEBUG [cloud.host.Status]
>> (catalina-exec-12:null) Transi tion:[Resource state = Enabled, Agent 
>> event = AgentConnected, Host id = 1, name = xcp1]
>> 2013-11-08 10:37:15,916 DEBUG [cloud.host.Status]
>> (catalina-exec-12:null) Agent status update: [id = 1; name = xcp1; 
>> old status = Creating; event = AgentConnect ed; new status = 
>> Connecting; old update count = 0; new update count = 1]
>> 2013-11-08 10:37:15,921 DEBUG
>> [agent.manager.ClusteredAgentManagerImpl] (catalin
>> a-exec-12:null) create ClusteredDirectAgentAttache for 1
>> 2013-11-08 10:37:15,922 INFO  [agent.manager.DirectAgentAttache]
>> (catalina-exec-
>> 12:null) StartupAnswer received 1 Interval = 60
>> 2013-11-08 10:37:15,935 DEBUG [agent.manager.AgentManagerImpl]
>> (catalina-exec-12
>> :null) Sending Connect to listener: 
>> XcpServerDiscoverer_EnhancerByCloudStack_a47
>> 0b459
>> 2013-11-08 10:37:15,938 DEBUG [xen.discoverer.XcpServerDiscoverer]
>> (catalina-exe
>> c-12:null) Setting up host 1
>> 2013-11-08 10:37:15,943 DEBUG [agent.transport.Request]
>> (catalina-exec-12:null) Seq 1-1747845121: Sending  { Cmd , MgmtId: 
>> 91112348147837, via: 1, Ver: v1, Flag
>> s: 100111,
>> [{"com.cloud.agent.api.SetupCommand":{"env":{},"multipath":false,"nee
>> dSetup":true,"wait":0}}] }
>> 2013-11-08 10:37:15,944 DEBUG [agent.transport.Request]
>> (catalina-exec-12:null) Seq 1-1747845121: Executing:  { Cmd , MgmtId: 
>> 91112348147837, via: 1, Ver: v1, F
>> lags: 100111, 
>> [{"com.cloud.agent.api.SetupCommand":{"env":{},"multipath":false,"
>> needSetup":true,"wait":0}}] }
>> 2013-11-08 10:37:15,945 DEBUG [agent.manager.DirectAgentAttache] 
>> (DirectAgent-1:
>> null) Seq 1-1747845121: Executing request
>> 2013-11-08 10:37:15,989 WARN  [xen.resource.XenServerConnectionPool]
>> (DirectAgen
>> t-1:null) Echo test failed on host
>> 110bc674-5ef7-2411-d389-32ed75ff62e6 IP 192.1
>> 68.10.102
>> The requested plugin could not be found.
>> at com.xensource.xenapi.Types.checkResponse(Types.java:1622)
>>       at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>>       at
>> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerCo
>> nnection.dispatch(XenServerConnectionPool.java:909)
>>       at com.xensource.xenapi.Host.callPlugin(Host.java:2560)
>>       at
>> com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(Xen
>> ServerConnectionPool.java:643)
>>       at
>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getConnection(Ci
>> trixResourceBase.java:5824)
>>       at
>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRe
>> sourceBase.java:4994)
>>       at
>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(C
>> itrixResourceBase.java:545)
>>       at
>> com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOs
>> sResource.java:143)
>>       at
>> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttach
>> e.java:186)
>> 
>> 
>>           What CS is looking for?? I have Host server installed as Debian + 
>> XCP-XAPI instead on typical XCP1.6 install. Can this be a problem?
>> 
> 
> Vladim, I did this some time back. xapi setup on debian or ubuntu system is 
> non-trivial (at least to me), there are lots of little tricks to do:
> http://wiki.xen.org/wiki/XAPI_toolstack_on_a_Debian-based_distribution
> 
> I'd suggest you go through the wiki page and make sure xapi is setup 
> properly. I don't think it's a cloudstack issue per se.
> 
>> Thanks,
>> 
>> Vadim Kimlaychuk
>> integratsiooni arhitekt
>> tel. 640 2297
>> mob. 5233474
>> 
> 

Reply via email to