cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fengjianjian" <fen...@chinaskycloud.com>
Subject 紧急!!!KVM+CloudStack部署问题
Date Fri, 29 Mar 2013 02:29:20 GMT
CloudStack版本3.0.6

Virsh版本0.9.4

操作系统是CentOS6.2

在CS上添加KVM 主机成功,并且在日志里也能正确看到管理节点和服务节点的通信

但是创建系统VM时,总是无法创建,在CS上的日志为

2013-03-29 10:21:10,402 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) DeploymentPlanner allocation algorithm: random

2013-03-29 10:21:10,402 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Trying to allocate a host and storage pools from dc:4,
pod:3,cluster:4, requested cpu: 500, requested ram: 1073741824

2013-03-29 10:21:10,402 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Is ROOT volume READY (pool already allocated)?: Yes

2013-03-29 10:21:10,402 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Searching resources only under specified Cluster: 4

2013-03-29 10:21:10,409 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Checking resources in Cluster: 4 under Pod: 3

2013-03-29 10:21:10,409 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Calling HostAllocators to find suitable hosts

2013-03-29 10:21:10,409 DEBUG [allocator.impl.FirstFitAllocator]
(consoleproxy-1:FirstFitRoutingAllocator) Looking for hosts in dc: 4  pod:3
cluster:4

2013-03-29 10:21:10,411 DEBUG [allocator.impl.FirstFitAllocator]
(consoleproxy-1:FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to
check for allocation: [Host[-20-Routing]]

2013-03-29 10:21:10,413 DEBUG [allocator.impl.FirstFitAllocator]
(consoleproxy-1:FirstFitRoutingAllocator) Found 1 hosts for allocation after
prioritization: [Host[-20-Routing]]

2013-03-29 10:21:10,414 DEBUG [allocator.impl.FirstFitAllocator]
(consoleproxy-1:FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024

2013-03-29 10:21:10,414 DEBUG [allocator.impl.FirstFitAllocator]
(consoleproxy-1:FirstFitRoutingAllocator) Host name: RedHat6.2, hostId: 20
is in avoid set, skipping this and trying other available hosts

2013-03-29 10:21:10,414 DEBUG [allocator.impl.FirstFitAllocator]
(consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 0
suitable hosts

2013-03-29 10:21:10,414 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) No suitable hosts found

2013-03-29 10:21:10,414 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) No suitable hosts found under this Cluster: 4

2013-03-29 10:21:10,414 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Could not find suitable Deployment Destination for
this VM under any clusters, returning. 

2013-03-29 10:21:10,415 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) DeploymentPlanner allocation algorithm: random

2013-03-29 10:21:10,415 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Trying to allocate a host and storage pools from dc:4,
pod:3,cluster:null, requested cpu: 500, requested ram: 1073741824

2013-03-29 10:21:10,416 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Is ROOT volume READY (pool already allocated)?: No

2013-03-29 10:21:10,416 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Searching resources only under specified Pod: 3

2013-03-29 10:21:10,417 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Listing clusters in order of aggregate capacity, that
have (atleast one host with) enough CPU and RAM capacity under this Pod: 3

2013-03-29 10:21:10,418 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) CPUOverprovisioningFactor considered: 1.0

2013-03-29 10:21:10,418 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) MemOverprovisioningFactor considered: 1.0

2013-03-29 10:21:10,420 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) Removing from the clusterId list these clusters from
avoid set: [4]

2013-03-29 10:21:10,420 DEBUG [cloud.deploy.FirstFitPlanner]
(consoleproxy-1:null) No clusters found after removing disabled clusters and
clusters in avoid list, returning.

2013-03-29 10:21:10,425 DEBUG [cloud.capacity.CapacityManagerImpl]
(consoleproxy-1:null) VM state transitted from :Starting to Stopped with
event: OperationFailedvm's original host id: null new host id: null host id
before state transition: 20

2013-03-29 10:21:10,430 DEBUG [cloud.capacity.CapacityManagerImpl]
(consoleproxy-1:null) Hosts's actual total CPU: 38416 and CPU after applying
overprovisioning: 38416

2013-03-29 10:21:10,430 DEBUG [cloud.capacity.CapacityManagerImpl]
(consoleproxy-1:null) release cpu from host: 20, old used: 1000,reserved: 0,
actual total: 38416, total with overprovisioning: 38416; new used:
500,reserved:0; movedfromreserved: false,moveToReserveredfalse

2013-03-29 10:21:10,430 DEBUG [cloud.capacity.CapacityManagerImpl]
(consoleproxy-1:null) release mem from host: 20, old used:
1342177280,reserved: 0, total: 50602799104; new used: 268435456,reserved:0;
movedfromreserved: false,moveToReserveredfalse

2013-03-29 10:21:10,433 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Exception while trying to start console proxy

com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[ConsoleProxy|v-1262-VM]Scope=interface
com.cloud.dc.DataCenter; id=4

        at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImp
l.java:729)

 

唯一的KVM host在avoid集合里,不明白为什么?

 

然后再KVM 主机上的agent日志可以看到如下日志

2013-03-29 10:17:40,938 WARN  [resource.computing.LibvirtComputingResource]
(agentRequest-Handler-5:null) Exception 

org.libvirt.LibvirtException: Failed to add tap interface to bridge
'cloudbr0': No such device

 

如何解决?请各位大牛帮下忙!!!

 


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