cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Kumar <vivek.ku...@indiqus.com>
Subject Host are not visible, getting error in api command
Date Wed, 08 Mar 2017 05:59:12 GMT
Hello Guys,

I am running ACS-4.7.1 with Xenserver 6.5 SP1, I am getting error while
clicking on host tab.

I have checked the log and found this.




2017-03-08 11:37:26,257 DEBUG [c.c.a.q.QueryManagerImpl]
(catalina-exec-6:ctx-fe5e2c84 ctx-c0cf1e7a) (logid:16ce8c73) >>>Searching
for hosts>>>

2017-03-08 11:37:26,267 DEBUG [c.c.a.q.QueryManagerImpl]
(catalina-exec-6:ctx-fe5e2c84 ctx-c0cf1e7a) (logid:16ce8c73) >>>Generating
Response>>>

2017-03-08 11:37:26,287 ERROR [c.c.a.ApiServer]
(catalina-exec-6:ctx-fe5e2c84 ctx-c0cf1e7a) (logid:16ce8c73) unhandled
exception executing api command: [Ljava.lang.String;@16a4bc50

java.lang.NullPointerException

at
com.cloud.storage.StorageManagerImpl.isLocalStorageActiveOnHost(StorageManagerImpl.java:376)

at com.cloud.api.ApiDBUtils.isLocalStorageActiveOnHost(ApiDBUtils.java:885)

at
com.cloud.api.query.dao.HostJoinDaoImpl.newHostResponse(HostJoinDaoImpl.java:210)

at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at com.sun.proxy.$Proxy278.newHostResponse(Unknown Source)

at com.cloud.api.ApiDBUtils.newHostResponse(ApiDBUtils.java:1747)

at
com.cloud.api.query.ViewResponseHelper.createHostResponse(ViewResponseHelper.java:236)

at
com.cloud.api.query.QueryManagerImpl.searchForServers(QueryManagerImpl.java:1566)

at
org.apache.cloudstack.api.command.admin.host.ListHostsCmd.execute(ListHostsCmd.java:186)

at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)

at com.cloud.api.ApiServer.queueCommand(ApiServer.java:698)

at com.cloud.api.ApiServer.handleRequest(ApiServer.java:529)

at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:297)

at com.cloud.api.ApiServlet$1.run(ApiServlet.java:127)

at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)

at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)

at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)

at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:124)

at com.cloud.api.ApiServlet.doGet(ApiServlet.java:86)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1720)

at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)

2017-03-08 11:37:26,291 DEBUG [c.c.a.ApiServlet]
(catalina-exec-6:ctx-fe5e2c84 ctx-c0cf1e7a) (logid:16ce8c73) ===END===
10.106.1.1 -- GET
command=listHosts&type=Routing&id=c505bdc7-87b0-4dc1-a208-1a2d225fed73&page=1&pagesize=20&response=json&_=1488952346158

2017-03-08 11:37:26,869 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-429badd2) (logid:603ad978) Begin cleanup
expired async-jobs

2017-03-08 11:37:26,881 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-429badd2) (logid:603ad978) End cleanup expired
async-jobs

2017-03-08 11:37:31,428 DEBUG [c.c.a.ApiServlet]
(catalina-exec-21:ctx-30ebe1ca) (logid:2e351d67) ===START===  10.106.1.1 --
GET
command=listHosts&response=json&type=routing&listAll=true&page=1&pagesize=20&_=1488952350880

2017-03-08 11:37:31,440 WARN  [c.c.a.d.ParamGenericValidationWorker]
(catalina-exec-21:ctx-30ebe1ca ctx-835f2488) (logid:2e351d67) Received
unknown parameters for command listHosts. Unknown parameters : listall

2017-03-08 11:37:31,440 DEBUG [c.c.a.q.QueryManagerImpl]
(catalina-exec-21:ctx-30ebe1ca ctx-835f2488) (logid:2e351d67) >>>Searching
for hosts>>>

2017-03-08 11:37:31,452 DEBUG [c.c.a.q.QueryManagerImpl]
(catalina-exec-21:ctx-30ebe1ca ctx-835f2488) (logid:2e351d67) >>>Generating
Response>>>

2017-03-08 11:37:31,472 ERROR [c.c.a.ApiServer]
(catalina-exec-21:ctx-30ebe1ca ctx-835f2488) (logid:2e351d67) unhandled
exception executing api command: [Ljava.lang.String;@44944a0a

java.lang.NullPointerException

at
com.cloud.storage.StorageManagerImpl.isLocalStorageActiveOnHost(StorageManagerImpl.java:376)

at com.cloud.api.ApiDBUtils.isLocalStorageActiveOnHost(ApiDBUtils.java:885)

at
com.cloud.api.query.dao.HostJoinDaoImpl.newHostResponse(HostJoinDaoImpl.java:210)

at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

at
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at com.sun.proxy.$Proxy278.newHostResponse(Unknown Source)

at com.cloud.api.ApiDBUtils.newHostResponse(ApiDBUtils.java:1747)

at
com.cloud.api.query.ViewResponseHelper.createHostResponse(ViewResponseHelper.java:236)

at
com.cloud.api.query.QueryManagerImpl.searchForServers(QueryManagerImpl.java:1566)

at
org.apache.cloudstack.api.command.admin.host.ListHostsCmd.execute(ListHostsCmd.java:186)

at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)

at com.cloud.api.ApiServer.queueCommand(ApiServer.java:698)

at com.cloud.api.ApiServer.handleRequest(ApiServer.java:529)

at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:297)

at com.cloud.api.ApiServlet$1.run(ApiServlet.java:127)

at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)

at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)

at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)

at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:124)

at com.cloud.api.ApiServlet.doGet(ApiServlet.java:86)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1720)

at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)

*Vivek Kumar*
Virtualization and Cloud Consultant

[image: http://www.indiqus.com/images/logo.jpg]  <http://www.indiqus.com/>
*I*ndi*Q*us Technologies Pvt Ltd
A-98, LGF, C.R.Park, New Delhi - 110019
*O* +91 11 4055 1409 ( 24*7 Support HelpLine )| *M* +91 7503460090
www.indiqus.com  <http://www.indiqus.com/>

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message