cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qin wu <wqxiaoaojian...@gmail.com>
Subject 无法使用自定义的网络方案并且无法创建新的虚拟机
Date Mon, 04 Mar 2013 04:21:55 GMT
cloudstack3.0.2的版本,在高级网络模式下,想要使用网络限速的功能和安全组的功能。我自己创建了一个网络方案,但在创建来宾网络的时候,无法使用我自己创建的方案。我就使用了系统默认的共享方案。成功了,但无法了外面联通。后来我修改了来宾网络的标签,再次创建虚拟机的时候就无法创建了。我把添加的网络标签删了也没有用,日志报错如下:

2013-03-04 09:26:31,949 DEBUG [cloud.vm.UserVmManagerImpl]
(catalina-exec-23:null) Allocating in the DB for vm

2013-03-04 09:26:31,949 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-23:null) Allocating entries for VM: VM[User|i-12-1054-VM]

2013-03-04 09:26:31,954 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(catalina-exec-23:null) Allocating nics for VM[User|i-12-1054-VM]

2013-03-04 09:26:31,964 DEBUG [db.Transaction.Transaction]
(catalina-exec-23:null) Rolling back the transaction: Time = 14 Name =
 createVirtualMachine;
called by
-Transaction.rollback:837-Transaction.removeUpTo:780-Transaction.close:599-DatabaseCallback.interceptComplete:67-DatabaseCallback.intercept:32-VirtualMachineManagerImpl.allocate:280-DatabaseCallback.intercept:30-UserVmManagerImpl.createVirtualMachine:2465-ComponentLocator$InterceptorDispatcher.intercept:1185-UserVmManagerImpl.createAdvancedVirtualMachine:2251-DeployVMCmd.create:388-ApiDispatcher.dispatchCreateCmd:78

2013-03-04 09:26:31,969 ERROR [cloud.api.ApiDispatcher]
(catalina-exec-23:null) Exception while executing DeployVMCmd:

java.lang.NullPointerException

        at
com.cloud.network.NetworkManagerImpl.allocate(NetworkManagerImpl.java:1535)

        at
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)

        at
com.cloud.vm.VirtualMachineManagerImpl.allocate(VirtualMachineManagerImpl.java:280)

        at
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)

        at
com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:2465)

        at
com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1185)

        at
com.cloud.vm.UserVmManagerImpl.createAdvancedVirtualMachine(UserVmManagerImpl.java:2251)

        at com.cloud.api.commands.DeployVMCmd.create(DeployVMCmd.java:388)

        at
com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:78)

        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:451)

        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)

        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:300)

        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:59)

        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.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

        at java.lang.Thread.run(Thread.java:679)



这是什么问题?该如何解决?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message