cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Battala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3924) NPE while internal LB vm is getting created
Date Tue, 30 Jul 2013 10:55:50 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723703#comment-13723703
] 

Rajesh Battala commented on CLOUDSTACK-3924:
--------------------------------------------

issue is reproducible 
Here is the complete trace log

2013-07-30 13:11:24,378 WARN  [network.lb.LoadBalancingRulesManagerImpl] (Job-Executor-32:job-49
= [ ea8f9e7b-5aea-46b4-bd21-b375c3cc80cb ]) Unable to apply the load balancer config because
resource is unavaliable.
47451 com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host
1: Unable to start instance due to null
47452         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:1006)
47453         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:618)
47454         at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.startInternalLbVm(InternalLoadBalancerVMManagerImpl.java:854)
47455         at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.startInternalLbVms(InternalLoadBalancerVMManagerImpl.java:613)
47456         at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.deployInternalLbVm(InternalLoadBalancerVMManagerImpl.java:597)
47457         at org.apache.cloudstack.network.element.InternalLoadBalancerElement.applyLBRules(InternalLoadBalancerElement.java:346)
47458         at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLbRules(LoadBalancingRulesManagerImpl.java:1544)
47459         at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLbRules(LoadBalancingRulesManagerImpl.java:2084)
47460         at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:1581)
47461         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
47462         at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:1501)
47463         at com.cloud.network.lb.LoadBalancingRulesManagerImpl.assignToLoadBalancer(LoadBalancingRulesManagerImpl.java:1032)
47464         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
47465         at org.apache.cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd.execute(AssignToLoadBalancerRuleCmd.java:100)
47466         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
47467         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
47468         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
47469         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
47470         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
47471         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
47472         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
47473         at java.lang.Thread.run(Thread.java:722)
47474 Caused by: java.lang.NullPointerException
47475         at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.createApplyLoadBalancingRulesCommands(InternalLoadBalancerVMManagerImpl.java:501)
47476         at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.finalizeLbRulesForIp(InternalLoadBalancerVMManagerImpl.java:469)
47477         at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.finalizeCommandsOnStart(InternalLoadBalancerVMManagerImpl.java:346)
47478         at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.finalizeDeployment(InternalLoadBalancerVMManagerImpl.java:262)
47479         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:928)
47480         ... 29 more
47481 2013-07-30 13:11:24,390 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-32:job-49
= [ ea8f9e7b-5aea-46b4-bd21-b375c3cc80cb ]) Unexpected exception while executing org.apache.
     cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd
47482 com.cloud.utils.exception.CloudRuntimeException: Failed to add specified loadbalancerruleid
for vms [8]
47483         at com.cloud.network.lb.LoadBalancingRulesManagerImpl.assignToLoadBalancer(LoadBalancingRulesManagerImpl.java:1055)
47484         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
47485         at org.apache.cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd.execute(AssignToLoadBalancerRuleCmd.java:100)
47486         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
47487         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
47488         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
47489         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
47490         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
47491         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
47492         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
47493         at java.lang.Thread.run(Thread.java:722)
47494 2013-07-30 13:11:24,393 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-32:job-49
= [ ea8f9e7b-5aea-46b4-bd21-b375c3cc80cb ]) Complete async job-49 = [ ea8f9e7b-5aea-46b4-bd2
     1-b375c3cc80cb ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to add specified loadbalancerruleid for vms [8]
47495 2013-07-30 13:11:24,408 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-32:job-49
= [ ea8f9e7b-5aea-46b4-bd21-b375c3cc80cb ]) Sync queue (5) is currently empty
47496 2013-07-30 13:11:24,409 WARN  [cloud.async.AsyncJobManagerImpl] (Job-Executor-32:job-49
= [ ea8f9e7b-5aea-46b4-bd21-b375c3cc80cb ]) Unable to unregister active job [ 49 ] = [ ea8f9
     e7b-5aea-46b4-bd21-b375c3cc80cb ] from JMX monitoring
47497 2013-07-30 13:11:25,640 DEBUG [cloud.api.ApiServlet] (33147418@qtp-29623483-25:null)
===START===  10.144.6.32 -- GET  command=queryAsyncJobResult&jobId=ea8f9e7b-5aea-46b4-bd21-b375
     c3cc80cb&response=json&sessionkey=lyEoXHIsD6PU9sW3lZldBRmBtVQ%3D&_=1375170157671

                
> NPE while internal LB vm is getting created
> -------------------------------------------
>
>                 Key: CLOUDSTACK-3924
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3924
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>            Reporter: Srikanteswararao Talluri
>            Assignee: Rajesh Battala
>            Priority: Blocker
>              Labels: automation
>             Fix For: 4.2.0
>
>
> Steps to reproduce:
> =============
> 1. create a VPC with internal lb.
> 2. Create a tier(network offering).
> 3. create a VM using that network offering.
> 4. add an lb rule to the internal lb.
> 5. assign VM for that LB rule.
> Failed to start instance VM[InternalLoadBalancerVm|b-574-VM]
> java.lang.NullPointerException
> 	at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.createApplyLoadBalancingRulesCommands(InternalLoadBalancerVMManagerImpl.java:501)
> 	at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.finalizeLbRulesForIp(InternalLoadBalancerVMManagerImpl.java:469)
> 	at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.finalizeCommandsOnStart(InternalLoadBalancerVMManagerImpl.java:346)
> 	at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.finalizeDeployment(InternalLoadBalancerVMManagerImpl.java:262)
> 	at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:928)
> 	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:618)
> 	at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.startInternalLbVm(InternalLoadBalancerVMManagerImpl.java:854)
> 	at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.startInternalLbVms(InternalLoadBalancerVMManagerImpl.java:613)
> 	at org.apache.cloudstack.network.lb.InternalLoadBalancerVMManagerImpl.deployInternalLbVm(InternalLoadBalancerVMManagerImpl.java:597)
> 	at org.apache.cloudstack.network.element.InternalLoadBalancerElement.applyLBRules(InternalLoadBalancerElement.java:346)
> 	at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLbRules(LoadBalancingRulesManagerImpl.java:1544)
> 	at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLbRules(LoadBalancingRulesManagerImpl.java:2084)
> 	at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:1581)
> 	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> 	at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:1501)
> 	at com.cloud.network.lb.LoadBalancingRulesManagerImpl.assignToLoadBalancer(LoadBalancingRulesManagerImpl.java:1032)
> 	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> 	at org.apache.cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd.execute(AssignToLoadBalancerRuleCmd.java:100)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
> 	at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	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:679)
> 2013-07-30 16:42:38,848 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-65:job-2231
= [ 04721abb-e34b-423b-a3a7-3de4318dbbf4 ]) Cleaning up resources for the vm VM[InternalLoadBalancerVm|b-574-VM]
in Starting state

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message