Mike,

Check if Root SSH is allowed on KVM host and username/password match.

Review the /var/log/secure on KVM host for ssh attempts.

Regards,
ilya

On 3/16/15 5:34 PM, Mike wrote:
Hello all,

I am more than a bit stumped. I've followed the Quick Installation Guide
in the CS Installation Documentation, release 4.4.1 , using CentOS 6.6
and CS 4.4. I am unable add add the first (or any) host.

I have a simple, flat network with one private address subnet. The
attempt to add a host fails with a message from the Web GUI, "Something
went wrong; please correct the following: Authentication error". All
steps leading up to this error (Create Zone, Pod, Cluster) complete
successfully.

A review of /var/log/cloudstack/management/management-server.log
returns:

2015-03-16 18:16:02,064 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-
f410fff4) ===START===  192.168.255.61 -- POST
command=addHost&response=json&sessionkey=bTd1eGd%2FIM6XUup0oWNQoexUQm8%3
D
2015-03-16 18:16:02,074 WARN  [c.c.a.d.ParamGenericValidationWorker]
(catalina-exec-12:ctx-f410fff4 ctx-0760ac45) Received unknown parameters
for command addHost. Unknown parameters : clustertype
2015-03-16 18:16:02,079 INFO  [c.c.r.ResourceManagerImpl] (catalina-
exec-12:ctx-f410fff4 ctx-0760ac45) Trying to add a new host at
http://192.168.255.23 in data center 1
2015-03-16 18:16:04,171 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer]
(catalina-exec-12:ctx-f410fff4 ctx-0760ac45) Failed to authenticate
2015-03-16 18:16:04,173 WARN  [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-
12:ctx-f410fff4 ctx-0760ac45) Exception:
com.cloud.exception.DiscoveredWithErrorException: Authentication error
         at
com.cloud.hypervisor.kvm.discoverer.LibvirtServerDiscoverer.find(Libvirt
ServerDiscoverer.java:158)
         at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManager
Impl.java:735)
         at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl
.java:586)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:57)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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.invokeJoinp
oint(ReflectiveMethodInvocation.java:183)
         at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:150)
         at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(E
xposeInvocationInterceptor.java:91)
         at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:172)
         at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAo
pProxy.java:204)
         at com.sun.proxy.$Proxy148.discoverHosts(Unknown Source)
         at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostC
md.java:142)
         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
         at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
         at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
         at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(
DefaultManagedContext.java:56)
         at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWit
hContext(DefaultManagedContext.java:103)
         at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWith
Context(DefaultManagedContext.java:53)
         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
         at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.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:2
98)
         at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
ava:889)
         at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
ss(Http11NioProtocol.java:721)
         at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
ava:2274)
         at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
a:1145)
         at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:615)
         at java.lang.Thread.run(Thread.java:745)
2015-03-16 18:16:04,174 INFO  [c.c.a.ApiServer] (catalina-exec-12:ctx-
f410fff4 ctx-0760ac45) Authentication error
2015-03-16 18:16:04,175 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-
f410fff4 ctx-0760ac45) ===END===  192.168.255.61 -- POST
command=addHost&response=json&sessionkey=bTd1eGd%2FIM6XUup0oWNQoexUQm8%3
D

This is attempt #4, I am obviously missing something but can't figure it
out. Any help would be greatly appreciated.

Best regards,

Mike


Reply via email to