You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/12/16 15:06:12 UTC

[jira] [Commented] (CLOUDSTACK-5517) NPE observed during "release portable IPs" as part of account cleanup

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

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

Commit 307e0586902bb5b1775652e31bca02c8326e15d9 in branch refs/heads/4.3 from [~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=307e058 ]

CLOUDSTACK-5517: NPE observed during "release portable IPs" as part of
account cleanup

ensure proper portable ip address are released  as part of account
cleanup


> NPE observed during "release portable IPs" as part of account cleanup
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5517
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5517
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>            Reporter: Murali Reddy
>            Assignee: Murali Reddy
>             Fix For: 4.3.0
>
>
> Failed to cleanup accounts ; observed below NPE in MS log
> 2013-11-15 07:58:14,832 DEBUG [db.Transaction.Transaction] (AccountChecker-1:null) Rolling back the transaction: Time = 10002 Name = -Account
> ManagerImpl$AccountCleanupTask.run:1509-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-Sch
> eduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWork
> er:1110-ThreadPoolExecutor$Worker.run:603-Thread.run:679; called by -Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.close:664
> -TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-AccountManagerImpl.cl
> eanupAccount:743-AccountManagerImpl$AccountCleanupTask.run:1516-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-Future
> Task.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267
> 2013-11-15 07:58:14,833 WARN [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to cleanup account Acct[c1ee43bc-6ff8-459b-854e-1
> 85719e53afd-test-TestEgressFWRules-H56EZ1] due to
> java.lang.NullPointerException
> at com.cloud.network.NetworkManagerImpl.releasePortableIpAddress(NetworkManagerImpl.java:1292)
> at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.j
> ava:125)
> at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:743)
> at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1516)
> 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-11-15 07:58:14,833 INFO [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleanup for account 80 is needed.
> 2013-11-15 07:58:14,834 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Cleaning up 237
> 2013-11-15 07:58:14,839 DEBUG [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Successfully deleted snapshots directories for all volum
> es under account 237 across all zones



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)