This is the error:
2016-02-16 16:58:54,837 INFO [c.c.u.e.CSExceptionErrorCode]
(catalina-exec-8:ctx-bd6d70a3 ctx-a848b1a2) Could not find exception:
com.cloud.exception.DiscoveryException in error code list for exceptions
2016-02-16 16:58:54,838 WARN [o.a.c.a.c.a.h.AddHostCmd]
(catalina-exec-8:ctx-bd6d70a3 ctx-a848b1a2) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:599)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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
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.$Proxy158.discoverHosts(Unknown Source)
at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:703)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:528)
at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:296)
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.doPost(ApiServlet.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
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:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-02-16 16:58:54,840 INFO [c.c.a.ApiServer]
(catalina-exec-8:ctx-bd6d70a3 ctx-a848b1a2) Unable to add the host
2016-02-16 16:58:54,841 DEBUG [c.c.a.ApiServlet]
(catalina-exec-8:ctx-bd6d70a3 ctx-a848b1a2) ===END=== 192.168.1.194 --
POST command=addHost&response=json
2016-02-16 16:58:56,048 INFO [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-c24418ad) Begin cleanup expired async-jobs
2016-02-16 16:58:56,052 INFO [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-c24418ad) End cleanup expired async-jobs
2016-02-16 16:59:01,525 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-60e9a3d3) AutoScaling Monitor is running...
2016-02-16 16:59:01,732 DEBUG [c.c.s.StatsCollector]
(StatsCollector-4:ctx-6d397a30) VmStatsCollector is running...
2016-02-16 16:59:06,052 INFO [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-6c85d10b) Begin cleanup expired async-jobs
2016-02-16 16:59:06,059 INFO [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-6c85d10b) End cleanup expired async-jobs
2016-02-16 16:59:16,055 INFO [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-a7e45c23) Begin cleanup expired async-jobs
2016-02-16 16:59:16,062 INFO [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-a7e45c23) End cleanup expired
I'm using shared storage NFS to connect both primary and secondary. The
hypervisor is kvm run on centos7. I saw when using wizard to add zone,
pod, cluster, host and primary storage the cloudstack-management keep
checking command: lsmod | grep kvm. I'm not configure host-kvm.
---------
Regards,
Mohd Zainal Abidin Rabani
Technical Support
ModernOne Data Solutions Sdn. Bhd.(1119382-D)
No. 83-2, Jalan TKS 1,
Kajang Sentral, 43000 Kajang, Selangor.
T : 03-8737 0030 | F : 03-8737 0070
E : zai...@nocser.net
W : www.modern.com.my | www.nocser.net
------ Original Message ------
From: "Glenn Wagner" <glenn.wag...@shapeblue.com>
To: "users@cloudstack.apache.org" <users@cloudstack.apache.org>; "Mohd
Zainal Abidin Rabani" <zai...@nocser.net>
Sent: 17/02/2016 4:43:58
Subject: RE: Management server cloudstack
Hi,
Could you paste the full error from the logs , with a few lines before
the error too please
Could you also give us a better understanding of your setup , what type
of hypervisor , storage (NFS, iscsi)
The hosts the wizard normal add are the hypervisor's if they are kvm
(this is normally done the first time you run the wizard)
Thanks
Glenn
Glenn WagnerSenior Consultant, ShapeBlued: | s: +27 21 527 0091 | m:
+27 73 917 4111e: glenn.wag...@shapeblue.com | t: | w:
www.shapeblue.coma: 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset
West Cape Town 7130 South AfricaShape Blue Ltd is a company
incorporated in England & Wales. ShapeBlue Services India LLP is a
company incorporated in India and is operated under license from Shape
Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue
SA Pty Ltd is a company registered by The Republic of South Africa and
is traded under license from Shape Blue Ltd. ShapeBlue is a registered
trademark.
This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do
not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither
take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email
in error.
-----Original Message-----
From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net]
Sent: Tuesday, 16 February 2016 11:57 AM
To: users@cloudstack.apache.org
Subject: Management server cloudstack
Hi,
I have question here. From wizard for setup cloudstack-management, why
management server need to add as host? Everytime i tried, same error
come out: Unable to add host. I not sure which host it want to add. If
kvm-host, it's already appear on host under Home > Infrastructure >
Hosts. So what host it's mean about?
---------
Regards,
Mohd Zainal Abidin Rabani
Technical Support
ModernOne Data Solutions Sdn. Bhd.(1119382-D) No. 83-2, Jalan TKS 1,
Kajang Sentral, 43000 Kajang, Selangor.
T : 03-8737 0030 | F : 03-8737 0070
E : zai...@nocser.net
W : www.modern.com.my | www.nocser.net
Find out more about ShapeBlue and our range of CloudStack related
services:
IaaS Cloud Design & Build | CSForge – rapid IaaS deployment framework
CloudStack Consulting | CloudStack Software Engineering
CloudStack Infrastructure Support | CloudStack Bootcamp Training
Courses