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 9B01111A03 for ; Wed, 18 Jun 2014 22:08:25 +0000 (UTC) Received: (qmail 62574 invoked by uid 500); 18 Jun 2014 22:08:25 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 62549 invoked by uid 500); 18 Jun 2014 22:08:25 -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 62535 invoked by uid 500); 18 Jun 2014 22:08:25 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 62532 invoked by uid 99); 18 Jun 2014 22:08:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2014 22:08:25 +0000 Date: Wed, 18 Jun 2014 22:08:25 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6844) [Automation] NPE observed while adding KVM agent host 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-6844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036496#comment-14036496 ] ASF subversion and git services commented on CLOUDSTACK-6844: ------------------------------------------------------------- Commit 2ec7359b4eb501b0d9e80ed87af7a54938e9d505 in cloudstack's branch refs/heads/4.4-forward from [~anthonyxu] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2ec7359 ] CLOUDSTACK-6662 CLOUDSTACK-6844 exit status delivery might get delayed Please enter the commit message for your changes. Lines starting > [Automation] NPE observed while adding KVM agent host > ----------------------------------------------------- > > Key: CLOUDSTACK-6844 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6844 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.4.0 > Environment: KVM - RHEL 6.3 > 4.4-forward branch > Reporter: Rayees Namathponnan > Priority: Critical > Fix For: 4.4.0 > > Attachments: management-server.log.2014-06-03.gz > > > NPE expection observed while adding KVM agent > 2014-06-03 22:21:21,690 INFO [c.c.r.ResourceManagerImpl] (catalina-exec-2:ctx-f3869ee3 ctx-10800f51 ctx-56aa1511) Trying to > add a new host at http://10.223.49.130 in data center 2 > 2014-06-03 22:21:21,821 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-2:ctx-f3869ee3 ctx-10800f51 ctx-56aa1511) Executing cmd: > lsmod|grep kvm > 2014-06-03 22:21:22,949 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-2:ctx-f3869ee3 ctx-10800f51 ctx-56aa1511) lsmod|grep kvm > output:kvm_intel 52570 0 > kvm 314739 1 kvm_intel > 2014-06-03 22:21:22,949 DEBUG [c.c.u.s.SSHCmdHelper] (catalina-exec-2:ctx-f3869ee3 ctx-10800f51 ctx-56aa1511) Ssh executed fa > iled > java.lang.NullPointerException > at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShotWithExitCode(SSHCmdHelper.java:159) > at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmdOneShot(SSHCmdHelper.java:170) > at com.cloud.utils.ssh.SSHCmdHelper.sshExecuteCmd(SSHCmdHelper.java:66) > at com.cloud.hypervisor.kvm.discoverer.LibvirtServerDiscoverer.find(LibvirtServerDiscoverer.java:161) > at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:735) > 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:606) > 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.$Proxy146.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:683) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506) > at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) > at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) > 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) -- This message was sent by Atlassian JIRA (v6.2#6252)