玩过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一定资源不足之类的。

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

  1. 1001. 害死人不偿命的(3n+1)猜想 (15)

    1001. 害死人不偿命的(3n+1)猜想 (15) 较简单,直接代码实现: #include <cstdio> int main() { int n; scanf("%d&qu ...

  2. PAT乙级 1001. 害死人不偿命的(3n+1)猜想 (15)

    1001. 害死人不偿命的(3n+1)猜想 (15) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 卡拉兹(Ca ...

  3. PAT-乙级-1001. 害死人不偿命的(3n+1)猜想 (15)

    1001. 害死人不偿命的(3n+1)猜想 (15) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 卡拉兹(Ca ...

  4. 1001. 害死人不偿命的(3n+1)猜想

    /* * Main.c * 1001. 害死人不偿命的(3n+1)猜想 * Created on: 2014年8月27日 * Author: Boomkeeper *********测试通过***** ...

  5. 9-9害死人不偿命的(3n+1)猜想

    1001. 害死人不偿命的(3n+1)猜想 (15) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 卡拉兹(Ca ...

  6. PAT (Basic Level) Practice (中文)1001 害死人不偿命的(3n+1)猜想

    1001 害死人不偿命的(3n+1)猜想 卡拉兹(Callatz)猜想: 对任何一个正整数 n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把 (3n+1) 砍掉一半.这样一直反复砍下去,最后一 ...

  7. [C++]PAT乙级1001.害死人不偿命的(3n+1)猜想(15/15)

    /* 1001.害死人不偿命的(3n+1)猜想 (15) 卡拉兹(Callatz)猜想: 对任何一个自然数n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把(3n+1)砍掉一半.这样一直反复砍下 ...

  8. PAT 1001 害死人不偿命的(3n+1)猜想 (15)(C++&JAVA&Python)

    1001 害死人不偿命的(3n+1)猜想 (15)(15 分) 卡拉兹(Callatz)猜想: 对任何一个自然数n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把(3n+1)砍掉一半.这样一直反 ...

  9. 【PAT】1001. 害死人不偿命的(3n+1)猜想 (15)

    1001. 害死人不偿命的(3n+1)猜想 (15) 卡拉兹(Callatz)猜想: 对任何一个自然数n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把(3n+1)砍掉一半.这样一直反复砍下去, ...

随机推荐

  1. Node.js连接数据库

    Node.js连接数据库前,须要安装对应的包.假设安装sql server 须要先装包node-sqlserver. 我们以mysql为案例来说明node.js查询mysql数据. 1.安装 node ...

  2. Swift-Dictionary

    1.字典写法 Dictionary<KeyType,ValueType>,KeyType是你想要储存的键,ValueType是你想要储存的值. 唯一的限制就是KeyType必须是可哈希的, ...

  3. [AWS] Install the AWS cli

    On Windows, just download the installer and install it. Configure: aws configure In your aws console ...

  4. Oracle EBS 入门

    Oracle EBS 入门Oracle EBS全称是Oracle 电子商务套件(E-Business Suit),是在原来Application(ERP)基础上的扩展,包含ERP(企业资源计划管理). ...

  5. IO流--转载

    第 1 部分 从输出流中读取 http://www.ibm.com/developerworks/cn/java/j-io1/ 自早期基于浏览器的 applet 和简单应用程序以来,Java 平台已有 ...

  6. 多线程(NSThread、NSOperation、GCD)编程浅谈

    一.基本概念 进程:一个具有一定独立功能的程序关于某个数据集合的一次运行活动.可以理解成一个运行中的应用程序.线程:程序执行流的最小单元,线程是进程中的一个实体.同步:只能在当前线程按先后顺序依次执行 ...

  7. josn 转php

    $data = josn_decode(data,[true]); 加true转化为php数组:不加为对象,使用:$data->'字段'.

  8. Python开发【第七篇】:面向对象 和 python面向对象(初级篇)(上)

    Python 面向对象(初级篇)   51CTO同步发布地址:http://3060674.blog.51cto.com/3050674/1689163 概述 面向过程:根据业务逻辑从上到下写垒代码 ...

  9. dede 标签调用

    调用当前栏目名字 {dede:type}[field:typename /]{/dede:type} 调用某栏目名字 {dede:type typeid='1'}[field:typename /]{ ...

  10. CSS before和after伪元素

    CSS中有一个特性允许我们添加额外元素而不扰乱文档本身,它们是以CSS选择器的形式出现的,具有标签的表现效果,但是呢又不是真正的标签元素,所以叫做“伪元素”.下面就说一下常见的两个伪元素before和 ...