cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-2062) NPE while deleting the primary storage[Added with scope=cluster]
Date Wed, 17 Apr 2013 12:51:17 GMT

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

Sailaja Mada updated CLOUDSTACK-2062:
-------------------------------------

    Description: 
Setup: Advanced Networking Zone , Latest Master with RHEL 6.3

Steps:

1. Configure the Zone and get the setup ready with System VM's up & running
2. Put Primary storage into maintance
3. Delete Primary storage

Observation: 

1) Observed NPE while deleting the primary storage[Added with scope=cluster]
2) Primary storage is getting deleted from DB: (Attached the snap)


Exception:

2013-04-17 18:15:53,791 INFO  [vmware.resource.VmwareResource] (DirectAgent-121:10.102.192.18)
Executing resource DeleteStoragePoolCommand: {"pool":{"id":7,"uuid":"07a6f74e-7917-330b-9e8a-f77c04b0dfa2","host":"10.102.192.100","path":"/cpg_vol/sailaja/workingasaps1","port":2049,"type":"NetworkFilesystem"},"localPath":"/mnt//07a6f74e-7917-330b-9e8a-f77c04b0dfa2","wait":0}
2013-04-17 18:15:53,791 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-121:null) Seq
1-2059862509: Response Received:
2013-04-17 18:15:53,791 DEBUG [agent.transport.Request] (DirectAgent-121:null) Seq 1-2059862509:
Processing:  { Ans: , MgmtId: 222273143235720, via: 1, Ver: v1, Flags: 10, [{"Answer":{"result":true,"details":"success","wait":0}}]
}
2013-04-17 18:15:53,796 DEBUG [agent.transport.Request] (catalina-exec-17:null) Seq 1-2059862509:
Received:  { Ans: , MgmtId: 222273143235720, via: 1, Ver: v1, Flags: 10, { Answer } }
2013-04-17 18:15:53,796 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-17:null) Details
from executing class com.cloud.agent.api.DeleteStoragePoolCommand: success
2013-04-17 18:15:53,823 ERROR [cloud.api.ApiServer] (catalina-exec-17:null) unhandled exception
executing api command: deleteStoragePool
java.lang.NullPointerException
        at org.apache.cloudstack.storage.datastore.manager.DefaultPrimaryDataStoreProviderManagerImpl.getPrimaryDataStore(DefaultPrimaryDataStoreProviderManagerImpl.java:60)
        at org.apache.cloudstack.storage.datastore.DataStoreManagerImpl.getDataStore(DataStoreManagerImpl.java:45)
        at com.cloud.storage.StorageManagerImpl.getStoragePool(StorageManagerImpl.java:1627)
        at com.cloud.storage.StorageManagerImpl.getStoragePool(StorageManagerImpl.java:189)
        at org.apache.cloudstack.api.command.admin.storage.DeletePoolCmd.execute(DeletePoolCmd.java:83)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:454)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:304)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
        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-04-17 18:15:53,828 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===END===  10.144.6.19
-- GET  command=deleteStoragePool&id=07a6f74e-7917-330b-9e8a-f77c04b0dfa2&forced=false&response=json&sessionkey=jMJS2ceQpccRAT%2BD4FBdB0TTJdY%3D&_=1366202873258


  was:
Setup: Advanced Networking Zone , Latest Master with RHEL 6.3

Steps:

1. Configure the Zone and get the setup ready with System VM's up & running
2. Put Primary storage into maintance
3. Delete Primary storage

Observation: 

Observed NPE while deleting the primary storage[Added with scope=cluster]


Exception:

2013-04-17 18:15:53,791 INFO  [vmware.resource.VmwareResource] (DirectAgent-121:10.102.192.18)
Executing resource DeleteStoragePoolCommand: {"pool":{"id":7,"uuid":"07a6f74e-7917-330b-9e8a-f77c04b0dfa2","host":"10.102.192.100","path":"/cpg_vol/sailaja/workingasaps1","port":2049,"type":"NetworkFilesystem"},"localPath":"/mnt//07a6f74e-7917-330b-9e8a-f77c04b0dfa2","wait":0}
2013-04-17 18:15:53,791 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-121:null) Seq
1-2059862509: Response Received:
2013-04-17 18:15:53,791 DEBUG [agent.transport.Request] (DirectAgent-121:null) Seq 1-2059862509:
Processing:  { Ans: , MgmtId: 222273143235720, via: 1, Ver: v1, Flags: 10, [{"Answer":{"result":true,"details":"success","wait":0}}]
}
2013-04-17 18:15:53,796 DEBUG [agent.transport.Request] (catalina-exec-17:null) Seq 1-2059862509:
Received:  { Ans: , MgmtId: 222273143235720, via: 1, Ver: v1, Flags: 10, { Answer } }
2013-04-17 18:15:53,796 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-17:null) Details
from executing class com.cloud.agent.api.DeleteStoragePoolCommand: success
2013-04-17 18:15:53,823 ERROR [cloud.api.ApiServer] (catalina-exec-17:null) unhandled exception
executing api command: deleteStoragePool
java.lang.NullPointerException
        at org.apache.cloudstack.storage.datastore.manager.DefaultPrimaryDataStoreProviderManagerImpl.getPrimaryDataStore(DefaultPrimaryDataStoreProviderManagerImpl.java:60)
        at org.apache.cloudstack.storage.datastore.DataStoreManagerImpl.getDataStore(DataStoreManagerImpl.java:45)
        at com.cloud.storage.StorageManagerImpl.getStoragePool(StorageManagerImpl.java:1627)
        at com.cloud.storage.StorageManagerImpl.getStoragePool(StorageManagerImpl.java:189)
        at org.apache.cloudstack.api.command.admin.storage.DeletePoolCmd.execute(DeletePoolCmd.java:83)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:454)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:304)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
        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-04-17 18:15:53,828 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===END===  10.144.6.19
-- GET  command=deleteStoragePool&id=07a6f74e-7917-330b-9e8a-f77c04b0dfa2&forced=false&response=json&sessionkey=jMJS2ceQpccRAT%2BD4FBdB0TTJdY%3D&_=1366202873258


    
> NPE while deleting the primary storage[Added with scope=cluster]
> ----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2062
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2062
>             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
>            Reporter: Sailaja Mada
>            Priority: Critical
>
> Setup: Advanced Networking Zone , Latest Master with RHEL 6.3
> Steps:
> 1. Configure the Zone and get the setup ready with System VM's up & running
> 2. Put Primary storage into maintance
> 3. Delete Primary storage
> Observation: 
> 1) Observed NPE while deleting the primary storage[Added with scope=cluster]
> 2) Primary storage is getting deleted from DB: (Attached the snap)
> Exception:
> 2013-04-17 18:15:53,791 INFO  [vmware.resource.VmwareResource] (DirectAgent-121:10.102.192.18)
Executing resource DeleteStoragePoolCommand: {"pool":{"id":7,"uuid":"07a6f74e-7917-330b-9e8a-f77c04b0dfa2","host":"10.102.192.100","path":"/cpg_vol/sailaja/workingasaps1","port":2049,"type":"NetworkFilesystem"},"localPath":"/mnt//07a6f74e-7917-330b-9e8a-f77c04b0dfa2","wait":0}
> 2013-04-17 18:15:53,791 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-121:null)
Seq 1-2059862509: Response Received:
> 2013-04-17 18:15:53,791 DEBUG [agent.transport.Request] (DirectAgent-121:null) Seq 1-2059862509:
Processing:  { Ans: , MgmtId: 222273143235720, via: 1, Ver: v1, Flags: 10, [{"Answer":{"result":true,"details":"success","wait":0}}]
}
> 2013-04-17 18:15:53,796 DEBUG [agent.transport.Request] (catalina-exec-17:null) Seq 1-2059862509:
Received:  { Ans: , MgmtId: 222273143235720, via: 1, Ver: v1, Flags: 10, { Answer } }
> 2013-04-17 18:15:53,796 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-17:null)
Details from executing class com.cloud.agent.api.DeleteStoragePoolCommand: success
> 2013-04-17 18:15:53,823 ERROR [cloud.api.ApiServer] (catalina-exec-17:null) unhandled
exception executing api command: deleteStoragePool
> java.lang.NullPointerException
>         at org.apache.cloudstack.storage.datastore.manager.DefaultPrimaryDataStoreProviderManagerImpl.getPrimaryDataStore(DefaultPrimaryDataStoreProviderManagerImpl.java:60)
>         at org.apache.cloudstack.storage.datastore.DataStoreManagerImpl.getDataStore(DataStoreManagerImpl.java:45)
>         at com.cloud.storage.StorageManagerImpl.getStoragePool(StorageManagerImpl.java:1627)
>         at com.cloud.storage.StorageManagerImpl.getStoragePool(StorageManagerImpl.java:189)
>         at org.apache.cloudstack.api.command.admin.storage.DeletePoolCmd.execute(DeletePoolCmd.java:83)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:454)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:304)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
>         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-04-17 18:15:53,828 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===END===
 10.144.6.19 -- GET  command=deleteStoragePool&id=07a6f74e-7917-330b-9e8a-f77c04b0dfa2&forced=false&response=json&sessionkey=jMJS2ceQpccRAT%2BD4FBdB0TTJdY%3D&_=1366202873258

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