incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tanthalas <tanthalas...@hotmail.com>
Subject Re: Re: 项目视图中无法创建实例
Date Thu, 24 Jan 2013 09:42:39 GMT
Tmpl[221-VHD-221-2-cd0cdaf2-6e64-362b-a048-3c183c856a52 as they are not HVM enabled

看起来这个模版有问题?这个跟是不是项目内应该无关把?

2013-01-24 


刘宇超  Richard Liu




发件人: Andy Liu 
发送时间: 2013-01-24  14:53:09 
收件人: cloudstack-users-cn 
抄送: 
主题: Re: 项目视图中无法创建实例 
 
现在是高级网络模式, xenserver   使用admin 用户 创建实例也不行,下面是报错信息红色字体
2013-01-24 14:39:51,179 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) Is ROOT volume READY (pool already allocated)
?: No
2013-01-24 14:39:51,179 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) Searching all possible resources under this Zone:
7
2013-01-24 14:39:51,181 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) Listing clusters in order of aggregate capacity,
that have (atleast one host with) enough CPU and RAM capacity under this
Zone: 7
2013-01-24 14:39:51,181 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) CPUOverprovisioningFactor considered: 1.0
2013-01-24 14:39:51,228 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) Checking resources in Cluster: 9 under Pod: 9
2013-01-24 14:39:51,228 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) Calling HostAllocators to find suitable hosts
2013-01-24 14:39:51,228 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-46:job-257 FirstFitRoutingAllocator) Looking for hosts in dc:
7  pod:9  cluster:9
2013-01-24 14:39:51,229 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-46:job-257 FirstFitRoutingAllocator) FirstFitAllocator has 1
hosts to check for allocation: [Host[-23-Routing]]
2013-01-24 14:39:51,231 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-46:job-257 FirstFitRoutingAllocator) Not considering hosts:
[Host[-23-Routing]]  to deploy template:
Tmpl[221-VHD-221-2-cd0cdaf2-6e64-362b-a048-3c183c856a52 as they are not HVM
enabled
2013-01-24 14:39:51,231 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-46:job-257 FirstFitRoutingAllocator) Found 0 hosts for
allocation after prioritization: []
2013-01-24 14:39:51,231 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-46:job-257 FirstFitRoutingAllocator) Looking for
speed=500Mhz, Ram=512
2013-01-24 14:39:51,231 DEBUG [allocator.impl.FirstFitAllocator]
(Job-Executor-46:job-257 FirstFitRoutingAllocator) Host Allocator r
eturning 0 suitable hosts
2013-01-24 14:39:51,231 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) No suitable hosts found
2013-01-24 14:39:51,231 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) No suitable hosts found under this Cluster: 9
2013-01-24 14:39:51,231 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-46:job-257) Could not find suitable Deployment Destination
for this VM under any clusters, returning.
2013-01-24 14:39:51,237 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-46:job-257) 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-24 14:39:51,240 DEBUG [cloud.vm.UserVmManagerImpl]
(Job-Executor-46:job-257) Destroying vm VM[User|2a3a4ded-f834-4785-b642-e
17593baec32] as it failed to create
On Mon, Jan 21, 2013 at 10:32 AM, 马营 <breeze7086@gmail.com> wrote:
> 那从权限角度考虑吧
> 还有用户quota方面
>
> 2013/1/21 Andy Liu <andylhz@gmail.com>
>
> >  可以的
> >
> > On Sun, Jan 20, 2013 at 10:15 PM, 马营 <breeze7086@gmail.com> wrote:
> >
> > > 你用admin能不能在项目下创建实例?
> > >
> > > 2013/1/18 Andy Liu <andylhz@gmail.com>
> > >
> > > > 通过ISO (Centos 6)创建的。  xenserver 是6.0的版本  通过系统自带的模版创建没有问题,而且得是admin
> > > > 用户。我在创建的项目下去添加实例使用非admin用户就一直失败。
> > > >
> > > >
> > > >
> > > > On Fri, Jan 18, 2013 at 4:55 PM, linuxbqj@gmail.com <
> > linuxbqj@gmail.com
> > > > >wrote:
> > > >
> > > > > 你是通过模板创建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