Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7222
  • 博文数量: 2
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 32
  • 用 户 组: 普通用户
  • 注册时间: 2014-02-28 13:48
文章分类

全部博文(2)

文章存档

2014年(2)

我的朋友

分类: 云计算

2014-02-28 14:20:13


点击(此处)折叠或打开

  1. Host 192.168.1.108 OpaqueRef:95dde2e7-bd2f-816b-a099-3ac6a1eec504: Host 192.168.1.108 is already setup.
  2. WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) callHostPlugin failed for cmd: setIptables with args due to The requested plugin could not be found.
  3. WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) Unable to setup
  4. com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: setIptables with args due to The requested plugin could not be found.
主机不可达,用户名密码不正确和防火墙是否开启相应的端口等,缺失软件包。如果在Eclipse编译,需要重新clean系统。


点击(此处)折叠或打开

  1. NFO [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 4, will recycle it and start a new one
  2. WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:) Exception while trying to start console proxy
  3. com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-5-VM]Scope=interface com.cloud.dc.DataCenter; id=1
  4.     at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:841)
  5.     at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:577)
  6.     at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:570)
  7.     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:556)
  8.     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:928)
  9.     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1672)
  10.     at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
  11.     at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
  12.     at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
  13.     at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
  14.     at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
  15.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  16.     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
  17.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
  18.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  19.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  20.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  21.     at java.lang.Thread.run(Thread.java:744)
主机的资源不足错误。可能是由于服务器的内存和硬盘资源不足,解决方案,使用本地存储和更换更大的内存.


点击(此处)折叠或打开

  1. WARN [apache.cloudstack.alerts] (Cluster-Notification-1:) alertType:: 14 // dataCenterId:: 0 // podId:: 0 // clusterId:: null // message:: Management server node 127.0.0.1 is up
  2. WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:) Notifying management server join event took 118 ms
  3. INFO [xen.resource.CitrixResourceBase] (AgentTaskPool-1:) Private Network is Pool-wide network associated with eth0 for host 192.168.1.108
  4. INFO [xen.resource.CitrixResourceBase] (AgentTaskPool-1:) Guest Network is Pool-wide network associated with eth0 for host 192.168.1.108
  5. INFO [xen.resource.CitrixResourceBase] (AgentTaskPool-1:) Public Network is Pool-wide network associated with eth0 for host 192.168.1.108
  6. WARN [xen.resource.CitrixResourceBase] (AgentTaskPool-1:) Unable to get local EXTSR in host:3a965e5d-79a0-4e0f-b940-b7082e17dad0SR_BACKEND_FAILURE_40The SR scan failed [opterr=error VHD-scanning path /var/run/sr-mount/f32ea6df-27ff-d169-ff58-18f669ea541b (2)]
  7. INFO [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-1:) Host: xenserver-vopkzmxw connected with hypervisor type: XenServer. Checking CIDR...
  8. INFO [agent.manager.DirectAgentAttache] (AgentTaskPool-1:) StartupAnswer received 3 Interval = 60
  9. INFO [xen.resource.CitrixResourceBase] (DirectAgent-1:) Host 192.168.1.108 OpaqueRef:2e7be387-7457-fd56-06e5-f4d99fa40e8d: Host 192.168.1.108 is already setup.
  10. INFO [network.security.SecurityGroupListener] (AgentTaskPool-1:) Received a host startup notification
  11. INFO [network.security.SecurityGroupListener] (AgentTaskPool-1:) Scheduled network rules cleanup, interval=2181
错误暂时没有定位,XenServer本地存储挂载失败。需要重启XenServer服务器或者重装系统。


点击(此处)折叠或打开

  1. WARN [cloud.resource.ResourceManagerImpl] (116795460@qtp-830830223-11:) Unable to find the server resources at http://192.168.1.108
  2. INFO [utils.exception.CSExceptionErrorCode] (116795460@qtp-830830223-11:) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions
  3. WARN [admin.host.AddHostCmd] (116795460@qtp-830830223-11:) Exception:
  4. com.cloud.exception.DiscoveryException: Unable to add the host
  5.     at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:798)
  6.     at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590)
  7.     at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
  8.     at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
  9.     at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
  10.     at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
  11.     at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
  12.     at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
  13.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  14.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  15.     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
  16.     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
  17.     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
  18.     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
  19.     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
  20.     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
  21.     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
  22.     at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
  23.     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
  24.     at org.mortbay.jetty.Server.handle(Server.java:326)
  25.     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
  26.     at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
  27.     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
  28.     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
  29.     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
  30.     at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
  31.     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
  32. INFO [cloud.api.ApiServer] (116795460@qtp-830830223-11:) Unable to add the host
不能添加host主机,服务器版本为cloudstack不支持的版本

点击(此处)折叠或打开

  1. Build failure in 4.2 with Midokura Midonet
这个错误比较坑,莫名奇妙的出现,解决方案:在源码根目录执行编译命令:mvn clean install -P developer,systemvm,然后在eclipse中重新编译即可。


点击(此处)折叠或打开

  1. WARN [xen.resource.XenServerStorageProcessor] (DirectAgent-2:) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-35aa84de-e0a8-4d0a-a936-fce11a683794
  2. WARN [xen.resource.XenServerStorageProcessor] (DirectAgent-2:) can not create vdi in sr 37642957-b52d-5e18-2f9c-84fe7081fe12
  3. WARN [xen.resource.XenServerStorageProcessor] (DirectAgent-2:) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 37642957-b52d-5e18-2f9c-84fe7081fe12
  4. com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 37642957-b52d-5e18-2f9c-84fe7081fe12
  5.     at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:793)
  6.     at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:864)
  7.     at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:70)
  8.     at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
  9.     at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:625)
  10.     at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
  11.     at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
  12.     at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
  13.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  14.     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  15.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
  16.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
  17.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  18.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  19.     at java.lang.Thread.run(Thread.java:744)
这个错误比较常见,就所忘记vhd-util这个可执行文件,在网上下载将其拷贝至 /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util即可。如果在eclipse中编辑执行的话需要拷贝至/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/目录中。

点击(此处)折叠或打开

  1. 系统虚拟机异常
首先确定,防火墙是否设置正确,在调试阶段可以世界将其关闭,service iptables stop
有时经常出现二级存储或者控制台莫名其妙无法使用,并且并没有进行什么操作,重启系统虚拟机也无法使用,这个应该是CloudStack的BUG,执行如下脚本重启系统虚拟机即可使用
nohup cloudstack-sysvmadm -d localhost -u cloud -p root -a > sysvm.log 2>&1 &




阅读(1744) | 评论(1) | 转发(0) |
0

上一篇:没有了

下一篇:cloudstack4.2.1+eclipse+xenserver源码编译环境搭建

给主人留下些什么吧!~~

啦哆A梦2014-03-03 10:27:49

学习学习