cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2544) System VM's are failed to start with NPE
Date Thu, 16 May 2013 19:23:17 GMT

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

ASF subversion and git services commented on CLOUDSTACK-2544:
-------------------------------------------------------------

Commit d078f921671d0f28d9291fa2bffa8a7eab53cda7 in branch refs/heads/planner_reserve from
[~kishan]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d078f92 ]

CLOUDSTACK-2544: Fix NPE while comparing lastHostId during capacity calculation

                
> System VM's are failed to start with NPE
> ----------------------------------------
>
>                 Key: CLOUDSTACK-2544
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2544
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.2.0
>            Reporter: Sailaja Mada
>            Assignee: Kishan Kavala
>            Priority: Blocker
>
> Steps:
> 1. Create Adv networking setup.
> Observation:
> System VM's are failed to start with NPE 
> 2013-05-16 17:12:20,523 DEBUG [cloud.capacity.CapacityManagerImpl] (secstorage-1:null)
release cpu from host: 1, old used: 0,reserved: 0, actual total: 9572, total with overprovisioning:
9572; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-05-16 17:12:20,523 DEBUG [cloud.capacity.CapacityManagerImpl] (secstorage-1:null)
release mem from host: 1, old used: 0,reserved: 0, total: 17166258176; new used: 0,reserved:0;
movedfromreserved: false,moveToReserveredfalse
> 2013-05-16 17:12:20,524 WARN  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
Exception while trying to start secondary storage vm
> java.lang.NullPointerException
>         at com.cloud.capacity.CapacityManagerImpl.postStateTransitionEvent(CapacityManagerImpl.java:684)
>         at com.cloud.capacity.CapacityManagerImpl.postStateTransitionEvent(CapacityManagerImpl.java:90)
>         at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:117)
>         at com.cloud.vm.VirtualMachineManagerImpl.stateTransitTo(VirtualMachineManagerImpl.java:1251)
>         at com.cloud.vm.VirtualMachineManagerImpl.changeState(VirtualMachineManagerImpl.java:660)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:817)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:547)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:540)
>         at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:262)
>         at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:687)
>         at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1303)
>         at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
>         at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
>         at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104)
>         at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
>         at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
>         at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>         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-05-16 17:12:20,526 INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 4, will recycle
it and start a new one
> 2013-05-16 17:12:20,529 DEBUG [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:null)
VM is already stopped: VM[SecondaryStorageVm|s-4-VM]
> 2013-05-16 17:12:20,537 DEBUG [cloud.capacity.CapacityManagerImpl] (secstorage-1:null)
VM state transitted from :Stopped to Expunging with event: ExpungeOperationvm's original host
id: null new host id: null host id before state transition: null
> 2013-05-16 17:12:20,540 DEBUG [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:null)
Destroying vm VM[SecondaryStorageVm|s-4-VM]

--
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