You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by "18337171837@163.com" <18...@163.com> on 2014/07/18 08:32:54 UTC

添加虚拟主机失败

各位,今天在cs后台添加主机失败
具体日志如下:
内存使用率27%,cpu使用率50%,要创建一个2G内存,2核心的cpu,从日志看应该内存和cpu是足够的,我看二级存储也是正常的,请教下这个是什么问题。

2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Hosts's actual total CPU: 48000 and CPU after applying overprovisioning: 96000 
2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Free CPU: 47000 , Requested CPU: 2000 
2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Free RAM: 101071503360 , Requested RAM: 2147483648 
2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Host has enough CPU and RAM available 
2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 49000, reserved: 0, actual total: 48000, total with overprovisioning: 96000; requested cpu:2000,alloc_from_last_host?:false ,considerReservedCapacity?: true 
2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 34225520640, reserved: 0, total: 135297024000; requested mem: 2147483648,alloc_from_last_host?:false ,considerReservedCapacity?: true 
2014-07-18 14:19:45,968 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Found a suitable host, adding to list: 1

Re: 添加虚拟主机失败

Posted by "linuxbqj@gmail.com" <li...@gmail.com>.
日志比较少
可以再增加一些日志内容吗?

2014-07-18 14:32 GMT+08:00 18337171837@163.com <18...@163.com>:
> 各位,今天在cs后台添加主机失败
> 具体日志如下:
> 内存使用率27%,cpu使用率50%,要创建一个2G内存,2核心的cpu,从日志看应该内存和cpu是足够的,我看二级存储也是正常的,请教下这个是什么问题。
>
> 2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Hosts's actual total CPU: 48000 and CPU after applying overprovisioning: 96000
> 2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Free CPU: 47000 , Requested CPU: 2000
> 2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Free RAM: 101071503360 , Requested RAM: 2147483648
> 2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Host has enough CPU and RAM available
> 2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 49000, reserved: 0, actual total: 48000, total with overprovisioning: 96000; requested cpu:2000,alloc_from_last_host?:false ,considerReservedCapacity?: true
> 2014-07-18 14:19:45,968 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 34225520640, reserved: 0, total: 135297024000; requested mem: 2147483648,alloc_from_last_host?:false ,considerReservedCapacity?: true
> 2014-07-18 14:19:45,968 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-10:job-2119 = [ afcde3f0-cd36-4809-b379-9bd6861669f9 ] FirstFitRoutingAllocator) Found a suitable host, adding to list: 1



-- 
白清杰 (Born Bai)

Mail: linuxbqj@gmail.com

敬畏耶和华是智慧的开端