Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72B0A11323 for ; Wed, 16 Jul 2014 10:44:06 +0000 (UTC) Received: (qmail 20883 invoked by uid 500); 16 Jul 2014 10:44:05 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 20849 invoked by uid 500); 16 Jul 2014 10:44:05 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 20839 invoked by uid 500); 16 Jul 2014 10:44:05 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 20836 invoked by uid 99); 16 Jul 2014 10:44:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 10:44:05 +0000 Date: Wed, 16 Jul 2014 10:44:05 +0000 (UTC) From: "shweta agarwal (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063371#comment-14063371 ] shweta agarwal commented on CLOUDSTACK-7097: -------------------------------------------- I am hitting this issue everytime I am trying to configure KVM host on rhel however on running command modprobe kvm_amd KVM agent is enabled and i could proceed further . so its ok to lower its priority > 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: Critical > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > 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)