cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishan Kavala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2579) NPE in Account Delete operations
Date Mon, 20 May 2013 10:37:15 GMT

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

Kishan Kavala commented on CLOUDSTACK-2579:
-------------------------------------------

broadcast_uri is NULL in certain cases. Need to check for null before comparing scheme. Issue
is introduced by PVLAN changes

mysql> select id, network_id, broadcast_uri from nics;
+----+------------+---------------+
| id | network_id | broadcast_uri |
+----+------------+---------------+
| 41 |        204 | NULL          |
| 42 |        204 | NULL          |
| 50 |        204 | NULL          |
| 40 |        205 | vlan://47     |
| 47 |        205 | vlan://47     |
| 43 |        206 | vlan://48     |
| 48 |        206 | vlan://48     |
| 44 |        207 | vlan://49     |
| 49 |        207 | vlan://49     |
+----+------------+---------------+
9 rows in set (0.00 sec)

                
> NPE in Account Delete operations
> --------------------------------
>
>                 Key: CLOUDSTACK-2579
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2579
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>            Reporter: Prasanna Santhanam
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Account deletions are failing with an NPE: Resources pile up when the accounts are not
deleting.
> 2013-05-20 10:01:09,597 WARN  [cloud.user.AccountManagerImpl] (AccountChecker-1:null)
Failed to cleanup account Acct[6-test-3JBO9I] due to 
> java.lang.NullPointerException
>         at com.cloud.vm.UserVmManagerImpl.finalizeStop(UserVmManagerImpl.java:3060)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1179)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:432)
>         at com.cloud.vm.UserVmManagerImpl.expunge(UserVmManagerImpl.java:1413)
>         at com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:595)
>         at com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1443)
>         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:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)

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