incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linuxbqj@gmail.com" <linux...@gmail.com>
Subject Re: 项目视图中无法创建实例
Date Fri, 18 Jan 2013 08:55:54 GMT
你是通过模板创建VM还是通过ISO创建实例呢?

如果是通过ISO创建,是要创建什么操作系统的实例呢?

你的xenserver的版本是多少?

2013/1/16 Andy Liu <andylhz@gmail.com>

> 大家好:
> 在项目视图下无法创建vm实例,从日志中看是找不到宿主主机,但是在默认视图下就可以创建,是创建的项目有问题还是有什么需要注意的地方呢?
> 使用的xen的虚拟软件
> 下面是日志:
>
> 2013-01-16 10:27:30,531 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-38:job-116) Trying to deploy VM, vm has dcId: 3 and podId:
> null
> 2013-01-16 10:27:30,531 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-38:job-116) Deploy avoids pods: null, clusters: null, hosts:
> null
> 2013-01-16 10:27:30,533 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) DeploymentPlanner allocation algorithm: random
> 2013-01-16 10:27:30,533 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) Trying to allocate a host and storage pools from
> dc:3, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
> 2013-01-16 10:27:30,533 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) Is ROOT volume READY (pool already allocated)?:
> No
> 2013-01-16 10:27:30,533 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) Searching all possible resources under this Zone:
> 3
> 2013-01-16 10:27:30,534 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) Listing clusters in order of aggregate capacity,
> that have (atleast one host with) enough CPU and RAM capacity under this
> Zone: 3
> 2013-01-16 10:27:30,535 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) CPUOverprovisioningFactor considered: 1.0
> 2013-01-16 10:27:30,540 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) Checking resources in Cluster: 5 under Pod: 5
> 2013-01-16 10:27:30,540 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) Calling HostAllocators to find suitable hosts
> 2013-01-16 10:27:30,540 DEBUG [allocator.impl.FirstFitAllocator]
> (Job-Executor-38:job-116 FirstFitRoutingAllocator) Looking for hosts in dc:
> 3  pod:5  cluster:5
> 2013-01-16 10:27:30,541 DEBUG [allocator.impl.FirstFitAllocator]
> (Job-Executor-38:job-116 FirstFitRoutingAllocator) FirstFitAllocator has 1
> hosts to check for allocation: [Host[-15-Routing]]
> 2013-01-16 10:27:30,542 DEBUG [allocator.impl.FirstFitAllocator]
> (Job-Executor-38:job-116 FirstFitRoutingAllocator) Not considering hosts:
> [Host[-15-Routing]]  to deploy template:
> Tmpl[212-ISO-212-6-9b090367-746d-3959-ae74-9a51a48cbf7d as they are not HVM
> enabled
> 2013-01-16 10:27:30,542 DEBUG [allocator.impl.FirstFitAllocator]
> (Job-Executor-38:job-116 FirstFitRoutingAllocator) Found 0 hosts for
> allocation after prioritization: []
> 2013-01-16 10:27:30,542 DEBUG [allocator.impl.FirstFitAllocator]
> (Job-Executor-38:job-116 FirstFitRoutingAllocator) Looking for
> speed=500Mhz, Ram=512
> 2013-01-16 10:27:30,542 DEBUG [allocator.impl.FirstFitAllocator]
> (Job-Executor-38:job-116 FirstFitRoutingAllocator) Host Allocator returning
> 0 suitable hosts
> 2013-01-16 10:27:30,542 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) No suitable hosts found
> 2013-01-16 10:27:30,543 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) No suitable hosts found under this Cluster: 5
> 2013-01-16 10:27:30,543 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-38:job-116) Could not find suitable Deployment Destination
> for this VM under any clusters, returning.
> 2013-01-16 10:27:30,550 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-38:job-116) VM state transitted from :Starting to Stopped
> with event: OperationFailedvm's original host id: null new host id: null
> host id before state transition: null
> 2013-01-16 10:27:30,553 DEBUG [cloud.vm.UserVmManagerImpl]
> (Job-Executor-38:job-116) Destroying vm
> VM[User|65341e06-e269-4ffb-8c16-70b2e1e68d9b] as it failed to create
> 2013-01-16 10:27:30,557 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-38:job-116) VM state transitted from :Stopped to Error with
> event: OperationFailedToErrorvm's original host id: null new host id: null
> host id before state transition: null
> 2013-01-16 10:27:30,578 INFO  [api.commands.DeployVMCmd]
> (Job-Executor-38:job-116)
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM[User|65341e06-e269-4ffb-8c16-70b2e1e68d9b]Scope=interface
> com.cloud.dc.DataCenter; id=3
> 2013-01-16 10:27:30,579 WARN  [cloud.api.ApiDispatcher]
> (Job-Executor-38:job-116) class com.cloud.api.ServerApiException : Unable
> to create a deployment for VM[User|65341e06-e269-4ffb-8c16-70b2e1e68d9b]
>



-- 
白清杰 (Born Bai)

Beijing Open Vision Information Technology Co.,Ltd

Mail: linuxbqj@gmail.com

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