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] [Assigned] (CLOUDSTACK-2571) [Zone-Wide-PrimaryStorage] NPE while deleting the zone-wide primary storage
Date Wed, 12 Jun 2013 11:46:19 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajesh Battala reassigned CLOUDSTACK-2571:
------------------------------------------

    Assignee: Rajesh Battala
    
> [Zone-Wide-PrimaryStorage] NPE while deleting the zone-wide primary storage
> ---------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2571
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2571
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller
>    Affects Versions: 4.2.0
>         Environment: commit # 85d54cd1c088997dd08f0328984bee1a55703636
>            Reporter: venkata swamybabu budumuru
>            Assignee: Rajesh Battala
>              Labels: automation, integration-test
>             Fix For: 4.2.0
>
>         Attachments: logs.tgz
>
>
> Steps to reproduce :
> 1. Have a CloudStack with at least one advanced zone 
> 2. Add a zone-wide primary storage.
> 3. Try to put the above primary storage into maintenance 
> Observations:
> (i) It throws an NPE while trying to enable the maintenance.
> Here is the exception snippet from mgmt server log. 
> 013-05-20 06:14:26,338 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===START===
 10.252.240.57 -- GET  command=createStoragePool&scope=zone&zoneid=8adda1e5-ac1c-49b0-bec8-6da98f6ff116&name=primaryNew&url=nfs%3A%2F%2F10.147.28.7%2Fexport%2Fhome%2Fswamy%2Fprimary.campo.xen.1&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&_=1369025128021
> 2013-05-20 06:14:26,411 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===END===
 10.252.240.57 -- GET  command=createStoragePool&scope=zone&zoneid=8adda1e5-ac1c-49b0-bec8-6da98f6ff116&name=primaryNew&url=nfs%3A%2F%2F10.147.28.7%2Fexport%2Fhome%2Fswamy%2Fprimary.campo.xen.1&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&_=1369025128021
> 2013-05-20 06:14:32,555 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 routers to update status.
> 2013-05-20 06:14:32,558 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status.
> 2013-05-20 06:14:32,664 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 routers to update status.
> 2013-05-20 06:14:32,667 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status.
> 2013-05-20 06:14:38,857 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===START===
 10.252.240.57 -- GET  command=listZones&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&id=8adda1e5-ac1c-49b0-bec8-6da98f6ff116&_=1369025140804
> 2013-05-20 06:14:38,875 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===END===
 10.252.240.57 -- GET  command=listZones&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&id=8adda1e5-ac1c-49b0-bec8-6da98f6ff116&_=1369025140804
> 2013-05-20 06:14:39,033 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===START===
 10.252.240.57 -- GET  command=listStoragePools&id=a1a1a150-6709-3d81-a414-4cee93e62168&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&_=1369025140864
> 2013-05-20 06:14:39,056 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===END===
 10.252.240.57 -- GET  command=listStoragePools&id=a1a1a150-6709-3d81-a414-4cee93e62168&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&_=1369025140864
> 2013-05-20 06:14:41,077 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===START===
 10.252.240.57 -- GET  command=enableStorageMaintenance&id=a1a1a150-6709-3d81-a414-4cee93e62168&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&_=1369025142915
> 2013-05-20 06:14:41,109 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-16:null)
submit async job-11, details: AsyncJobVO {id:11, userId: 2, accountId: 2, sessionKey: null,
instanceType: StoragePool, instanceId: 2, cmd: org.apache.cloudstack.api.command.admin.storage.PreparePrimaryStorageForMaintenanceCmd,
cmdOriginator: null, cmdInfo: {"response":"json","id":"a1a1a150-6709-3d81-a414-4cee93e62168","sessionkey":"wmpW6VMxTUivFIGDqS52aaozHqs\u003d","ctxUserId":"2","httpmethod":"GET","_":"1369025142915","ctxAccountId":"2","ctxStartEventId":"50"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 7280707764394, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-05-20 06:14:41,113 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===END===
 10.252.240.57 -- GET  command=enableStorageMaintenance&id=a1a1a150-6709-3d81-a414-4cee93e62168&response=json&sessionkey=wmpW6VMxTUivFIGDqS52aaozHqs%3D&_=1369025142915
> 2013-05-20 06:14:41,116 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-11:job-11)
Executing org.apache.cloudstack.api.command.admin.storage.PreparePrimaryStorageForMaintenanceCmd
for job-11
> 2013-05-20 06:14:41,161 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-11:job-11)
Unexpected exception while executing org.apache.cloudstack.api.command.admin.storage.PreparePrimaryStorageForMaintenanceCmd
> java.lang.NullPointerException
>         at com.cloud.storage.StorageManagerImpl.preparePrimaryStorageForMaintenance(StorageManagerImpl.java:1402)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.storage.StorageManagerImpl.preparePrimaryStorageForMaintenance(StorageManagerImpl.java:190)
>         at org.apache.cloudstack.api.command.admin.storage.PreparePrimaryStorageForMaintenanceCmd.execute(PreparePrimaryStorageForMaintenanceCmd.java:102)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         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:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-05-20 06:14:41,163 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-11:job-11)
Complete async job-11, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
null
> Attaching all the required logs to the bug along with db dump.

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