web前端cloudstack 创建主机失败,查看后台日志
[root@manager management]# pwd
/var/log/cloudstack/management
[root@manager management]# tail -n 200 management-server.log |more
2014-04-29 21:12:30,403 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-10:null) Executing cmd: lsmod|grep kvm
2014-04-29 21:12:32,474 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-10:null) It's not a KVM enabled machine
2014-04-29 21:12:32,477 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-10:null) Unable to find the server resources at
2014-04-29 21:12:32,479 INFO [utils.exception.CSExceptionErrorCode] (catalina-exec-10:null) Could not find exception: com.cloud.exception.DiscoveryException in error code list f
or exceptions
2014-04-29 21:12:32,480 WARN [admin.host.AddHostCmd] (catalina-exec-10:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
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(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)
开启服务器的VT功能即可
阅读(1768) | 评论(0) | 转发(0) |