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-4888) API:UCS:NPE Refresh blades on a decommissioned chassis results in NPE
Date Mon, 21 Oct 2013 21:07:41 GMT

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

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

Commit 342931a53879e39a00eb404193d7a3b5abec65e9 in branch refs/heads/4.2 from [~frank.zhang]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=342931a ]

CLOUDSTACK-4888
API:UCS:NPE Refresh blades on a decommissioned chassis results in NPE


> API:UCS:NPE Refresh blades on a decommissioned chassis results in NPE
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4888
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4888
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, UCS
>    Affects Versions: 4.2.0
>         Environment: UCS
>            Reporter: Parth Jagirdar
>            Assignee: frank zhang
>            Priority: Critical
>             Fix For: 4.2.1
>
>
> Expecting an appropriate error.
> When refresh blades is issues on a decommissioned chassis.
> 2013-10-17 13:52:26,432 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===START===
 10.215.2.19 -- GET  command=refreshUcsBlades&response=json&sessionkey=e0Kgb2hcBQPMXSe5O%2FDeRH8v2%2B8%3D&ucsmanagerid=f185ae78-08cb-4a06-a3c8-47c3d2afa896&_=1382043146927
> 2013-10-17 13:52:26,451 DEBUG [ucs.manager.UcsHttpClient] (catalina-exec-6:null) UCS
call: <configResolveClass cookie="1382042998/2e94d89b-026b-4fbd-be82-489759483570" inHierarchical="false"
classId="computeBlade" />
> 2013-10-17 13:52:26,458 WARN  [ucs.manager.UcsManagerImpl] (catalina-exec-6:null) null
> java.lang.NullPointerException
>         at com.cloud.ucs.structure.ComputeBlade.fromXmlObject(ComputeBlade.java:62)
>         at com.cloud.ucs.structure.ComputeBlade.fromXmString(ComputeBlade.java:55)
>         at com.cloud.ucs.manager.UcsManagerImpl.listBlades(UcsManagerImpl.java:285)
>         at com.cloud.ucs.manager.UcsManagerImpl.access$100(UcsManagerImpl.java:65)
>         at com.cloud.ucs.manager.UcsManagerImpl$SyncBladesThread.syncBlades(UcsManagerImpl.java:141)
>         at com.cloud.ucs.manager.UcsManagerImpl$SyncBladesThread.run(UcsManagerImpl.java:156)
>         at com.cloud.ucs.manager.UcsManagerImpl.refreshBlades(UcsManagerImpl.java:624)
>         at org.apache.cloudstack.api.RefreshUcsBladesCmd.execute(RefreshUcsBladesCmd.java:42)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
>         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:2274)
>         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-10-17 13:52:26,468 DEBUG [ucs.manager.UcsHttpClient] (catalina-exec-6:null) UCS
call: <configResolveClass cookie="1382042998/2e94d89b-026b-4fbd-be82-489759483570" inHierarchical="false"
classId="computeBlade" />
> 2013-10-17 13:52:26,471 WARN  [cloudstack.api.RefreshUcsBladesCmd] (catalina-exec-6:null)
unhandled exception:
> java.lang.NullPointerException
>         at com.cloud.ucs.structure.ComputeBlade.fromXmlObject(ComputeBlade.java:62)
>         at com.cloud.ucs.structure.ComputeBlade.fromXmString(ComputeBlade.java:55)
>         at com.cloud.ucs.manager.UcsManagerImpl.listBlades(UcsManagerImpl.java:285)
>         at com.cloud.ucs.manager.UcsManagerImpl.refreshBlades(UcsManagerImpl.java:627)
>         at org.apache.cloudstack.api.RefreshUcsBladesCmd.execute(RefreshUcsBladesCmd.java:42)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
>         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:2274)
>         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-10-17 13:52:26,474 INFO  [cloud.api.ApiServer] (catalina-exec-6:null) null
> 2013-10-17 13:52:26,476 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END===
 10.215.2.19 -- GET  command=refreshUcsBlades&response=json&sessionkey=e0Kgb2hcBQPMXSe5O%2FDeRH8v2%2B8%3D&ucsmanagerid=f185ae78-08cb-4a06-a3c8-47c3d2afa896&_=1382043146927
> 2013-10-17 13:52:28,327 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
Zone 1 is not ready to launch secondary storage VM yet
> 2013-10-17 13:52:28,647 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
Skip capacity scan due to there is no Primary Storage UPintenance mode
> 2013-10-17 13:52:29,160 DEBUG [cloud.network.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:null)
External devices stats collector is running...



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message