cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhinandan Prateek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5507) Unable to add XenServer 5.6 host to cloudstack
Date Mon, 16 Dec 2013 04:17:08 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abhinandan Prateek updated CLOUDSTACK-5507:
-------------------------------------------

    Assignee: Harikrishna Patnala  (was: Bharat Kumar)

> Unable to add XenServer 5.6 host to cloudstack
> ----------------------------------------------
>
>                 Key: CLOUDSTACK-5507
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5507
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: XenServer 5.6
>            Reporter: Srikanteswararao Talluri
>            Assignee: Harikrishna Patnala
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Not able to add XenServer 5.6 host to cloudstack
>  Trying to add a new host at http://10.147.40.30 in data center 1
> INFO  [c.c.h.x.d.XcpServerDiscoverer] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Found host Rack1Pod1Host30 ip=10.147.40.30 product version=5.6.100
> INFO  [c.c.h.x.r.CitrixResourceBase] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Private Network is Pool-wide network associated with eth0 for host 10.147.40.30
> INFO  [c.c.h.x.r.CitrixResourceBase] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Guest Network is Pool-wide network associated with eth0 for host 10.147.40.30
> INFO  [c.c.h.x.r.CitrixResourceBase] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Public Network is Pool-wide network associated with eth0 for host 10.147.40.30
> INFO  [c.c.h.x.d.XcpServerDiscoverer] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Host: Rack1Pod1Host30 connected with hypervisor type: XenServer. Checking CIDR...
> INFO  [c.c.a.m.DirectAgentAttache] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
StartupAnswer received 1 Interval = 60
> WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-ff7a0576) We cannot locate /Users/talluri/asf/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver56fp1/../vhd-util
> WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-ff7a0576) callHostPlugin failed
for cmd: setIptables with args  due to There was a failure communicating with the plugin.
> WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-ff7a0576) Unable to setup
> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: setIptables
with args  due to There was a failure communicating with the plugin.
> 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:4335)
> 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.setIptables(CitrixResourceBase.java:4347)
> 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:5144)
> 	at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:538)
> 	at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
> 	at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
> 	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> 	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at java.lang.Thread.run(Thread.java:695)
> WARN  [c.c.h.x.d.XcpServerDiscoverer] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Unable to setup agent 1 due to callHostPlugin failed for cmd: setIptables with args  due to
There was a failure communicating with the plugin.
> INFO  [c.c.u.e.CSExceptionErrorCode] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Could not find exception: com.cloud.exception.ConnectionException in error code list for exceptions
> WARN  [c.c.a.m.AgentManagerImpl] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Monitor XcpServerDiscoverer says there is an error in the connect process for 1 due to Reinitialize
agent after setup.
> INFO  [c.c.a.m.AgentManagerImpl] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Host 1 is disconnecting with event AgentDisconnected
> WARN  [c.c.r.ResourceManagerImpl] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc)
Unable to connect due to 
> com.cloud.exception.ConnectionException: Reinitialize agent after setup.
> 	at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:665)
> 	at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:495)
> 	at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1402)
> 	at com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1802)
> 	at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:760)
> 	at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> 	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at com.sun.proxy.$Proxy148.discoverHosts(Unknown Source)
> 	at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:530)
> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
> 	at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322)
> 	at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52)
> 	at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:111)
> 	at com.cloud.api.ApiServlet.doPost(ApiServlet.java:78)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> ERROR [c.c.a.ApiServer] (1592028516@qtp-1977926432-4:ctx-11d2291a ctx-f15638bc) unhandled
exception executing api command: addHost
> com.cloud.utils.exception.CloudRuntimeException: Cannot transit agent status with event
AgentDisconnected for host 1, mangement server id is 4278190080,Unable to transition to a
new state from Creating via AgentDisconnected
> 	at com.cloud.agent.manager.AgentManagerImpl.agentStatusTransitTo(AgentManagerImpl.java:1334)
> 	at com.cloud.resource.ResourceManagerImpl.markHostAsDisconnected(ResourceManagerImpl.java:1667)
> 	at com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1828)
> 	at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:760)
> 	at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> 	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at com.sun.proxy.$Proxy148.discoverHosts(Unknown Source)
> 	at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:530)
> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
> 	at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322)
> 	at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52)
> 	at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:111)
> 	at com.cloud.api.ApiServlet.doPost(ApiServlet.java:78)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> INFO  [c.c.r.ResourceManagerImpl] (86797476@qtp-1977926432-6:ctx-baae98d9 ctx-b4b5edf4)
Trying to add a new host at http://10.147.40.30 in data center 1
> INFO  [c.c.r.ResourceManagerImpl] (86797476@qtp-1977926432-6:ctx-baae98d9 ctx-b4b5edf4)
server resources successfully discovered by XCP Agent
> INFO  [c.c.a.ApiServer] (86797476@qtp-1977926432-6:ctx-baae98d9 ctx-b4b5edf4) Failed
to add host



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message