cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shweta agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7097) failing to add kvm host to MS
Date Fri, 11 Jul 2014 09:19:04 GMT
shweta agarwal created CLOUDSTACK-7097:
------------------------------------------

             Summary: failing to add  kvm host to MS
                 Key: CLOUDSTACK-7097
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM, Management Server
    Affects Versions: 4.5.0
            Reporter: shweta agarwal
            Priority: Blocker
             Fix For: 4.5.0


Repro steps:
Create a agent on rhel 6.3
create a MS on rhel 6.3

Try creating a zone

Bug : zone creation fails at adding host step


MS log shows :
014-07-11 03:33:46,284 WARN  [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-12:ctx-007b5513
ctx-c586ed3c) Received unknown parameters for command addHost. Unknown parameters : clustertype
2014-07-11 03:33:46,294 INFO  [c.c.r.ResourceManagerImpl] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
Trying to add a new host at http://10.147.40.24 in data center 1
2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
Executing cmd: lsmod|grep kvm
2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
Executing cmd: lsmod|grep kvm
2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
Executing cmd: lsmod|grep kvm
2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] (catalina-exec-12:ctx-007b5513
ctx-c586ed3c) It's not a KVM enabled machine
2014-07-11 03:33:49,608 WARN  [c.c.r.ResourceManagerImpl] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
Unable to find the server resources at http://10.147.40.24
2014-07-11 03:33:49,611 INFO  [c.c.u.e.CSExceptionErrorCode] (catalina-exec-12:ctx-007b5513
ctx-c586ed3c) Could not find exception: com.cloud.exception.DiscoveryException in error code
list for exceptions
2014-07-11 03:33:49,611 WARN  [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
        at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791)
        at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
        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:601)
        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 $Proxy148.discoverHosts(Unknown Source)
        at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
        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:115)
        at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2014-07-11 03:33:49,614 INFO  [c.c.a.ApiServer] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
Unable to add the host
2014-07-11 03:33:49,615 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-007b5513 ctx-c586ed3c)
===END===  10.146.0.131 -- POST  command=addHost&response=json&sessionkey=Nn521dZN5xEmOLqVaw7MoSliv%2F8%3D
2014-07-11 03:33:54,574 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-aae15aea)
Found 0 routers to update status.
2014-07-11 03:33:54,575 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-aae15aea)
Found 0 networks to update RvR status.
2014-07-11 03:34:09,596 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-d3eaaf2f) AutoScaling
Monitor is running...
2014-07-11 03:34:09,598 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-74a1cae0) VmStatsCollector
is running...
                                                                                         
       
attaching ms logs




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message