玩死人不偿命的CLOUDSTACK

玩过CLOUDSTACK(CS)的人,一定不会陌生下面的LOG:

2013-12-27 18:26:43,861 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-35:job-35 = [ e1ebce9d-18d7-4cf0-98de-22399a6ec49e ] FirstFitRoutingAllocator) Host name: xenserver-PHL1, hostId: 2 is in avoid set, skipping this and trying other available hosts

 

[root@cscontroller01 ~]# cat  /var/log/cloudstack/management/management-server.log|egrep 'exception|unable|fail|invalid|leak|warn|error'

2014-04-06 10:02:25,538 DEBUG [c.c.v.UserVmManagerImpl] (Job-Executor-14:ctx-e7a720a9 ctx-4439442c) Destroying vm VM[User|centos64] as it failed to create on Host with Id:null
2014-04-06 10:02:25,593 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-14:ctx-e7a720a9) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to insufficient capacity
Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|centos64]Scope=interface com.cloud.dc.DataCenter; id=1
2014-04-06 10:02:25,597 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-14:ctx-e7a720a9) Complete async job-18, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable to start a VM due to insufficient capacity"}

INFO  [c.c.a.ApiServer] (catalina-exec-13:ctx-a070bab6 ctx-f5c3b729) Authentication error
INFO  [c.c.r.ResourceManagerImpl] (catalina-exec-6:ctx-ae25920d ctx-392c7d67) Trying to add a new host at http://10.15.200.12 in data center 1
WARN  [c.c.u.n.Link] (AgentManager-Selector:null) SSL: Fail to find the generated keystore. Loading fail-safe one to continue.
INFO  [c.c.n.s.SecurityGroupListener] (AgentConnectTaskPool-1:ctx-bd7c7342) Received a host startup notification
INFO  [c.c.n.s.SecurityGroupListener] (AgentConnectTaskPool-1:ctx-bd7c7342) Scheduled network rules cleanup, interval=1976
INFO  [c.c.n.s.SecurityGroupListener] (AgentConnectTaskPool-1:ctx-bd7c7342) Received a host startup notification
INFO  [c.c.a.ApiServer] (catalina-exec-8:ctx-cff2473a ctx-2b8f64e0) zone wide storage pool is not supported for hypervisor type undefined
INFO  [c.c.a.ApiServer] (catalina-exec-12:ctx-ecf66584 ctx-f4aedae5) zone wide storage pool is not supported for hypervisor type undefined
INFO  [c.c.a.ApiServer] (catalina-exec-20:ctx-d4cc92b9 ctx-3c36bc30) zone wide storage pool is not supported for hypervisor type undefined
INFO  [o.a.c.s.d.p.DefaultHostListener] (catalina-exec-16:ctx-cafd071d ctx-0c6aea0d) Connection established between org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@19c2544d host + 1
INFO  [o.a.c.s.d.l.CloudStackImageStoreLifeCycleImpl] (catalina-exec-14:ctx-c782a320 ctx-b8ee3e6d) Trying to add a new data store at nfs://10.15.200.15/export/secondary to data center 1
INFO  [c.c.c.ConfigurationManagerImpl] (catalina-exec-2:ctx-08699631 ctx-ce7df1d2) No storage traffic type was specified by admin, create default storage traffic on physical network 200 with same configure of management traffic type
INFO  [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-678bb08f) No running secondary storage vms found in datacenter id=1, starting one
INFO  [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-678bb08f) No stopped secondary storage vm is available, need to allocate a new secondary storage vm
INFO  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-86f1f6c9) No stopped console proxy is available, need to allocate a new console proxy
WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-86f1f6c9) Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-2-VM]Scope=interface com.cloud.dc.DataCenter; id=1

2014-04-07 15:18:47,515 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 1 host id before state transition: null
2014-04-07 15:18:47,529 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Hosts's actual total CPU: 57456 and CPU after applying overprovisioning: 57456
2014-04-07 15:18:47,529 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) We are allocating VM, increasing the used capacity of this host:1
2014-04-07 15:18:47,529 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Current Used CPU: 2500 , Free CPU:54956 ,Requested CPU: 1000
2014-04-07 15:18:47,530 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Current Used RAM: 2818572288 , Free RAM:149442248704 ,Requested RAM: 1073741824
2014-04-07 15:18:47,530 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) CPU STATS after allocation: for host: 1, old used: 2500, old reserved: 0, actual total: 57456, total with overprovisioning: 57456; new used:3500, reserved:0; requested cpu:1000,alloc_from_last:false
2014-04-07 15:18:47,530 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) RAM STATS after allocation: for host: 1, old used: 2818572288, old reserved: 0, total: 152260820992; new used: 3892314112, reserved: 0; requested mem: 1073741824,alloc_from_last:false
2014-04-07 15:18:47,533 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) VM is being created in podId: 1
2014-04-07 15:18:47,543 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Network id=204 is already implemented
2014-04-07 15:18:47,570 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Changing active number of nics for network id=204 on 1
2014-04-07 15:18:47,576 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Asking VirtualRouter to prepare for Nic[12-5-48153f75-135d-4d61-a46a-ddabcf5d42bd-10.15.200.105]
2014-04-07 15:18:47,588 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Lock is acquired for network id 204 as a part of router startup in Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(1)-Storage(Volume(5|ROOT-->Pool(1))]
2014-04-07 15:18:47,591 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Lock is released for network id 204 as a part of router startup in Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(1)-Storage(Volume(5|ROOT-->Pool(1))]
2014-04-07 15:18:47,619 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-9:ctx-b21fb5e3 ctx-e574d838) Applying dhcp entry in network Ntwk[204|Guest|6]

 

~~~~~~~~~~~~

继上次的几个点之后,又有几个点要指:

A,如果用高级模式,公网IP一定要够,要不然,故障百出。

B,如果是基本网络,管理IP及存储IP要够用,要不然,又故障百出。

C,千万注意CS4.3的系统虚拟机的模板版本。大约是4.2版本用2013-06-12左右的。之前的版可以用12-02什么的。但4.3,一定要用64位2014-01-14的。。不然,真的玩死人不偿命哈。。一会了AVOID SET一定资源不足之类的。

 

时间: 2025-01-08 11:22:04

玩死人不偿命的CLOUDSTACK的相关文章

管理员宝典:迷死人不偿命的开源工具

系统管理员是一群很特别的人.与许多IT同行一样,系统管理员必须是样样都能拿得起手.邮件转送.文件共享.网站--.有好多的事情要操心,不过别抓狂.开源工具可以助你我一臂之力. 从系统自动化和监控,到备份和数据中心管理,开源领域不乏为我们简化任务的诸多工具.需要让配置更简单,那样你就能把一些任务交给基层管理员吗?想让更多的常规任务自动化,以便为你节省更多的时间吗?或者是你只想有一种更好的方法,可以查看服务器上或网络上出现的情况? 无论你处于什么样的情况,这些迷死人不偿命的开源管理工具将帮助你更快速.

囧死人不偿命让你吐血不止的六大游戏控制器

本网(编译/苍天小白)万众期待的Kinect终于在上周发售了,在此之前,著名的游戏测评网站IGN就这么说过:"Kinect在休闲玩家和家庭中有小孩的群体里会卖的很好,核心玩家或传统玩家可能就不会买帐了.",现在看来,事实好像的确如此.发售后不到一周的时间,玩家们就发现这货原来不是想象中的那么好.首先就是体力问题了,有一位玩家在用Kinect进行了2小时的游戏后这么说道:"我勒个去,用这玩游戏比和老婆探讨一晚上人生还要累!",因为Kinect的体感辨认是追踪玩家的四肢

雷死人不偿命2010十大最烂游戏封面大盘点

每到年终,我们总要进行各式各样的盘点和总结,而今天这个无疑是小编的最爱:把过去一年内那些最烂最囧最不知所云的游戏封面从阴暗的小角落里找出来,供大家取笑. 从某种程度上说,今年游戏封面的总体质量比去年要好,那些我们看一眼就想破口大骂的烂作品并不多.但是,就像烂片一样,制作粗劣的游戏封面是不可能从我们眼前消失的.下面,我们为您准备了10个今年最烂的游戏封面,请带着嘲弄尽情观赏吧. (另外,我们要说明的是,游戏封面并不能代表游戏品质的好坏.) 1.Sengoku Basara: Samurai Her

雷死人不偿命 史上最强硬盘横评

 对计算机硬件市场有较深了解的玩家不可能没有听说过技嘉i-Ram,它就是以内存来当作为储存媒介的储存装置,支持DDR规格的内存,但就目前看来限制也比较明显,比如最大容量只支持到8GB,DDR内存价格问题等等,但其出发点却是非常独到的,可惜的是技嘉并没有继续推出后续版本的i-Ram,让许多顶级玩家失望不已.但今天我们就会看到其他厂商推出的后进版本,打破旧产品的限制,使用目前性价比极高的DDR2内存来作为储存单元. 另类硬盘革命 大家还记得这个SD卡变SSD硬盘的小东西么 不知熟悉驱动之家评测的玩家

一个山寨快播APP受害者自述:APP Store坑死人不偿命

作为一个深受乔布斯影响的果粉,虽然没有疯狂到卖肾换iPhone5的地步,但也省吃省用凑够钱先后买了一部iPad2和iPhone5.购买iPhone的初衷,看中的其不是能装B的特点,而是iPhone的体验无与伦比的特点. 当iPhone到手之后,第一件事就是安装各种APP--众所周知,APPStore的APP都是经过苹果官方审核的,保证无毒无害不流氓. 于是乎,我从来不会多想APPStore里会有http://www.aliyun.com/zixun/aggregation/35532.html"

【图组】雷死人不偿命:十大女星旗袍装

都说古典.雅致的旗袍最能展现东方女性的美.女星们穿上旗袍后大多变的十分惊艳,旗袍真的很有魔力!不过,再神奇也要会穿才行,看看下面这些美女们,能把旗袍穿得如此雷人也不失为一种强大.张靓颖 张靓颖这个旗袍装,近看太惊悚,太吓人了,简直见鬼!林志玲 林志玲的袜子好销魂啊!大小S 大小S这一搞笑造型,也免不了被雷倒.舒淇 舒淇在拍恐怖片不成?[page]范冰冰这一身红色旗袍,给人诡异的感觉.尚雯婕 尚雯婕据说是模仿张曼玉,奈何太山寨,当然,最雷的是颈背那个夹子.李宇春 春哥(李宇春)穿旗袍,就是一个字:

雷死人不偿命中国电视剧进入“雷剧”时代?

电视荧屏雷剧当道 据权威调查公司统计,2008年风靡荧屏的电视剧<丑女无敌>以平均收视率9.3%的成绩创下湖南卫视四年来的最高收视纪录,这不是偶然,以魔幻为主打招牌的电视剧<魔幻手机>一经登陆央视,立即成为收视冠军.与此同时,"无心埋雷雷成堆"的<李小龙传奇>,收视率居然超过<闯关东>.今夏火爆荧屏的雷剧<仙剑3>在全国七个电视台拿下收视冠军,在湖南卫视刚刚播完的<不良笑花>曾在台湾首播当天收视称冠,纵观网络视频网

雷死人不偿命:苹果官网再现神翻译

正如传闻说的那样,iPhone 6的确变的更大了,一个4.7寸,而另外一个则是5.5寸.对于新一代iPhone屏幕变大这件事,苹果在发布会上给出了这样的口号,那就是Bigger than bigger,而这句话到了国内后,有了神一样的翻译.苹果中国官方给出的宣传口号是比更大还更大,语文老师看到之后估计要哭瞎了.PS:原来苹果中国才是谷歌翻译的坚定拥护者啊....

动视云张鹤翔:云游戏离我们还有多远?

"云计算"的概念近几年渐渐被人熟知,云存储.云办公.云备份,似乎人人生活中都会或多或少的接触到各项"云"产品.然而,"云计算"这个最早被提出的概念却依然高冷无比,而"云游戏"这个脱胎于云计算的新概念,更是让人觉得难以触及. 行到水穷处 坐看云起时 张鹤翔指出,云游戏是一个彻底的云计算方式,由强大的云端.视频流和弱终端三部分组成.游戏本身运行在强大的云端服务器上,服务器下发的是高清视频流,而终端的计算能力接近于0,只需要能够解码