UPDATE:
Are you sure it is ACS 4.7 you are using?
Because the line that shows the error in your log is this one: "
List<VolumeVO> volumes = _volsDao.search(volumeSC, null);".
The only way to happen a NPE there, is if "volsDao" is null, which does not
happen.

On Fri, Jan 13, 2017 at 11:19 AM, Rafael Weingärtner <
rafaelweingart...@gmail.com> wrote:

> What 4.7 version are you using?
> 4.7.1? 4.7.1.1?
>
> On Fri, Jan 13, 2017 at 7:32 AM, Nicolas Bouige <n.bou...@dimsi.fr> wrote:
>
>> Hello,
>>
>> Sorry typo, we are under Xen 6.5.
>> We are using XenServer 7 in our test lab with 4.9 to prepare the
>> migration.
>>
>> Best regards,
>> N.B
>> -----Message d'origine-----
>> De : Rafael Weingärtner [mailto:rafaelweingart...@gmail.com]
>> Envoyé : jeudi 12 janvier 2017 19:47
>> À : users@cloudstack.apache.org
>> Objet : Re: HOST/CPU ERROR on Web UI
>>
>> Is this a new environment or a production one? I was under the impression
>> that the version 4.7 does not support XenServer7.
>> I thought the support was going to be added only on 4.9+.
>>
>> On Thu, Jan 12, 2017 at 10:14 AM, Nicolas Bouige <n.bou...@dimsi.fr>
>> wrote:
>>
>> > Hello Rafael,
>> >
>> > We're using 4.7 and XenServer 7
>> >
>> > Thanks,
>> > N.B
>> >
>> > -----Message d'origine-----
>> > De : Rafael Weingärtner [mailto:rafaelweingart...@gmail.com]
>> > Envoyé : jeudi 12 janvier 2017 15:58
>> > À : users@cloudstack.apache.org
>> > Objet : Re: HOST/CPU ERROR on Web UI
>> >
>> > It seems to be related.
>> >
>> > What version of ACS are you using?
>> >
>> > On Thu, Jan 12, 2017 at 12:52 PM, Nicolas Bouige <n.bou...@dimsi.fr>
>> > wrote:
>> >
>> > > Hello All,
>> > >
>> > > I'm facing an issue with the displaying of information about HOST
>> > > and
>> > CPU.
>> > > On CPU web page there are no information display and on HOST page
>> > > only < ERROR >.
>> > >
>> > > I dont know if its related but there is this error on
>> > > management-server.log :
>> > >
>> > > 2017-01-12 15:23:14,934 DEBUG [c.c.a.ApiServlet]
>> > > (catalina-exec-17:ctx-b4b62069)
>> > > (logid:45883c7d) ===START===  XX.XX.XX.XX -- GET
>> > > command=listHosts&response=json&type=routing&listAll=
>> > > true&page=1&pagesize=20&_=1484230881538
>> > > 2017-01-12 15:23:14,940 WARN  [c.c.a.d.ParamGenericValidationWorker]
>> > > (catalina-exec-17:ctx-b4b62069 ctx-48ead17f) (logid:45883c7d)
>> > > Received unknown parameters for command listHosts. Unknown
>> > > parameters : listall
>> > > 2017-01-12 15:23:14,941 DEBUG [c.c.a.q.QueryManagerImpl]
>> > > (catalina-exec-17:ctx-b4b62069 ctx-48ead17f) (logid:45883c7d)
>> > > >>>Searching for hosts>>>
>> > > 2017-01-12 15:23:14,949 DEBUG [c.c.a.q.QueryManagerImpl]
>> > > (catalina-exec-17:ctx-b4b62069 ctx-48ead17f) (logid:45883c7d)
>> > > >>>Generating
>> > > Response>>>
>> > > 2017-01-12 15:23:14,955 ERROR [c.c.a.ApiServer]
>> > > (catalina-exec-17:ctx-b4b62069 ctx-48ead17f) (logid:45883c7d)
>> > > unhandled exception executing api command:
>> > > [Ljava.lang.String;@59a40f5c java.lang.NullPointerException
>> > >              at com.cloud.storage.StorageManagerImpl.
>> > > isLocalStorageActiveOnHost(StorageManagerImpl.java:391)
>> > >              at com.cloud.api.ApiDBUtils.isLocalStorageActiveOnHost(
>> > > ApiDBUtils.java:908)
>> > >              at
>> > > com.cloud.api.query.dao.HostJoinDaoImpl.newHostResponse(
>> > > HostJoinDaoImpl.java:214)
>> > >              at
>> > > sun.reflect.GeneratedMethodAccessor338.invoke(Unknown
>> > > Source)
>> > >              at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > > DelegatingMethodAccessorImpl.java:43)
>> > >              at java.lang.reflect.Method.invoke(Method.java:498)
>> > >              at org.springframework.aop.support.AopUtils.
>> > > invokeJoinpointUsingReflection(AopUtils.java:317)
>> > >              at org.springframework.aop.framework.
>> > > ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodI
>> nvocation.
>> > > java:183)
>> > >              at org.springframework.aop.framework.
>> > > ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
>> n.java:150)
>> > >              at
>> > > com.cloud.utils.db.TransactionContextInterceptor.invoke(
>> > > TransactionContextInterceptor.java:34)
>> > >              at org.springframework.aop.framework.
>> > > ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
>> n.java:161)
>> > >              at org.springframework.aop.interceptor.
>> > > ExposeInvocationInterceptor.invoke(ExposeInvocationIntercept
>> or.java:91)
>> > >              at org.springframework.aop.framework.
>> > > ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocatio
>> n.java:172)
>> > >              at org.springframework.aop.framework.JdkDynamicAopProxy.
>> > > invoke(JdkDynamicAopProxy.java:204)
>> > >              at com.sun.proxy.$Proxy284.newHostResponse(Unknown
>> Source)
>> > >              at com.cloud.api.ApiDBUtils.newHostResponse(ApiDBUtils.
>> > > java:1781)
>> > >              at
>> > > com.cloud.api.query.ViewResponseHelper.createHostResponse(
>> > > ViewResponseHelper.java:252)
>> > >              at
>> > > com.cloud.api.query.QueryManagerImpl.searchForServers(
>> > > QueryManagerImpl.java:1655)
>> > >              at org.apache.cloudstack.api.command.admin.host.
>> > > ListHostsCmd.execute(ListHostsCmd.java:186)
>> > >              at com.cloud.api.ApiDispatcher.di
>> spatch(ApiDispatcher.java:
>> > > 132)
>> > >              at com.cloud.api.ApiServer.queueC
>> ommand(ApiServer.java:707)
>> > >              at com.cloud.api.ApiServer.handleRequest(ApiServer.java:
>> > 538)
>> > >              at com.cloud.api.ApiServlet.processRequestInContext(
>> > > ApiServlet.java:297)
>> > >              at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
>> > >              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:126)
>> > >              at com.cloud.api.ApiServlet.doGet(ApiServlet.java:86)
>> > >              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.Nio
>> Endpoint$SocketProcessor.
>> > > run(NioEndpoint.java:2274)
>> > >              at java.util.concurrent.ThreadPoolExecutor.runWorker(
>> > > ThreadPoolExecutor.java:1142)
>> > >              at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> > > ThreadPoolExecutor.java:617)
>> > >              at java.lang.Thread.run(Thread.java:745)
>> > >
>> > >
>> > > This error appears from nowhere...we didnt perform any update or
>> > > modification on our infrastructure.
>> > >
>> > > Any ideas , about how to troubleshoot this ?
>> > >
>> > >
>> > > Any help would be highly appreciated.
>> > >
>> > > Best regards,
>> > > N.B
>> > >
>> >
>> >
>> >
>> > --
>> > Rafael Weingärtner
>> >
>>
>>
>>
>> --
>> Rafael Weingärtner
>>
>
>
>
> --
> Rafael Weingärtner
>



-- 
Rafael Weingärtner

Reply via email to