[jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991925#comment-14991925 ] Imran Ahmed commented on CLOUDSTACK-7097: - [~ustcweiz...@gmail.com] That was it! . In fact we had to enable virtualization in bios and that solved the issue. Thanks for your prompt reply. cheers, Imran > failing to add kvm host to MS > -- > > Key: CLOUDSTACK-7097 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server >Affects Versions: 4.5.0 >Reporter: shweta agarwal >Assignee: Kishan Kavala >Priority: Critical > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > Repro steps: > Create a agent on rhel 6.3 > create a MS on rhel 6.3 > Try creating a zone > Bug : zone creation fails at adding host step > MS log shows : > 014-07-11 03:33:46,284 WARN [c.c.a.d.ParamGenericValidationWorker] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Received unknown parameters for > command addHost. Unknown parameters : clustertype > 2014-07-11 03:33:46,294 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Trying to add a new host at > http://10.147.40.24 in data center 1 > 2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) It's not a KVM enabled machine > 2014-07-11 03:33:49,608 WARN [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Unable to find the server > resources at http://10.147.40.24 > 2014-07-11 03:33:49,611 INFO [c.c.u.e.CSExceptionErrorCode] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2014-07-11 03:33:49,611 WARN [o.a.c.a.c.a.h.AddHostCmd] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) > at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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 $Proxy148.discoverHosts(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517) > at > com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317) > 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.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(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.ser
[jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14989035#comment-14989035 ] Wei Zhou commented on CLOUDSTACK-7097: -- [~rootguy]it looks the virtualization technology is disabled in BIOS. Otherwise, you could see kvm_intel or kvm_amd in lsmod. root@KVM001:~# lsmod|grep kvm kvm_intel 151552 18 kvm 479232 1 kvm_intel > failing to add kvm host to MS > -- > > Key: CLOUDSTACK-7097 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server >Affects Versions: 4.5.0 >Reporter: shweta agarwal >Assignee: Kishan Kavala >Priority: Critical > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > Repro steps: > Create a agent on rhel 6.3 > create a MS on rhel 6.3 > Try creating a zone > Bug : zone creation fails at adding host step > MS log shows : > 014-07-11 03:33:46,284 WARN [c.c.a.d.ParamGenericValidationWorker] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Received unknown parameters for > command addHost. Unknown parameters : clustertype > 2014-07-11 03:33:46,294 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Trying to add a new host at > http://10.147.40.24 in data center 1 > 2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) It's not a KVM enabled machine > 2014-07-11 03:33:49,608 WARN [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Unable to find the server > resources at http://10.147.40.24 > 2014-07-11 03:33:49,611 INFO [c.c.u.e.CSExceptionErrorCode] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2014-07-11 03:33:49,611 WARN [o.a.c.a.c.a.h.AddHostCmd] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) > at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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 $Proxy148.discoverHosts(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517) > at > com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317) > 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.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115) > at com.cloud.api.ApiServlet.doPost(A
[jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988767#comment-14988767 ] Imran Ahmed commented on CLOUDSTACK-7097: - I faced this issue while adding a host manually on cloudstack 4.4 here is what I can see in management-server.log: 2015-11-03 20:10:25,836 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-18:ctx-e0055fb6 ctx-16be7693) Received unknown parameters for command addHost. Unknown parameters : clustertype Checking KVM...[Failed] 2015-11-03 20:12:11,903 WARN [o.a.c.alerts] (HA-2:ctx-72908537) alertType:: 13 // dataCenterId:: 0 // podId:: 0 // clusterId:: null // message:: No usage server process running 2015-11-03 20:15:28,447 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] (catalina-exec-18:ctx-e0055fb6 ctx-16be7693) Timeout, to wait for the host connecting to mgt svr, assuming it is failed 2015-11-03 20:15:28,449 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-18:ctx-e0055fb6 ctx-16be7693) Unable to find the server resources at http://192.168.2.29 2015-11-03 20:15:28,449 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-18:ctx-e0055fb6 ctx-16be7693) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions 2015-11-03 20:15:28,450 WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-18:ctx-e0055fb6 ctx-16be7693) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 2015-11-03 20:15:28,452 INFO [c.c.a.ApiServer] (catalina-exec-18:ctx-e0055fb6 ctx-16be7693) Unable to add the host > failing to add kvm host to MS > -- > > Key: CLOUDSTACK-7097 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server >Affects Versions: 4.5.0 >Reporter: shweta agarwal >Assignee: Kishan Kavala >Priority: Critical > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > Repro steps: > Create a agent on rhel 6.3 > create a MS on rhel 6.3 > Try creating a zone > Bug : zone creation fails at adding host step > MS log shows : > 014-07-11 03:33:46,284 WARN [c.c.a.d.ParamGenericValidationWorker] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Received unknown parameters for > command addHost. Unknown parameters : clustertype > 2014-07-11 03:33:46,294 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Trying to add a new host at > http://10.147.40.24 in data center 1 > 2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) It's not a KVM enabled machine > 2014-07-11 03:33:49,608 WARN [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Unable to find the server > resources at http://10.147.40.24 > 2014-07-11 03:33:49,611 INFO [c.c.u.e.CSExceptionErrorCode] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2014-07-11 03:33:49,611 WARN [o.a.c.a.c.a.h.AddHostCmd] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) > at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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) >
[jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072924#comment-14072924 ] Kishan Kavala commented on CLOUDSTACK-7097: --- Agent requires java7. Unsupported major minor exception is seen when lower version of java is installed. > failing to add kvm host to MS > -- > > Key: CLOUDSTACK-7097 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server >Affects Versions: 4.5.0 >Reporter: shweta agarwal >Assignee: Kishan Kavala >Priority: Critical > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > Repro steps: > Create a agent on rhel 6.3 > create a MS on rhel 6.3 > Try creating a zone > Bug : zone creation fails at adding host step > MS log shows : > 014-07-11 03:33:46,284 WARN [c.c.a.d.ParamGenericValidationWorker] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Received unknown parameters for > command addHost. Unknown parameters : clustertype > 2014-07-11 03:33:46,294 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Trying to add a new host at > http://10.147.40.24 in data center 1 > 2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) It's not a KVM enabled machine > 2014-07-11 03:33:49,608 WARN [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Unable to find the server > resources at http://10.147.40.24 > 2014-07-11 03:33:49,611 INFO [c.c.u.e.CSExceptionErrorCode] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2014-07-11 03:33:49,611 WARN [o.a.c.a.c.a.h.AddHostCmd] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) > at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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 $Proxy148.discoverHosts(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517) > at > com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317) > 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.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(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.servle
[jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063371#comment-14063371 ] shweta agarwal commented on CLOUDSTACK-7097: I am hitting this issue everytime I am trying to configure KVM host on rhel however on running command modprobe kvm_amd KVM agent is enabled and i could proceed further . so its ok to lower its priority > failing to add kvm host to MS > -- > > Key: CLOUDSTACK-7097 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server >Affects Versions: 4.5.0 >Reporter: shweta agarwal >Priority: Critical > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > Repro steps: > Create a agent on rhel 6.3 > create a MS on rhel 6.3 > Try creating a zone > Bug : zone creation fails at adding host step > MS log shows : > 014-07-11 03:33:46,284 WARN [c.c.a.d.ParamGenericValidationWorker] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Received unknown parameters for > command addHost. Unknown parameters : clustertype > 2014-07-11 03:33:46,294 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Trying to add a new host at > http://10.147.40.24 in data center 1 > 2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) It's not a KVM enabled machine > 2014-07-11 03:33:49,608 WARN [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Unable to find the server > resources at http://10.147.40.24 > 2014-07-11 03:33:49,611 INFO [c.c.u.e.CSExceptionErrorCode] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2014-07-11 03:33:49,611 WARN [o.a.c.a.c.a.h.AddHostCmd] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) > at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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 $Proxy148.discoverHosts(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517) > at > com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317) > 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.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(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.
[jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062464#comment-14062464 ] Animesh Chaturvedi commented on CLOUDSTACK-7097: Shweta can you confirm by checking on Wei's comment. Rayees is not running into this issue in latest automation. So bumping it down to critical for now, please retest > failing to add kvm host to MS > -- > > Key: CLOUDSTACK-7097 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server >Affects Versions: 4.5.0 >Reporter: shweta agarwal >Priority: Blocker > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > Repro steps: > Create a agent on rhel 6.3 > create a MS on rhel 6.3 > Try creating a zone > Bug : zone creation fails at adding host step > MS log shows : > 014-07-11 03:33:46,284 WARN [c.c.a.d.ParamGenericValidationWorker] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Received unknown parameters for > command addHost. Unknown parameters : clustertype > 2014-07-11 03:33:46,294 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Trying to add a new host at > http://10.147.40.24 in data center 1 > 2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) It's not a KVM enabled machine > 2014-07-11 03:33:49,608 WARN [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Unable to find the server > resources at http://10.147.40.24 > 2014-07-11 03:33:49,611 INFO [c.c.u.e.CSExceptionErrorCode] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2014-07-11 03:33:49,611 WARN [o.a.c.a.c.a.h.AddHostCmd] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) > at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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 $Proxy148.discoverHosts(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517) > at > com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317) > 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.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(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.
[jira] [Commented] (CLOUDSTACK-7097) failing to add kvm host to MS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058583#comment-14058583 ] Wei Zhou commented on CLOUDSTACK-7097: -- it looks kvm is not supported on the host. it should like this: root@cs-001:~# lsmod |grep kvm kvm_intel 137721 18 kvm 415550 1 kvm_intel If not, please check the BIOS configuration > failing to add kvm host to MS > -- > > Key: CLOUDSTACK-7097 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7097 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server >Affects Versions: 4.5.0 >Reporter: shweta agarwal >Priority: Blocker > Fix For: 4.5.0 > > Attachments: management-server.log.tar.gz > > > Repro steps: > Create a agent on rhel 6.3 > create a MS on rhel 6.3 > Try creating a zone > Bug : zone creation fails at adding host step > MS log shows : > 014-07-11 03:33:46,284 WARN [c.c.a.d.ParamGenericValidationWorker] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Received unknown parameters for > command addHost. Unknown parameters : clustertype > 2014-07-11 03:33:46,294 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Trying to add a new host at > http://10.147.40.24 in data center 1 > 2014-07-11 03:33:46,487 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:47,505 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:48,556 DEBUG [c.c.u.s.SSHCmdHelper] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Executing cmd: lsmod|grep kvm > 2014-07-11 03:33:49,607 DEBUG [c.c.h.k.d.LibvirtServerDiscoverer] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) It's not a KVM enabled machine > 2014-07-11 03:33:49,608 WARN [c.c.r.ResourceManagerImpl] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Unable to find the server > resources at http://10.147.40.24 > 2014-07-11 03:33:49,611 INFO [c.c.u.e.CSExceptionErrorCode] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > 2014-07-11 03:33:49,611 WARN [o.a.c.a.c.a.h.AddHostCmd] > (catalina-exec-12:ctx-007b5513 ctx-c586ed3c) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) > at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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 $Proxy148.discoverHosts(Unknown Source) > at > org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517) > at > com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317) > 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.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(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.Http