cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-6844) [Automation] NPE observed while adding KVM agent host
Date Wed, 04 Jun 2014 17:01:06 GMT
Rayees Namathponnan created CLOUDSTACK-6844:
-----------------------------------------------

             Summary: [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)

Mime
View raw message