[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209635#comment-14209635 ] Fabian Stelzer commented on CLOUDSTACK-6099: I'm still seeing this issue on 4.4.1! (This tickets status is a bit confusing as it states affected: 4.4.1, fixed in 4.4.1 ...) Same steps to reproduce (migrate a vm with a dynamic compute offering) Exception is as follows: 2014-11-13 11:23:22,089 DEBUG [c.c.s.ManagementServerImpl] (catalina-exec-18:ctx-a1590c53 ctx-18b81f96) Searching for all hosts in cluster 1 for migrating VM VM[User|i-2-219-VM] 2014-11-13 11:23:22,100 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (catalina-exec-18:ctx-a1590c53 ctx-18b81f96) Looking for hosts in dc: 1 pod:1 cluster:1 2014-11-13 11:23:22,107 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (catalina-exec-18:ctx-a1590c53 ctx-18b81f96) FirstFitAllocator has 4 hosts to check for allocation: [Host[-9-Routing], Host[-4-Routing], Host[-1-Routing], Host[-5-Routing]] 2014-11-13 11:23:22,129 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (catalina-exec-18:ctx-a1590c53 ctx-18b81f96) Found 4 hosts for allocation after prioritization: [Host[-9-Routing], Host[-4-Routing], Host[-1-Routing], Host[-5-Routing]] 2014-11-13 11:23:22,129 ERROR [c.c.a.ApiServer] (catalina-exec-18:ctx-a1590c53 ctx-18b81f96) unhandled exception executing api command: [Ljava.lang.String;@2821dfee java.lang.NullPointerException at com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:253) at com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:182) at com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1229) 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.$Proxy209.listHostsForMigrationOfVM(Unknown Source) at org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:78) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511) 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) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 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
[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900376#comment-13900376 ] Bharat Kumar commented on CLOUDSTACK-6099: -- pushed the fix in the internal 4.3 http://git-ccp.citrix.com/cgit/internal-cloudstack.git/commit/?h=4.3&id=f7a6749c151f330cb7f13bd6fc8671341cd9e9e5 > live migration is failing for vm deployed using dynaic compute offerings with > NPE;unhandled exception executing api command: findHostsForMigration > java.lang.NullPointerException > - > > Key: CLOUDSTACK-6099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6099 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Reporter: Bharat Kumar >Assignee: Bharat Kumar > > Steps to reproduce > === > 1-Prepare CS setup with xen 6.2 ,two host in a cluster > 2-create a custom service offering > 3-deploy a vm with custom service offering > 4-try to migrate vm > Expected > = > vm should get migrate successfully > Actual > == > Migrate vm is failing with NPE > observation > === > migrate vm is working fine for vms deployed with regular compute offering > Log > === > 2014-02-03 10:07:25,229 DEBUG [c.c.s.StorageManagerImpl] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Checking pool: 1 for volume > allocation [Vol[11|vm=8|ROOT]], maxSize : 11804569632768, totalAllocatedSize > : 115238502400, askingSize : 0, allocated disable threshold: 0.85 > 2014-02-03 10:07:25,230 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) ClusterScopeStoragePoolAllocator > returning 1 suitable storage pools > 2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-4-Routing]] > 2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation > after prioritization: [Host[-4-Routing]] > 2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) unhandled exception executing > api command: findHostsForMigration > java.lang.NullPointerException > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267) > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238) > at > com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195) > 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:616) > 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 $Proxy210.listHostsForMigrationOfVM(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) > 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.doGet(ApiServlet.java:73) > at javax.servlet.http.HttpServlet.service(Htt
[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098337#comment-14098337 ] Fabian Stelzer commented on CLOUDSTACK-6099: I have the same issue on a KVM Cluster. Same steps to reproduce. I'm running CS 4.3 on CentOS 6.5 > live migration is failing for vm deployed using dynaic compute offerings with > NPE;unhandled exception executing api command: findHostsForMigration > java.lang.NullPointerException > - > > Key: CLOUDSTACK-6099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6099 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Reporter: Bharat Kumar >Assignee: Bharat Kumar > > Steps to reproduce > === > 1-Prepare CS setup with xen 6.2 ,two host in a cluster > 2-create a custom service offering > 3-deploy a vm with custom service offering > 4-try to migrate vm > Expected > = > vm should get migrate successfully > Actual > == > Migrate vm is failing with NPE > observation > === > migrate vm is working fine for vms deployed with regular compute offering > Log > === > 2014-02-03 10:07:25,229 DEBUG [c.c.s.StorageManagerImpl] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Checking pool: 1 for volume > allocation [Vol[11|vm=8|ROOT]], maxSize : 11804569632768, totalAllocatedSize > : 115238502400, askingSize : 0, allocated disable threshold: 0.85 > 2014-02-03 10:07:25,230 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) ClusterScopeStoragePoolAllocator > returning 1 suitable storage pools > 2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-4-Routing]] > 2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation > after prioritization: [Host[-4-Routing]] > 2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) unhandled exception executing > api command: findHostsForMigration > java.lang.NullPointerException > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267) > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238) > at > com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195) > 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:616) > 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 $Proxy210.listHostsForMigrationOfVM(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) > 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.doGet(ApiServlet.java:73) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.Htt
[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128368#comment-14128368 ] ASF subversion and git services commented on CLOUDSTACK-6099: - Commit 57c69a8ba02a9d327629fd8665262efc94813d3a in cloudstack's branch refs/heads/4.3 from [~bharat.kumar] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=57c69a8 ] CLOUDSTACK-6099 live migration is failing for vm deployed using dynaic compute offerings with NPE Signed-off-by: Rohit Yadav > live migration is failing for vm deployed using dynaic compute offerings with > NPE;unhandled exception executing api command: findHostsForMigration > java.lang.NullPointerException > - > > Key: CLOUDSTACK-6099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6099 > 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, 4.4.0, 4.3.1, 4.4.1 >Reporter: Bharat Kumar >Assignee: Bharat Kumar >Priority: Critical > Fix For: 4.5.0, 4.3.1, 4.4.1 > > > Steps to reproduce > === > 1-Prepare CS setup with xen 6.2 ,two host in a cluster > 2-create a custom service offering > 3-deploy a vm with custom service offering > 4-try to migrate vm > Expected > = > vm should get migrate successfully > Actual > == > Migrate vm is failing with NPE > observation > === > migrate vm is working fine for vms deployed with regular compute offering > Log > === > 2014-02-03 10:07:25,229 DEBUG [c.c.s.StorageManagerImpl] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Checking pool: 1 for volume > allocation [Vol[11|vm=8|ROOT]], maxSize : 11804569632768, totalAllocatedSize > : 115238502400, askingSize : 0, allocated disable threshold: 0.85 > 2014-02-03 10:07:25,230 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) ClusterScopeStoragePoolAllocator > returning 1 suitable storage pools > 2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-4-Routing]] > 2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation > after prioritization: [Host[-4-Routing]] > 2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) unhandled exception executing > api command: findHostsForMigration > java.lang.NullPointerException > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267) > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238) > at > com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195) > 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:616) > 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 $Proxy210.listHostsForMigrationOfVM(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) > 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.callWithCo
[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128369#comment-14128369 ] ASF subversion and git services commented on CLOUDSTACK-6099: - Commit 2b7b837b28f847eedf3cd7bd034dc23ba43d8a63 in cloudstack's branch refs/heads/master from [~bharat.kumar] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2b7b837 ] CLOUDSTACK-6099 live migration is failing for vm deployed using dynaic compute offerings with NPE > live migration is failing for vm deployed using dynaic compute offerings with > NPE;unhandled exception executing api command: findHostsForMigration > java.lang.NullPointerException > - > > Key: CLOUDSTACK-6099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6099 > 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, 4.4.0, 4.3.1, 4.4.1 >Reporter: Bharat Kumar >Assignee: Bharat Kumar >Priority: Critical > Fix For: 4.5.0, 4.3.1, 4.4.1 > > > Steps to reproduce > === > 1-Prepare CS setup with xen 6.2 ,two host in a cluster > 2-create a custom service offering > 3-deploy a vm with custom service offering > 4-try to migrate vm > Expected > = > vm should get migrate successfully > Actual > == > Migrate vm is failing with NPE > observation > === > migrate vm is working fine for vms deployed with regular compute offering > Log > === > 2014-02-03 10:07:25,229 DEBUG [c.c.s.StorageManagerImpl] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Checking pool: 1 for volume > allocation [Vol[11|vm=8|ROOT]], maxSize : 11804569632768, totalAllocatedSize > : 115238502400, askingSize : 0, allocated disable threshold: 0.85 > 2014-02-03 10:07:25,230 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) ClusterScopeStoragePoolAllocator > returning 1 suitable storage pools > 2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-4-Routing]] > 2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation > after prioritization: [Host[-4-Routing]] > 2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) unhandled exception executing > api command: findHostsForMigration > java.lang.NullPointerException > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267) > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238) > at > com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195) > 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:616) > 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 $Proxy210.listHostsForMigrationOfVM(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) > 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(DefaultManagedContex
[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128370#comment-14128370 ] ASF subversion and git services commented on CLOUDSTACK-6099: - Commit 56c7fc800ad12e2e3ccbf7fc79aaacd709f036b2 in cloudstack's branch refs/heads/hotfix/4.4/CLOUDSTACK-6099 from [~bharat.kumar] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=56c7fc8 ] CLOUDSTACK-6099 live migration is failing for vm deployed using dynaic compute offerings with NPE Signed-off-by: Rohit Yadav > live migration is failing for vm deployed using dynaic compute offerings with > NPE;unhandled exception executing api command: findHostsForMigration > java.lang.NullPointerException > - > > Key: CLOUDSTACK-6099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6099 > 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, 4.4.0, 4.3.1, 4.4.1 >Reporter: Bharat Kumar >Assignee: Bharat Kumar >Priority: Critical > Fix For: 4.5.0, 4.3.1, 4.4.1 > > > Steps to reproduce > === > 1-Prepare CS setup with xen 6.2 ,two host in a cluster > 2-create a custom service offering > 3-deploy a vm with custom service offering > 4-try to migrate vm > Expected > = > vm should get migrate successfully > Actual > == > Migrate vm is failing with NPE > observation > === > migrate vm is working fine for vms deployed with regular compute offering > Log > === > 2014-02-03 10:07:25,229 DEBUG [c.c.s.StorageManagerImpl] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Checking pool: 1 for volume > allocation [Vol[11|vm=8|ROOT]], maxSize : 11804569632768, totalAllocatedSize > : 115238502400, askingSize : 0, allocated disable threshold: 0.85 > 2014-02-03 10:07:25,230 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) ClusterScopeStoragePoolAllocator > returning 1 suitable storage pools > 2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-4-Routing]] > 2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation > after prioritization: [Host[-4-Routing]] > 2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) unhandled exception executing > api command: findHostsForMigration > java.lang.NullPointerException > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267) > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238) > at > com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195) > 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:616) > 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 $Proxy210.listHostsForMigrationOfVM(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) > 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.DefaultMa
[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128389#comment-14128389 ] ASF subversion and git services commented on CLOUDSTACK-6099: - Commit 015276350e41b30bde049ca0852811ed6262da16 in cloudstack's branch refs/heads/4.4 from [~dahn] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0152763 ] Merge remote-tracking branch 'origin/hotfix/4.4/CLOUDSTACK-6099' into 4.4 > live migration is failing for vm deployed using dynaic compute offerings with > NPE;unhandled exception executing api command: findHostsForMigration > java.lang.NullPointerException > - > > Key: CLOUDSTACK-6099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6099 > 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, 4.4.0, 4.3.1, 4.4.1 >Reporter: Bharat Kumar >Assignee: Bharat Kumar >Priority: Critical > Fix For: 4.5.0, 4.3.1, 4.4.1 > > > Steps to reproduce > === > 1-Prepare CS setup with xen 6.2 ,two host in a cluster > 2-create a custom service offering > 3-deploy a vm with custom service offering > 4-try to migrate vm > Expected > = > vm should get migrate successfully > Actual > == > Migrate vm is failing with NPE > observation > === > migrate vm is working fine for vms deployed with regular compute offering > Log > === > 2014-02-03 10:07:25,229 DEBUG [c.c.s.StorageManagerImpl] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Checking pool: 1 for volume > allocation [Vol[11|vm=8|ROOT]], maxSize : 11804569632768, totalAllocatedSize > : 115238502400, askingSize : 0, allocated disable threshold: 0.85 > 2014-02-03 10:07:25,230 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) ClusterScopeStoragePoolAllocator > returning 1 suitable storage pools > 2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-4-Routing]] > 2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation > after prioritization: [Host[-4-Routing]] > 2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) unhandled exception executing > api command: findHostsForMigration > java.lang.NullPointerException > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267) > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238) > at > com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195) > 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:616) > 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 $Proxy210.listHostsForMigrationOfVM(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) > 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.cloud
[jira] [Commented] (CLOUDSTACK-6099) live migration is failing for vm deployed using dynaic compute offerings with NPE;unhandled exception executing api command: findHostsForMigration java.lang.NullPo
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128388#comment-14128388 ] ASF subversion and git services commented on CLOUDSTACK-6099: - Commit 56c7fc800ad12e2e3ccbf7fc79aaacd709f036b2 in cloudstack's branch refs/heads/4.4 from [~bharat.kumar] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=56c7fc8 ] CLOUDSTACK-6099 live migration is failing for vm deployed using dynaic compute offerings with NPE Signed-off-by: Rohit Yadav > live migration is failing for vm deployed using dynaic compute offerings with > NPE;unhandled exception executing api command: findHostsForMigration > java.lang.NullPointerException > - > > Key: CLOUDSTACK-6099 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6099 > 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, 4.4.0, 4.3.1, 4.4.1 >Reporter: Bharat Kumar >Assignee: Bharat Kumar >Priority: Critical > Fix For: 4.5.0, 4.3.1, 4.4.1 > > > Steps to reproduce > === > 1-Prepare CS setup with xen 6.2 ,two host in a cluster > 2-create a custom service offering > 3-deploy a vm with custom service offering > 4-try to migrate vm > Expected > = > vm should get migrate successfully > Actual > == > Migrate vm is failing with NPE > observation > === > migrate vm is working fine for vms deployed with regular compute offering > Log > === > 2014-02-03 10:07:25,229 DEBUG [c.c.s.StorageManagerImpl] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Checking pool: 1 for volume > allocation [Vol[11|vm=8|ROOT]], maxSize : 11804569632768, totalAllocatedSize > : 115238502400, askingSize : 0, allocated disable threshold: 0.85 > 2014-02-03 10:07:25,230 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) ClusterScopeStoragePoolAllocator > returning 1 suitable storage pools > 2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-4-Routing]] > 2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation > after prioritization: [Host[-4-Routing]] > 2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] > (catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) unhandled exception executing > api command: findHostsForMigration > java.lang.NullPointerException > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267) > at > com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238) > at > com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195) > 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:616) > 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 $Proxy210.listHostsForMigrationOfVM(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) > 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.callWithCo