玩死人不偿命的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一定资源不足之类的。
玩死人不偿命的CLOUDSTACK的更多相关文章
- 1001. 害死人不偿命的(3n+1)猜想 (15)
1001. 害死人不偿命的(3n+1)猜想 (15) 较简单,直接代码实现: #include <cstdio> int main() { int n; scanf("%d&qu ...
- PAT乙级 1001. 害死人不偿命的(3n+1)猜想 (15)
1001. 害死人不偿命的(3n+1)猜想 (15) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 卡拉兹(Ca ...
- PAT-乙级-1001. 害死人不偿命的(3n+1)猜想 (15)
1001. 害死人不偿命的(3n+1)猜想 (15) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 卡拉兹(Ca ...
- 1001. 害死人不偿命的(3n+1)猜想
/* * Main.c * 1001. 害死人不偿命的(3n+1)猜想 * Created on: 2014年8月27日 * Author: Boomkeeper *********测试通过***** ...
- 9-9害死人不偿命的(3n+1)猜想
1001. 害死人不偿命的(3n+1)猜想 (15) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 卡拉兹(Ca ...
- PAT (Basic Level) Practice (中文)1001 害死人不偿命的(3n+1)猜想
1001 害死人不偿命的(3n+1)猜想 卡拉兹(Callatz)猜想: 对任何一个正整数 n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把 (3n+1) 砍掉一半.这样一直反复砍下去,最后一 ...
- [C++]PAT乙级1001.害死人不偿命的(3n+1)猜想(15/15)
/* 1001.害死人不偿命的(3n+1)猜想 (15) 卡拉兹(Callatz)猜想: 对任何一个自然数n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把(3n+1)砍掉一半.这样一直反复砍下 ...
- PAT 1001 害死人不偿命的(3n+1)猜想 (15)(C++&JAVA&Python)
1001 害死人不偿命的(3n+1)猜想 (15)(15 分) 卡拉兹(Callatz)猜想: 对任何一个自然数n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把(3n+1)砍掉一半.这样一直反 ...
- 【PAT】1001. 害死人不偿命的(3n+1)猜想 (15)
1001. 害死人不偿命的(3n+1)猜想 (15) 卡拉兹(Callatz)猜想: 对任何一个自然数n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把(3n+1)砍掉一半.这样一直反复砍下去, ...
随机推荐
- linux下ssh免密登陆
如果 有A.B两台主机: 要实现的效果: A主机ssh登录B主机无需输入password: 加密方式选 rsa|dsa均能够.默认rsa 做法: 1.登录A主机 2.ssh-keygen -t [rs ...
- 由阿里巴巴一道笔试题看Java静态代码块、静态函数、动态代码块、构造函数等的执行顺序
一.阿里巴巴笔试题: public class Test { public static int k = 0; public static Test t1 = new Test("t1&qu ...
- springMVC3学习(二)--ModelAndView对象
当控制器处理完请求时,一般会将包括视图名称或视图对象以及一些模型属性的ModelAndView对象返回到DispatcherServlet. 因此,常常须要在控制器中构造ModelAndView对象. ...
- Java基础知识强化之IO流笔记11:递归之递归概述和注意事项
1. 递归: 方法定义中调用方法本身的现象. e.g: public void show(int n ) { if(n <= 0) { System.exit(0); } System.out. ...
- jquery获取元素到屏幕底的可视距离
jquery获取元素到屏幕底的可视距离 要打对号的图里的height(我自称为可视高度:滚动条未滑到最底端) 不是打叉图里的到页面底部(滚动条到最底部时的height)(offset().top方法 ...
- myeclipse跟eclipse中使用github做版本控制工具
今天早上花了一上午的时间,了解了在myeclipse跟eclipse中使用github. 好吧 说说怎么做的,让大伙少走一点路,我就简单描述下,需要软件的私信我 第一:下载git 第二:靠谱.但是pu ...
- ASP.NET 日志
ASP.NET5已经内建集成了日志系统,你也可以用第三方的日志框架. 1. 在你的应用程序中实现日志 在Startup.cs文件中,在Configure里可以把ILoggerFactory注入进去,然 ...
- (转)一步一步学习PHP(3)——函数
相信每个人在学习PHP之前至少都有着一定的C语言,或者是C++/Java/C#等其他语言的基础,所以在这里也不从头开始说起,只是来谈谈PHP方法的独特之处. 1. 方法概述 首先,写一个最简单的函数, ...
- JetBrains公司的IDE使用技巧
1.自定义Live Templates: 点击+添加自己的.最后记住要点击,change或default来设置在哪些文件上使用代码片段.
- mktime性能问题
#include <time.h> int main() { for (int i = 0; i < 100000; ++i) { struct tm tm = {}; tm.tm_ ...