Re: 创建vm实例失败

2014-03-26 文章 曾冠华
hypervisor 类型 kvm

一个management ,一个 host(kvm)

现在查看agent 日志提示

2014-03-26 10:29:04,244 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
Set agent id 1
2014-03-26 10:29:04,253 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
Startup Response Received: agent id = 1
2014-03-26 10:31:42,742 WARN  [kvm.resource.LibvirtComputingResource]
(agentRequest-Handler-5:null) Exception
com.cloud.exception.InternalErrorException: Failed to create vnet 105: Set
name-type for VLAN subsystem. Should be visible in
/proc/net/vlan/configERROR: trying to add VLAN #0 to IF -:105:-  error: No
such deviceFailed to create vlan 105 on pif: .
at
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.createVnet(BridgeVifDriver.java:144)
at
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.createVlanBr(BridgeVifDriver.java:131)
at
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.plug(BridgeVifDriver.java:92)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVif(LibvirtComputingResource.java:3093)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVifs(LibvirtComputingResource.java:2864)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2888)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1061)
at com.cloud.agent.Agent.processRequest(Agent.java:518)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
at com.cloud.utils.nio.Task.run(Task.java:83)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-03-26 10:31:42,748 WARN  [cloud.agent.Agent]
(agentRequest-Handler-5:null) Caught:
java.lang.NullPointerException
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupVMNetworks(LibvirtComputingResource.java:4000)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.handleVmStartFailure(LibvirtComputingResource.java:2787)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2912)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1061)
at com.cloud.agent.Agent.processRequest(Agent.java:518)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
at com.cloud.utils.nio.Task.run(Task.java:83)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

分配vlan失败。。


2014-03-26 13:14 GMT+08:00 linux...@gmail.com linux...@gmail.com:

 麻烦介绍下你的系统的基本情况,使用的hypervier的类型

 2014-03-25 21:55 GMT+08:00 曾冠华 ahuab...@gmail.com:
  发现虚拟路由器也是stopped状态
 
  启动虚拟路由器失败
  提示:
  Unable to get answer that is of class com.cloud.agent.api.StartAnswer
 
  log:
  2014-03-25 21:51:34,704 DEBUG [agent.manager.AgentAttache]
  (AgentManager-Handler-6:null) Seq 1-271384696: No more commands found
  2014-03-25 21:51:34,704 DEBUG [agent.transport.Request]
  (Job-Executor-7:job-18) Seq 1-271384696: Received:  { Ans: , MgmtId:
  159090356754390, via: 1, Ver: v1, Flags: 110, { Answer, Answer, Answer,
  Answer, Answer } }
  2014-03-25 21:51:34,729 ERROR [cloud.vm.VirtualMachineManagerImpl]
  (Job-Executor-7:job-18) Failed to start instance VM[DomainRouter|r-4-VM]
  com.cloud.utils.exception.CloudRuntimeException: Unable to get answer
 that
  is of class com.cloud.agent.api.StartAnswer
  at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80)
  at
 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:783)
  at
 
 com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
  at
 
 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2368)
  at
 
 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1613)
  at
 
 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1713)
  at
 
 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1691)
  at
 
 com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:172)
  at
 
 com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2033)
  at
 
 com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1965)
  at
  com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
  at
 
 com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:3851)
  at
 
 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2602)
  at
 
 

Re: 创建vm实例失败

2014-03-26 文章 tanthalas
Unable to get answer that is of class com.cloud.agent.api.StartAnswer
从这句话来看,是跟host主机的连接失败了,无法创建。先看一下主机的连接状态

刘宇超



发件人: 曾冠华 
发送时间: 2014-03-25  21:56:03 
收件人: users-cn 
抄送: 
主题: 创建vm实例失败 
 
发现虚拟路由器也是stopped状态
启动虚拟路由器失败
提示:
Unable to get answer that is of class com.cloud.agent.api.StartAnswer
log:
2014-03-25 21:51:34,704 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-6:null) Seq 1-271384696: No more commands found
2014-03-25 21:51:34,704 DEBUG [agent.transport.Request]
(Job-Executor-7:job-18) Seq 1-271384696: Received:  { Ans: , MgmtId:
159090356754390, via: 1, Ver: v1, Flags: 110, { Answer, Answer, Answer,
Answer, Answer } }
2014-03-25 21:51:34,729 ERROR [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-7:job-18) Failed to start instance VM[DomainRouter|r-4-VM]
com.cloud.utils.exception.CloudRuntimeException: Unable to get answer that
is of class com.cloud.agent.api.StartAnswer
at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80)
at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:783)
at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2368)
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1613)
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1713)
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1691)
at
com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:172)
at
com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2033)
at
com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1965)
at
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
at
com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:3851)
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2602)
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2571)
at
com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
at
com.cloud.api.commands.StartRouterCmd.execute(StartRouterCmd.java:105)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
2014-03-25 21:51:34,757 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-7:job-18) Cleaning up resources for the vm
VM[DomainRouter|r-4-VM] in Starting state
2014-03-25 21:51:34,759 DEBUG [agent.transport.Request]
(Job-Executor-7:job-18) Seq 1-271384697: Sending  { Cmd , MgmtId:
159090356754390, via: 1, Ver: v1, Flags: 100111,
[{StopCommand:{isProxy:false,vmName:r-4-VM,wait:0}}] }
2014-03-25 21:51:34,985 DEBUG [agent.transport.Request]
(AgentManager-Handler-1:null) Seq 1-271384697: Processing:  { Ans: ,
MgmtId: 159090356754390, via: 1, Ver: v1, Flags: 110,
[{StopAnswer:{vncPort:0,result:true,wait:0}}] }
2014-03-25 21:51:34,985 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-1:null) Seq 1-271384697: No more commands found
2014-03-25 21:51:34,985 DEBUG [agent.transport.Request]
(Job-Executor-7:job-18) Seq 1-271384697: Received:  { Ans: , MgmtId:
159090356754390, via: 1, Ver: v1, Flags: 110, { StopAnswer } }
2014-03-25 21:51:34,992 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-7:job-18)
Successfully updated user statistics as a part of domR
VM[DomainRouter|r-4-VM] reboot/stop
2014-03-25 21:51:35,033 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-7:job-18) Service SecurityGroup is not supported in the
network id=204
2014-03-25 21:51:35,072 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-7:job-18) Asking JuniperSRX to release
Nic[9-4-ca4a2115-8b71-4a90-8a4f-3ec0007985c6-192.168.88.254]
2014-03-25 21:51:35,072 DEBUG [cloud.network.NetworkManagerImpl] (Job-


Re: Re: Re: [求助] v4.2.1 启动报错

2014-03-26 文章 tanthalas
实际上你的问题是你的系统虚拟机起不来,所以还是只能回到最早你给的log来看。从这段可以看出来,创建不了系统虚拟机是因为没找到合适的存储,你要先看看nfs配置是否正确。
2014-03-22 22:47:28,915 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl](consoleproxy-1:null) We need to 
allocate new storagepool for this volume
2014-03-22 22:47:28,915 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl](consoleproxy-1:null) Calling 
StoragePoolAllocators to find suitable pools
2014-03-22 22:47:28,915 DEBUG 
[storage.allocator.LocalStoragePoolAllocator](consoleproxy-1:null) 
LocalStoragePoolAllocator trying to find storage pool to fit the vm
2014-03-22 22:47:28,917 DEBUG 
[storage.allocator.LocalStoragePoolAllocator](consoleproxy-1:null) 
LocalStoragePoolAllocator returning 0 suitable storage pools
2014-03-22 22:47:28,917 DEBUG 
[storage.allocator.ClusterScopeStoragePoolAllocator] 
(consoleproxy-1:null)ClusterScopeStoragePoolAllocator looking for storage pool
2014-03-22 22:47:28,917 DEBUG [storage.allocator.ZoneWideStoragePoolAllocator] 
(consoleproxy-1:null)ZoneWideStoragePoolAllocator to find storage pool
2014-03-22 22:47:28,917 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(consoleproxy-1:null) No suitable pools found for volume: Vol[1|vm=1|ROOT]under 
cluster: 1


刘宇超



发件人: ganglin_lan 
发送时间: 2014-03-23  13:45:19 
收件人: 风南; users-cn 
抄送: 
主题: Re: Re: [求助] v4.2.1 启动报错 
 
其实没你想的那么难,可能一个人装有的时候会陷进去,等发现问题后感叹原来是这么简单的问题难倒了你这么久,我觉得你再从安装步骤上检查一下,有没有遗漏或不正确的配置。进入ssvm嘛,xencenter连到xenserver上查看




ganglin_lan

发件人: 风南
发送时间: 2014-03-23 11:24
收件人: ganglin_lan
主题: Re: Re: [求助] v4.2.1 启动报错
唉,不行!还是老样子。 
装个cs这么难!两周了都还没搞定 :( 
你知道怎么进入ssvm吗?



2014-03-22 23:56 GMT+08:00 ganglin_lan ganglin_...@tcloudcomputing.com:

跟二级存储应该没关系,我的测试环境也就100G,恭候佳音




ganglin_lan

发件人: 风南
发送时间: 2014-03-22 23:53
收件人: ganglin_lan
主题: Re: Re: [求助] v4.2.1 启动报错


确实重装过,不过db我都drop了,也重新初始化了。我按照你说的再做一次。 
刚才我又看了一下官方,怀疑可能是我的二级存储空间太小了,我的才80G,文档中说最小250G,明天我再添加一块500G的硬盘试试。
多谢你的回复,有结果我会告诉各位。



2014-03-22 23:29 GMT+08:00 ganglin_lan ganglin_...@tcloudcomputing.com:

根据你提供的日志信息,你的DB里面已经存在了host = 192.168.11.61 的management 
server配置,你是不是重装cloudstack没有初始化DB呢,如果是新装环境,建议你做以下步奏:
1、停止cloudstack-management 服务
2、初始化mysql数据库,使用 cloudstack-setup-databases   cloud:set cloud user 
passwd@localhost --deploy-as=root:mysql root user password
3、 cloudstack-setup-management
然后再配置试试




ganglin_lan

发件人: 风南
发送时间: 2014-03-22 23:17
收件人: ganglin_lan
主题: Re: Re: [求助] v4.2.1 启动报错
iptables关了貌似还是一样的问题,截了一段异常日志: 


2014-03-23 07:14:52,069 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Looking for hosts in dc: 1  pod:1  
cluster:1
2014-03-23 07:14:52,071 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to check 
for allocation: [Host[-1-Routing]]
2014-03-23 07:14:52,073 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Found 1 hosts for allocation after 
prioritization: [Host[-1-Routing]]
2014-03-23 07:14:52,073 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=256
2014-03-23 07:14:52,076 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:FirstFitRoutingAllocator) Checking if host: 1 has enough capacity 
for requested CPU: 500 and requested RAM: 268435456 , 
cpuOverprovisioningFactor: 1.0
2014-03-23 07:14:52,078 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:FirstFitRoutingAllocator) Hosts's actual total CPU: 27744 and CPU 
after applying overprovisioning: 27744
2014-03-23 07:14:52,078 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:FirstFitRoutingAllocator) Free CPU: 27744 , Requested CPU: 500
2014-03-23 07:14:52,078 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:FirstFitRoutingAllocator) Free RAM: 3773286656 , Requested RAM: 
268435456
2014-03-23 07:14:52,078 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:FirstFitRoutingAllocator) Host has enough CPU and RAM available
2014-03-23 07:14:52,078 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, 
used: 0, reserved: 0, actual total: 27744, total with overprovisioning: 27744; 
requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
2014-03-23 07:14:52,078 DEBUG [cloud.capacity.CapacityManagerImpl] 
(secstorage-1:FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, 
used: 0, reserved: 0, total: 3773286656; requested mem: 
268435456,alloc_from_last_host?:false ,considerReservedCapacity?: true
2014-03-23 07:14:52,078 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
2014-03-23 07:14:52,078 DEBUG [allocator.impl.FirstFitAllocator] 
(secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 1 suitable 
hosts
2014-03-23 07:14:52,079 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(secstorage-1:null) Checking suitable pools for volume (Id, Type): (296,ROOT)
2014-03-23 07:14:52,079 DEBUG 

CS 4.3发布了,准备试用吗?

2014-03-26 文章 Liu Fred
有多少人准备试用这个版本的?生产还是测试?




[问题] CloudStack Email Alert 如何配置

2014-03-26 文章 zcsu
已经在Global Settings 中设置了相关的参数,其中,
 
alert.smtp.hostsmtp.163.com
alert.email.sender  **@163.com
alert.smtp.port  465/994
alert.smtp.useAuth   true
alert.smtp.username  **
alert.smtp.password   
 
都已经配置。
 
制造了Alert 事件,但是Alert Email 发送失败,日志显示连接smtp.163.com 失败
 
请问,配置EMail Alert 的时候正确方法是什么,163邮箱可用么?
 
谢谢!
  

RE: 虚拟机CPU主频是否可以高于物理机CPU主频

2014-03-26 文章 zcsu
在我了解得情况下,不能高于物理机的主频
 
 Date: Wed, 26 Mar 2014 17:13:25 +0800
 From: cui6522...@gmail.com
 To: users-cn@cloudstack.apache.org
 Subject: 虚拟机CPU主频是否可以高于物理机CPU主频
 
 
 
 
 
 
 
 请教创建虚拟机时的报错信息:看样子是资源不足,但我只创建了1个核心 3GHz的CPU ?为什么会提示这样的错误呢?
 另外想咨询一下:物理主机CPU的主频是2.2GHz ? 我虚拟机分配的时候计算方案可以高于这个主频么?我现在分配的就是3GHz 
 ?就报错了,不知道是否会是这样的问题?
 
 具体报错信息如下:
 2014-03-26 17:01:31,812 DEBUG [cloud.deploy.FirstFitPlanner] 
 (Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) No 
 clusters found after removing disabled clusters and clusters in avoid list, 
 returning.
 
 2014-03-26 17:01:31,816 DEBUG [cloud.vm.UserVmManagerImpl] 
 (Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) 
 Destroying vm VM[User|test1] as it failed to create on Host with Id:null
 
 2014-03-26 17:01:31,831 DEBUG [cloud.capacity.CapacityManagerImpl] 
 (Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) 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
 
 2014-03-26 17:01:31,837 WARN  [apache.cloudstack.alerts] 
 (Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ])  
 alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null // 
 message:: Failed to deploy Vm with Id: 69, on Host with Id: null
 
 2014-03-26 17:01:31,859 INFO  [user.vm.DeployVMCmd] (Job-Executor-80:job-360 
 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) 
 com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
 deployment for VM[User|test1]Scope=interface com.cloud.dc.DataCenter; id=1
 
 2014-03-26 17:01:31,860 INFO  [user.vm.DeployVMCmd] (Job-Executor-80:job-360 
 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) Unable to create a deployment for 
 VM[User|test1]
 
 com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
 deployment for VM[User|test1]Scope=interface com.cloud.dc.DataCenter; id=1
 
 at 
 org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:209)
 
 at 
 org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:198)
 
 at 
 com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3405)
 
 at 
 com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2966)
 
 at 
 com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2952)
 
 at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 
 at 
 org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
 
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 
 at java.lang.Thread.run(Thread.java:662)
 
 2014-03-26 17:01:31,862 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) Complete 
 async job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ], jobStatus: 2, 
 resultCode: 530, result: Error Code: 533 Error text: Unable to create a 
 deployment for VM[User|test1]
 
 2014-03-26 17:01:31,983 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentManager-Handler-1:null) SeqA 2-956037: Processing Seq 2-956037:  { Cmd 
 , MgmtId: -1, via: 2, Ver: v1, Flags: 11, 
 [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n
   \connections\: []\n},wait:0}}] }
 
 2014-03-26 17:01:31,986 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentManager-Handler-1:null) SeqA 2-956037: Sending Seq 2-956037:  { Ans: , 
 MgmtId: 264018885718825, via: 2, Ver: v1, Flags: 100010, 
 [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
 
 2014-03-26 17:01:34,753 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===START===  114.251.179.130 -- GET  
 command=queryAsyncJobResultjobId=edd0f640-dc28-43cc-b02e-e4fc9a82aa44response=jsonsessionkey=W65MyiX8ZhTqdWc8zX6rxzd8c28%3D_=1395824467039
 
 2014-03-26 17:01:34,768 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (catalina-exec-22:null) Async job-360 = [ 
 edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ] completed
 
 2014-03-26 17:01:34,774 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===END===  114.251.179.130 -- GET  
 

Re: 服务启动不成功

2014-03-26 文章 风南
系统里是不是有keytool这个命令没有安装吧?你装一下试试。


2014-03-26 17:14 GMT+08:00 史丽丽 shi...@neusoft.com:

 您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel

 cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management

 参看日志为:/var/log/cloudstack/management/catalina.out
 cs启动报错如下:服务启动不成功,望您给予解答,谢谢。



 maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds =
 600 timeToIdleSeconds = 300 diskPersistent = false
 diskExpiryThreadIntervalSeconds = 120 cacheEventListeners:  hitCount = 0
 memoryStoreHitCount = 0 diskStoreHitCount = 0 missCountNotFound = 0
 missCountExpired = 0 ]
 INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
 com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
 INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
 com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing
 updateSSLKeyStore
 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore
 located at /etc/cloudstack/management/cloud.keystore
 WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use
 fail-safe keystore to continue.
 java.io.IOException: Fail to generate certificate!: sudo: keytool: command
 not found
 at
 com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
 at
 com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
 at
 com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
 at
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at
 com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
 at
 com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
 at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)
 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing
 updateKeyPairs
 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already
 in database, updating local copy
 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update
 systemvm iso with generated keypairs if needed
 2014-3-26 13:57:40 org.springframework.web.context.ContextLoader
 initWebApplicationContext
 信息: Root WebApplicationContext: initialization completed in 3871 ms
 2014-3-26 13:57:40
 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
 init
 信息: JSR-330 'javax.inject.Inject' annotation found and supported for
 autowiring
 INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
 com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
 INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
 com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
 INFO  [utils.component.ComponentContext] (Timer-2:) Configuring
 com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
 INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring
 cluster manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
 INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP :
 192.168.131.141
 INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for
 86530476470110
 INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for
 86530476470110
 INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster
 listener class com.cloud.cluster.LockMasterListener
 INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to
 192.168.131.141
 ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping
 management server at 192.168.131.141:9090 due to ConnectException
 java.net.ConnectException: Connection refused
 at sun.nio.ch.Net.connect(Native Method)
 at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
 at
 com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
 at
 com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
 at
 com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
 at
 com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
 at
 com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
 at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)
 INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another
 management node with the same IP 192.168.131.141 is considered as running
 in DB, however it is not pingable, we will continue cluster initialization
 with this management server node
 INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster 

回复: 服务启动不成功

2014-03-26 文章 ganglin_lan
先把这个问题解决了吧
2:) Detected that another management node with the same IP 192.168.131.141 is 
considered as running in DB, however it is not pingable, we will continue 
cluster initialization with this management server node






ganglin_lan

发件人: 史丽丽
发送时间: 2014-03-26 17:14
收件人: users-cn@cloudstack.apache.org
主题: 服务启动不成功
您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel

cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management

参看日志为:/var/log/cloudstack/management/catalina.out 
cs启动报错如下:服务启动不成功,望您给予解答,谢谢。



maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 600 
timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds 
= 120 cacheEventListeners:  hitCount = 0 memoryStoreHitCount = 0 
diskStoreHitCount = 0 missCountNotFound = 0 missCountExpired = 0 ]
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing 
updateSSLKeyStore
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore located at 
/etc/cloudstack/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use fail-safe 
keystore to continue.
java.io.IOException: Fail to generate certificate!: sudo: keytool: command not 
found
at 
com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
at 
com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
at 
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing 
updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already in 
database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update 
systemvm iso with generated keypairs if needed
2014-3-26 13:57:40 org.springframework.web.context.ContextLoader 
initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 3871 ms
2014-3-26 13:57:40 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
 init
信息: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring cluster 
manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP : 
192.168.131.141
INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for 86530476470110
INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for 86530476470110
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener 
class com.cloud.cluster.LockMasterListener
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 
192.168.131.141
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management 
server at 192.168.131.141:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at 
com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at 
com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at 
com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another 
management node with the same IP 192.168.131.141 is considered as 

Re: 服务启动不成功

2014-03-26 文章 tanthalas
再看一下那个目录下的management-server.log,建议分析log应该看此文件。
可以尝试关闭防火墙


刘宇超



发件人: 史丽丽 
发送时间: 2014-03-26  17:15:53 
收件人: users-cn@cloudstack.apache.org 
抄送: 
主题: 服务启动不成功 
您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel
cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management
参看日志为:/var/log/cloudstack/management/catalina.out 
cs启动报错如下:服务启动不成功,望您给予解答,谢谢。
maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 600 
timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds 
= 120 cacheEventListeners:  hitCount = 0 memoryStoreHitCount = 0 
diskStoreHitCount = 0 missCountNotFound = 0 missCountExpired = 0 ]
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing 
updateSSLKeyStore
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore located at 
/etc/cloudstack/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use fail-safe 
keystore to continue.
java.io.IOException: Fail to generate certificate!: sudo: keytool: command not 
found
at 
com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
at 
com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
at 
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing 
updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already in 
database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update 
systemvm iso with generated keypairs if needed
2014-3-26 13:57:40 org.springframework.web.context.ContextLoader 
initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 3871 ms
2014-3-26 13:57:40 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
 init
信息: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring cluster 
manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP : 
192.168.131.141
INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for 86530476470110
INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for 86530476470110
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener 
class com.cloud.cluster.LockMasterListener
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 
192.168.131.141
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management 
server at 192.168.131.141:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at 
com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at 
com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at 
com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another 
management node with the same IP 192.168.131.141 is considered as running in 
DB, however it is not pingable, we will continue cluster initialization with 
this management server node
INFO  [cloud.cluster.ClusterManagerImpl] 

Re: [问题] CloudStack Email Alert 如何配置

2014-03-26 文章 linux...@gmail.com
如果你配置的端口是465 就需要使用ssl
这个需要找网易的邮箱配置

在 2014年3月26日 下午5:19,zcsu szc...@hotmail.com 写道:
 已经在Global Settings 中设置了相关的参数,其中,

 alert.smtp.hostsmtp.163.com
 alert.email.sender  **@163.com
 alert.smtp.port  465/994
 alert.smtp.useAuth   true
 alert.smtp.username  **
 alert.smtp.password   

 都已经配置。

 制造了Alert 事件,但是Alert Email 发送失败,日志显示连接smtp.163.com 失败

 请问,配置EMail Alert 的时候正确方法是什么,163邮箱可用么?

 谢谢!




-- 
白清杰 (Born Bai)

北京开源愿景信息技术有限公司

Mail: linux...@gmail.com


回复: 回复: 虚拟机CPU主频是否可以高于物理机CPU主频

2014-03-26 文章 cui6522123






刘宇超
这个是之前的日志,请帮忙分析分析,谢谢!
2014-03-26 17:01:29,943 DEBUG [agent.manager.AgentManagerImpl] 
(AgentManager-Handler-4:null) Ping from 2

2014-03-26 17:01:31,503 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===START===  114.251.179.130 -- GET  
command=deployVirtualMachinezoneId=4f8a1206-3712-4ad6-832e-f9bf430da511templateId=0da260bc-620f-4ef0-abf7-e167dd217473hypervisor=XenServerserviceOfferingId=433d7c4f-e6a0-404c-8933-b8f51bd9016enetworkIds=0ef19e50-eef6-448c-af16-626e69b4fd58displayname=test1name=test1response=jsonsessionkey=W65MyiX8ZhTqdWc8zX6rxzd8c28%3D_=1395824463805

2014-03-26 17:01:31,513 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
InfrastructureEntity name is:com.cloud.offering.ServiceOffering

2014-03-26 17:01:31,519 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
ControlledEntity name is:com.cloud.template.VirtualMachineTemplate

2014-03-26 17:01:31,523 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
ControlledEntity name is:com.cloud.network.Network

2014-03-26 17:01:31,542 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204

2014-03-26 17:01:31,556 DEBUG [cloud.vm.UserVmManagerImpl] 
(catalina-exec-10:null) Allocating in the DB for vm

2014-03-26 17:01:31,572 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating entries for VM: VM[User|test1]

2014-03-26 17:01:31,574 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating nics for VM[User|test1]

2014-03-26 17:01:31,576 DEBUG [cloud.network.NetworkManagerImpl] 
(catalina-exec-10:null) Allocating nic for vm VM[User|test1] in network 
Ntwk[204|Guest|15] with requested profile NicProfile[0-0-null-null-null

2014-03-26 17:01:31,601 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204

2014-03-26 17:01:31,603 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating disks for VM[User|test1]

2014-03-26 17:01:31,621 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocation completed for VM: VM[User|test1]

2014-03-26 17:01:31,621 DEBUG [cloud.vm.UserVmManagerImpl] 
(catalina-exec-10:null) Successfully allocated DB entry for VM[User|test1]

2014-03-26 17:01:31,656 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204

2014-03-26 17:01:31,662 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204

2014-03-26 17:01:31,676 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-10:null) submit async job-360 = [ 
edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ], details: AsyncJobVO {id:360, userId: 2, 
accountId: 2, sessionKey: null, instanceType: VirtualMachine, instanceId: 69, 
cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: 
null, cmdInfo: 
{sessionkey:W65MyiX8ZhTqdWc8zX6rxzd8c28\u003d,cmdEventType:VM.CREATE,ctxUserId:2,serviceOfferingId:433d7c4f-e6a0-404c-8933-b8f51bd9016e,httpmethod:GET,zoneId:4f8a1206-3712-4ad6-832e-f9bf430da511,templateId:0da260bc-620f-4ef0-abf7-e167dd217473,response:json,id:69,networkIds:0ef19e50-eef6-448c-af16-626e69b4fd58,hypervisor:XenServer,name:test1,_:1395824463805,ctxAccountId:2,ctxStartEventId:1352,displayname:test1},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 264018885718825, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}

2014-03-26 17:01:31,678 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) Executing 
org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-360 = [ 
edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]

2014-03-26 17:01:31,679 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===END===  114.251.179.130 -- GET  
command=deployVirtualMachinezoneId=4f8a1206-3712-4ad6-832e-f9bf430da511templateId=0da260bc-620f-4ef0-abf7-e167dd217473hypervisor=XenServerserviceOfferingId=433d7c4f-e6a0-404c-8933-b8f51bd9016enetworkIds=0ef19e50-eef6-448c-af16-626e69b4fd58displayname=test1name=test1response=jsonsessionkey=W65MyiX8ZhTqdWc8zX6rxzd8c28%3D_=1395824463805

2014-03-26 17:01:31,686 DEBUG [cloud.api.ApiDispatcher] 
(Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) 
InfrastructureEntity name is:com.cloud.offering.ServiceOffering

2014-03-26 17:01:31,689 DEBUG [cloud.api.ApiDispatcher] 
(Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) 
ControlledEntity name is:com.cloud.template.VirtualMachineTemplate

2014-03-26 17:01:31,693 DEBUG [cloud.api.ApiDispatcher] 
(Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) 
ControlledEntity name is:com.cloud.network.Network

2014-03-26 17:01:31,722 DEBUG [cloud.network.NetworkModelImpl] 
(Job-Executor-80:job-360 = [ 

Re: [问题] CloudStack Email Alert 如何配置

2014-03-26 文章 linux...@gmail.com
刚才查了下,网易的邮件配置有很多种说法

http://www.groovyq.net/node/729



在 2014年3月26日 下午6:08,zcsu szc...@hotmail.com 写道:
 alert.email.sender 也是要指定到邮件服务器的地址阿。
 日志很简单,在这方面,只是返回一个不能连接。

 如果我用企业邮箱的话,会报

 Failed to send email alert com.sun.mail.smtp.SMTPSendFailedException: 530 
 5.7.3 Client was not authenticated

 From: linux...@gmail.com
 Date: Wed, 26 Mar 2014 17:54:33 +0800
 Subject: Re: [问题] CloudStack Email Alert 如何配置
 To: users-cn@cloudstack.apache.org

 alert.smtp.hostsmtp.163.com
 alert.email.sender  smtp.163.com
 alert.smtp.port  25
 alert.smtp.useAuth   true
 alert.smtp.username  **@163.com
 alert.smtp.password   


 你测试下试试

 建议你看下日志。我对163的邮件配置不熟悉

 在 2014年3月26日 下午5:45,zcsu szc...@hotmail.com 写道:
  能给举个例子么?谢谢
 
  From: linux...@gmail.com
  Date: Wed, 26 Mar 2014 17:36:41 +0800
  Subject: Re: [问题] CloudStack Email Alert 如何配置
  To: users-cn@cloudstack.apache.org
 
  如果你配置的端口是465 就需要使用ssl
  这个需要找网易的邮箱配置
 
  在 2014年3月26日 下午5:19,zcsu szc...@hotmail.com 写道:
   已经在Global Settings 中设置了相关的参数,其中,
  
   alert.smtp.hostsmtp.163.com
   alert.email.sender  **@163.com
   alert.smtp.port  465/994
   alert.smtp.useAuth   true
   alert.smtp.username  **
   alert.smtp.password   
  
   都已经配置。
  
   制造了Alert 事件,但是Alert Email 发送失败,日志显示连接smtp.163.com 失败
  
   请问,配置EMail Alert 的时候正确方法是什么,163邮箱可用么?
  
   谢谢!
  
 
 
 
  --
  白清杰 (Born Bai)
 
  北京开源愿景信息技术有限公司
 
  Mail: linux...@gmail.com
 



 --
 白清杰 (Born Bai)

 北京开源愿景信息技术有限公司

 Mail: linux...@gmail.com




-- 
白清杰 (Born Bai)

北京开源愿景信息技术有限公司

Mail: linux...@gmail.com


Re: 回复: 回复: 虚拟机CPU主频是否可以高于物理机CPU主频

2014-03-26 文章 tanthalas
Failed to alloc resource from host: 4 reservedCpu: 0, used cpu: 52000, 
requested cpu: 3000, actual total cpu: 52800, total cpu with overprovisioning: 
52800, reservedMem: 0, used Mem: 121634816000, requested mem: 4194304000, total 
Mem:198546817024 ,considerReservedCapacity?: true
Host does not have enough CPU available, cannot allocate to this host.
日志里写的是,你的主机共有52800Hz,但已经用了52000,所以申请3000是分配不了的。

刘宇超


发件人: cui6522123 
发送时间: 2014-03-26  18:05:45 
收件人: cloud 
抄送: 
主题: 回复: 回复: 虚拟机CPU主频是否可以高于物理机CPU主频 
 
另外请教一下   在创建计算方案的时候  这三个作用是什么?  我可以让我的CPU仍然具有超线程技术么?










cui6522123

发件人: cui6522123
发送时间: 2014-03-26 18:03
收件人: cloud
主题: 回复: 回复: 虚拟机CPU主频是否可以高于物理机CPU主频
刘宇超


这个是之前的日志,请帮忙分析分析,谢谢!


2014-03-26 17:01:29,943 DEBUG [agent.manager.AgentManagerImpl] 
(AgentManager-Handler-4:null) Ping from 2 
2014-03-26 17:01:31,503 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===START=== 114.251.179.130 -- GET 
command=deployVirtualMachinezoneId=4f8a1206-3712-4ad6-832e-f9bf430da511templateId=0da260bc-620f-4ef0-abf7-e167dd217473hypervisor=XenServerserviceOfferingId=433d7c4f-e6a0-404c-8933-b8f51bd9016enetworkIds=0ef19e50-eef6-448c-af16-626e69b4fd58displayname=test1name=test1response=jsonsessionkey=W65MyiX8ZhTqdWc8zX6rxzd8c28%3D_=1395824463805
 
2014-03-26 17:01:31,513 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
InfrastructureEntity name is:com.cloud.offering.ServiceOffering 
2014-03-26 17:01:31,519 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
ControlledEntity name is:com.cloud.template.VirtualMachineTemplate 
2014-03-26 17:01:31,523 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
ControlledEntity name is:com.cloud.network.Network 
2014-03-26 17:01:31,542 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,556 DEBUG [cloud.vm.UserVmManagerImpl] 
(catalina-exec-10:null) Allocating in the DB for vm 
2014-03-26 17:01:31,572 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating entries for VM: VM[User|test1] 
2014-03-26 17:01:31,574 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating nics for VM[User|test1] 
2014-03-26 17:01:31,576 DEBUG [cloud.network.NetworkManagerImpl] 
(catalina-exec-10:null) Allocating nic for vm VM[User|test1] in network 
Ntwk[204|Guest|15] with requested profile NicProfile[0-0-null-null-null 
2014-03-26 17:01:31,601 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,603 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating disks for VM[User|test1] 
2014-03-26 17:01:31,621 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocation completed for VM: VM[User|test1] 
2014-03-26 17:01:31,621 DEBUG [cloud.vm.UserVmManagerImpl] 
(catalina-exec-10:null) Successfully allocated DB entry for VM[User|test1] 
2014-03-26 17:01:31,656 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,662 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,676 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-10:null) submit async job-360 = [ 
edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ], details: AsyncJobVO {id:360, userId: 2, 
accountId: 2, sessionKey: null, instanceType: VirtualMachine, instanceId: 69, 
cmd: org..apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: 
null, cmdInfo: 
{sessionkey:W65MyiX8ZhTqdWc8zX6rxzd8c28\u003d,cmdEventType:VM.CREATE,ctxUserId:2,serviceOfferingId:433d7c4f-e6a0-404c-8933-b8f51bd9016e,httpmethod:GET,zoneId:4f8a1206-3712-4ad6-832e-f9bf430da511,templateId:0da260bc-620f-4ef0-abf7-e167dd217473,response:json,id:69,networkIds:0ef19e50-eef6-448c-af16-626e69b4fd58,hypervisor:XenServer,name:test1,_:1395824463805,ctxAccountId:2,ctxStartEventId:1352,displayname:test1},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 264018885718825, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 
2014-03-26 17:01:31,678 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) Executing 
org.apache.cloudstack.api.command.user..vm.DeployVMCmd for job-360 = [ 
edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ] 
2014-03-26 17:01:31,679 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===END=== 114.251.179.130 -- GET 
command=deployVirtualMachinezoneId=4f8a1206-3712-4ad6-832e-f9bf430da511templateId=0da260bc-620f-4ef0-abf7-e167dd217473hypervisor=XenServerserviceOfferingId=433d7c4f-e6a0-404c-8933-b8f51bd9016enetworkIds=0ef19e50-eef6-448c-af16-626e69b4fd58displayname=test1name=test1response=jsonsessionkey=W65MyiX8ZhTqdWc8zX6rxzd8c28%3D_=1395824463805
 
2014-03-26 

回复: 回复: 添加实例不成功

2014-03-26 文章 yhz...@pipgame.com
HI all:

请教一下:1.在CS中,假始物理主机的CPU的主频是2.5GHz,VM的CPU的主频划分能否超过这个值。
2.不同主频的CPU是否可以加到同一个集群,如果不能,新建一个群集,VM的CPU主频怎么划分,是按高主频的分还是只能按低主频的分。

各位大大指点一下!





赵元海
平台MIS部
9095
yhz...@pipgame.com
*

发件人: yhz...@pipgame.com
发送时间: 2014-03-25 14:19
收件人: cloudstackusers...@cloudstack.apache.org
抄送: 
主题: 回复: 回复: 添加实例不成功

现在问题解决了发现VR上/var分区磁盘空间已经用满了。。清理一下就可以了





赵元海
平台MIS部
9095
yhz...@pipgame.com
*

发件人: brito.w...@gmail.com
发送时间: 2014-03-25 13:56
收件人: users-cn
抄送: 
主题: 回复: 回复: 添加实例不成功







对,检查一下吧,找找原因。


brito.w...@gmail.com
?发件人:?yhz...@pipgame.com发送时间:?2014-03-25?13:47收件人:?cloudstackusers...@cloudstack.apache.org主题:?回复:
 回复: 添加实例不成功VR的系统日志么
?
?
?
?
?
赵元海
平台MIS部
9095
yhz...@pipgame.com
*
?
发件人: brito.w...@gmail.com
发送时间: 2014-03-25 13:36
收件人: users-cn
抄送: 
主题: 回复: 回复: 添加实例不成功
?
我看日志结果是:v-router不能把你的VM的网络规则应用的v-router中,具体是为什么这样会失败,就看不到了。如果可以的话,销毁一下v-router,再让他重建一下试试。如果不可以销毁的话,你去拿一下v-router的日志看看或者可以的话调试一下v-router.
?
brito.w...@gmail.com
?发件人:?yhz...@pipgame.com发送时间:?2014-03-25?13:00收件人:?cloudstackusers...@cloudstack.apache.org主题:?回复:
 回复: 添加实例不成功我这是4.2.0的环境。。VR在线上运行着。。新添加实例的时候报的这个错误,主机的资源还很充足
4.2.1有这问题么
?
?
?
?
?
赵元海
平台MIS部
9095
yhz...@pipgame.com
*
?
发件人: brito.w...@gmail.com
发送时间: 2014-03-25 12:39
收件人: users-cn
抄送: 
主题: 回复: 添加实例不成功
?
?
?
?
?
?
?
我不知道你哪儿是cloudstack几点几的环境,你查看一下是不是v-router启动不起来?我记得cloudstack某一个版本中有关创建系统虚拟机有一个Bug,系统虚拟机在一种特别情况下会尝试在无效的主机或集群上创建,你先检查一下集群和主机的情况,把无效的禁用掉或者删除掉,看看能否把VM创建起来。
?
?
brito.w...@gmail.com
?发件人:?yhz...@pipgame.com发送时间:?2014-03-25?09:47收件人:?cloudstackusers...@cloudstack.apache.org主题:?添加实例不成功HI
 大家帮我看一下。。创建实例不成功
?
2014-03-25 09:34:44,843 DEBUG [agent.transport.Request] (Job-Executor-7:job-237 
= [ 05aec4e1-6b33-48f4-94d8-647c3ce1c791 ]) Seq 1-2085489885: Executing:? { Cmd 
, MgmtId: 264018885718825, via: 1, Ver: v1, Flags: 100111, 
[{com.cloud.agent.api.routing.SavePasswordCommand:{password:fnirq_cnffjbeq,vmIpAddress:10.10.30.66,vmName:pipProxy2,executeInSequence:true,accessDetails:{router.guest.ip:10.10.30.1,zone.network.type:Advanced,router.ip:169.254.1.159,router.name:r-4-VM},wait:0}},{com.cloud.agent.api.routing.VmDataCommand:{vmIpAddress:10.10.30.66,vmName:pipProxy2,executeInSequence:true,accessDetails:{router.guest.ip:10.10.30.1,zone.network.type:Advanced,router.ip:169.254.1.159,router.name:r-4-VM},wait:0}}]
 }
2014-03-25 09:34:44,843 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-330:null) Seq 1-2085489885: Executing request
2014-03-25 09:34:45,658 DEBUG [agent.manager.AgentManagerImpl] 
(AgentManager-Handler-13:null) SeqA 2-934780: Processing Seq 2-934780:? { Cmd , 
MgmtId: -1, via: 2, Ver: v1, Flags: 11, 
[{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n?
 \connections\: []\n},wait:0}}] }
2014-03-25 09:34:45,661 DEBUG [agent.manager.AgentManagerImpl] 
(AgentManager-Handler-13:null) SeqA 2-934780: Sending Seq 2-934780:? { Ans: , 
MgmtId: 264018885718825, via: 2, Ver: v1, Flags: 100010, 
[{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
2014-03-25 09:34:46,047 DEBUG [cloud.server.StatsCollector] 
(StatsCollector-3:null) HostStatsCollector is running...
2014-03-25 09:34:46,059 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-134:null) Seq 1-2085489886: Executing request
2014-03-25 09:34:46,277 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) 
===START===? 114.251.179.130 -- GET? 
command=queryAsyncJobResultjobId=05aec4e1-6b33-48f4-94d8-647c3ce1c791response=jsonsessionkey=a%2BkjTa8gW%2FA6qVlgpPRlO%2BFdNMs%3D_=1395711258453
2014-03-25 09:34:46,299 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) 
===END===? 114.251.179.130 -- GET? 
command=queryAsyncJobResultjobId=05aec4e1-6b33-48f4-94d8-647c3ce1c791response=jsonsessionkey=a%2BkjTa8gW%2FA6qVlgpPRlO%2BFdNMs%3D_=1395711258453
2014-03-25 09:34:46,435 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-330:null) Seq 1-2085489885: Response Received:
2014-03-25 09:34:46,436 DEBUG [agent.transport.Request] (DirectAgent-330:null) 
Seq 1-2085489885: Processing:? { Ans: , MgmtId: 264018885718825, via: 1, Ver: 
v1, Flags: 110, 
[{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:false,details:vm_data
 failed,wait:0}}] }
2014-03-25 09:34:46,436 DEBUG [agent.manager.AgentAttache] 
(DirectAgent-330:null) Seq 1-2085489885: No more commands found
2014-03-25 09:34:46,436 DEBUG [agent.transport.Request] (Job-Executor-7:job-237 
= [ 05aec4e1-6b33-48f4-94d8-647c3ce1c791 ]) Seq 1-2085489885: Received:? { Ans: 
, MgmtId: 264018885718825, via: 1, Ver: v1, Flags: 110, { Answer, Answer } }
2014-03-25 09:34:46,436 INFO? [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-7:job-237 = [ 05aec4e1-6b33-48f4-94d8-647c3ce1c791 ]) Unable to 
contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
unreachable: Unable to 

开发环境配置的时候mvn -P deps 一直执行不完,怎么办

2014-03-26 文章
你好。
我按照这个文档走到7。3后,一直执行不完,怎么办
http://cloudstack.group.iteye.com/group/wiki/3416
--
3 下载相关依赖组件,到cloudstack 源代码目录下,运行 

mvn -P deps 
---
可能是网络原因,好几次,有时候是停顿在一个地方不动了,有时候会报错提示有一个网址无法访问到。。。
mvn -P deps这步骤是必须要走的么?有没有其他办法?谢谢!










--
___

王明昌
chenzi...@163.com
武汉技术部 - 软件工程师

电话:027-51854676
地址:武汉市洪山区街道口 珞瑜路20号阜华大厦A座1201室
___

北京鑫海睿杰科技有限公司
http://www.bjxhrj.com

回复: Re: 虚拟机CPU主频是否可以高于物理机CPU主频

2014-03-26 文章 cui6522123






请教一下,添加新的XenServer主机,是否可以升级物理主机的配置呢?还是建议选用同一配置的主机呢?
我目前面临的问题就是新的主机CPU主频变了 ? 这个会有影响么?在划分主机的时候 系统将怎么分配CPU呢?


cui6522123
?发件人:?tanthalas发送时间:?2014-03-26?19:08收件人:?users-cn主题:?Re: 回复: 回复: 
虚拟机CPU主频是否可以高于物理机CPU主频Failed to alloc resource from host: 4 reservedCpu: 0, 
used cpu: 52000, requested cpu: 3000, actual total cpu: 52800, total cpu with 
overprovisioning: 52800, reservedMem: 0, used Mem: 121634816000, requested mem: 
4194304000, total Mem:198546817024 ,considerReservedCapacity?: true
Host does not have enough CPU available, cannot allocate to this host.
日志里写的是,你的主机共有52800Hz,但已经用了52000,所以申请3000是分配不了的。
?
刘宇超
?
?
发件人: cui6522123 
发送时间: 2014-03-26? 18:05:45 
收件人: cloud 
抄送: 
主题: 回复: 回复: 虚拟机CPU主频是否可以高于物理机CPU主频 
 
另外请教一下?? 在创建计算方案的时候? 这三个作用是什么?? 我可以让我的CPU仍然具有超线程技术么?
?
?
?
?
?
?
?
?
?
?
cui6522123
?
发件人: cui6522123
发送时间: 2014-03-26 18:03
收件人: cloud
主题: 回复: 回复: 虚拟机CPU主频是否可以高于物理机CPU主频
刘宇超
?
?
这个是之前的日志,请帮忙分析分析,谢谢!
?
?
2014-03-26 17:01:29,943 DEBUG [agent.manager.AgentManagerImpl] 
(AgentManager-Handler-4:null) Ping from 2 
2014-03-26 17:01:31,503 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===START=== 114.251.179.130 -- GET 
command=deployVirtualMachinezoneId=4f8a1206-3712-4ad6-832e-f9bf430da511templateId=0da260bc-620f-4ef0-abf7-e167dd217473hypervisor=XenServerserviceOfferingId=433d7c4f-e6a0-404c-8933-b8f51bd9016enetworkIds=0ef19e50-eef6-448c-af16-626e69b4fd58displayname=test1name=test1response=jsonsessionkey=W65MyiX8ZhTqdWc8zX6rxzd8c28%3D_=1395824463805
 
2014-03-26 17:01:31,513 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
InfrastructureEntity name is:com.cloud.offering.ServiceOffering 
2014-03-26 17:01:31,519 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
ControlledEntity name is:com.cloud.template.VirtualMachineTemplate 
2014-03-26 17:01:31,523 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-10:null) 
ControlledEntity name is:com.cloud.network.Network 
2014-03-26 17:01:31,542 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,556 DEBUG [cloud.vm.UserVmManagerImpl] 
(catalina-exec-10:null) Allocating in the DB for vm 
2014-03-26 17:01:31,572 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating entries for VM: VM[User|test1] 
2014-03-26 17:01:31,574 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating nics for VM[User|test1] 
2014-03-26 17:01:31,576 DEBUG [cloud.network.NetworkManagerImpl] 
(catalina-exec-10:null) Allocating nic for vm VM[User|test1] in network 
Ntwk[204|Guest|15] with requested profile NicProfile[0-0-null-null-null 
2014-03-26 17:01:31,601 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,603 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocating disks for VM[User|test1] 
2014-03-26 17:01:31,621 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(catalina-exec-10:null) Allocation completed for VM: VM[User|test1] 
2014-03-26 17:01:31,621 DEBUG [cloud.vm.UserVmManagerImpl] 
(catalina-exec-10:null) Successfully allocated DB entry for VM[User|test1] 
2014-03-26 17:01:31,656 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,662 DEBUG [cloud.network.NetworkModelImpl] 
(catalina-exec-10:null) Service SecurityGroup is not supported in the network 
id=204 
2014-03-26 17:01:31,676 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-10:null) submit async job-360 = [ 
edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ], details: AsyncJobVO {id:360, userId: 2, 
accountId: 2, sessionKey: null, instanceType: VirtualMachine, instanceId: 69, 
cmd: org..apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: 
null, cmdInfo: 
{sessionkey:W65MyiX8ZhTqdWc8zX6rxzd8c28\u003d,cmdEventType:VM.CREATE,ctxUserId:2,serviceOfferingId:433d7c4f-e6a0-404c-8933-b8f51bd9016e,httpmethod:GET,zoneId:4f8a1206-3712-4ad6-832e-f9bf430da511,templateId:0da260bc-620f-4ef0-abf7-e167dd217473,response:json,id:69,networkIds:0ef19e50-eef6-448c-af16-626e69b4fd58,hypervisor:XenServer,name:test1,_:1395824463805,ctxAccountId:2,ctxStartEventId:1352,displayname:test1},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 264018885718825, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 
2014-03-26 17:01:31,678 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-80:job-360 = [ edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ]) Executing 
org.apache.cloudstack.api.command.user..vm.DeployVMCmd for job-360 = [ 
edd0f640-dc28-43cc-b02e-e4fc9a82aa44 ] 
2014-03-26 17:01:31,679 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===END=== 114.251.179.130 -- GET 

回复: Re: 服务启动不成功

2014-03-26 文章 史丽丽
我已经安装keytool,用命令导入 keytool -genkey -keystore 
/etc/cloud/management/cloud.keystore 
,但是我的这个文件夹下没有cloud.keystone这个文件,网上查了一下没找到文件。




史丽丽

发件人: tanthalas
发送时间: 2014-03-26 17:33
收件人: users-cn
主题: Re: 服务启动不成功
再看一下那个目录下的management-server.log,建议分析log应该看此文件。
可以尝试关闭防火墙


刘宇超



发件人: 史丽丽 
发送时间: 2014-03-26  17:15:53 
收件人: users-cn@cloudstack.apache.org 
抄送: 
主题: 服务启动不成功 
您好,我这边做一个cloudstack的部署,目前是在一台虚拟机上装cloudstack,数据库安装成功,操作系统是rhel
cs版本为4.2,到初始化cloudstack管理程序步骤,执行如下命令cloudstack-setup-management
参看日志为:/var/log/cloudstack/management/catalina.out 
cs启动报错如下:服务启动不成功,望您给予解答,谢谢。
maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 600 
timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds 
= 120 cacheEventListeners:  hitCount = 0 memoryStoreHitCount = 0 
diskStoreHitCount = 0 missCountNotFound = 0 missCountExpired = 0 ]
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_ead01e13
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_a685eed4
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing 
updateSSLKeyStore
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore located at 
/etc/cloudstack/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use fail-safe 
keystore to continue.
java.io.IOException: Fail to generate certificate!: sudo: keytool: command not 
found
at 
com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496)
at 
com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517)
at 
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing 
updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already in 
database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update 
systemvm iso with generated keypairs if needed
2014-3-26 13:57:40 org.springframework.web.context.ContextLoader 
initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 3871 ms
2014-3-26 13:57:40 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
 init
信息: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_375384cc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.cluster.ManagementServerNode_EnhancerByCloudStack_ab03d7d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring 
com.cloud.cluster.ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Start configuring cluster 
manager : ClusterManagerImpl_EnhancerByCloudStack_5702e15
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster node IP : 
192.168.131.141
INFO  [utils.db.Merovingian2] (Timer-2:) Cleaning up locks for 86530476470110
INFO  [utils.db.Merovingian2] (Timer-2:) Released 0 locks for 86530476470110
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener 
class com.cloud.cluster.LockMasterListener
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 
192.168.131.141
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management 
server at 192.168.131.141:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at 
com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at 
com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at 
com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another 
management node with the 

Re: 创建vm实例失败

2014-03-26 文章 曾冠华
host 是centos 6.4 应该装了 openssh-clients

rpm -qa| grep openssh
openssh-clients-5.3p1-84.1.el6.x86_64
openssh-askpass-5.3p1-94.el6.x86_64
openssh-5.3p1-94.el6.x86_64
openssh-5.3p1-84.1.el6.x86_64
openssh-server-5.3p1-94.el6.x86_64
openssh-askpass-5.3p1-84.1.el6.x86_64
openssh-clients-5.3p1-94.el6.x86_64



2014-03-27 9:59 GMT+08:00 focus987...@gmail.com focus987...@gmail.com:

 你host用的什么操作系统。应该是host没装openssh-clients造成的。




 focus987...@gmail.com

 发件人: 曾冠华
 发送时间: 2014-03-25 21:55
 收件人: users-cn
 主题: 创建vm实例失败
 发现虚拟路由器也是stopped状态

 启动虚拟路由器失败
 提示:
 Unable to get answer that is of class com.cloud.agent.api.StartAnswer

 log:
 2014-03-25 21:51:34,704 DEBUG [agent.manager.AgentAttache]
 (AgentManager-Handler-6:null) Seq 1-271384696: No more commands found
 2014-03-25 21:51:34,704 DEBUG [agent.transport.Request]
 (Job-Executor-7:job-18) Seq 1-271384696: Received:  { Ans: , MgmtId:
 159090356754390, via: 1, Ver: v1, Flags: 110, { Answer, Answer, Answer,
 Answer, Answer } }
 2014-03-25 21:51:34,729 ERROR [cloud.vm.VirtualMachineManagerImpl]
 (Job-Executor-7:job-18) Failed to start instance VM[DomainRouter|r-4-VM]
 com.cloud.utils.exception.CloudRuntimeException: Unable to get answer that
 is of class com.cloud.agent.api.StartAnswer
 at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80)
 at

 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:783)
 at

 com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
 at

 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2368)
 at

 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1613)
 at

 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1713)
 at

 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1691)
 at

 com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:172)
 at

 com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2033)
 at

 com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1965)
 at
 com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
 at

 com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:3851)
 at

 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2602)
 at

 com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2571)
 at
 com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
 at
 com.cloud.api.commands.StartRouterCmd.execute(StartRouterCmd.java:105)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
 at
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at

 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at

 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)
 2014-03-25 21:51:34,757 DEBUG [cloud.vm.VirtualMachineManagerImpl]
 (Job-Executor-7:job-18) Cleaning up resources for the vm
 VM[DomainRouter|r-4-VM] in Starting state
 2014-03-25 21:51:34,759 DEBUG [agent.transport.Request]
 (Job-Executor-7:job-18) Seq 1-271384697: Sending  { Cmd , MgmtId:
 159090356754390, via: 1, Ver: v1, Flags: 100111,
 [{StopCommand:{isProxy:false,vmName:r-4-VM,wait:0}}] }
 2014-03-25 21:51:34,985 DEBUG [agent.transport.Request]
 (AgentManager-Handler-1:null) Seq 1-271384697: Processing:  { Ans: ,
 MgmtId: 159090356754390, via: 1, Ver: v1, Flags: 110,
 [{StopAnswer:{vncPort:0,result:true,wait:0}}] }
 2014-03-25 21:51:34,985 DEBUG [agent.manager.AgentAttache]
 (AgentManager-Handler-1:null) Seq 1-271384697: No more commands found
 2014-03-25 21:51:34,985 DEBUG [agent.transport.Request]
 (Job-Executor-7:job-18) Seq 1-271384697: Received:  { Ans: , MgmtId:
 159090356754390, via: 1, Ver: v1, Flags: 110, { StopAnswer } }
 2014-03-25 21:51:34,992 DEBUG
 [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-7:job-18)
 Successfully updated user statistics as a part of domR
 VM[DomainRouter|r-4-VM] reboot/stop
 2014-03-25 21:51:35,033 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-7:job-18) Service SecurityGroup is not supported in the
 network id=204
 2014-03-25 21:51:35,072 DEBUG [cloud.network.NetworkManagerImpl]
 (Job-Executor-7:job-18) Asking JuniperSRX to release
 

RE: [问题] CloudStack Email Alert 如何配置

2014-03-26 文章 zcsu
我想确认一下几个参数的设置:
 
CS4.2.1  在centos6.4 上
 
今天我用我们公司的邮箱设置了一下:
alert.smtp.host ---公司邮件服务器地址
alert.smtp.useAuth---true
alert.smtp.port25
alert.smtp.username--可用的用户名
alert.smtp.password---没问题的密码
alert.email.addresses---收件人地址?
alert.email.sender---公司邮件服务器地址?
 
这样设置完成后,重启management service, alert email 仍旧发送不成功。
日志显示:
 
2014-03-27 10:23:20,169 ERROR [cloud.alert.AlertManagerImpl] 
(Email-Alerts-Sender-1:null)  Failed to send email alert 
javax.mail.MessagingException: Exception reading response 
(javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)
 
 这是什么问题呢, 是alert.email.sender 设置有问题么?你们是可以发送alert email的么?   From: 
linux...@gmail.com
 Date: Wed, 26 Mar 2014 18:13:01 +0800
 Subject: Re: [问题] CloudStack Email Alert 如何配置
 To: users-cn@cloudstack.apache.org
 
 刚才查了下,网易的邮件配置有很多种说法
 
 http://www.groovyq.net/node/729
 
 
 
 在 2014年3月26日 下午6:08,zcsu szc...@hotmail.com 写道:
  alert.email.sender 也是要指定到邮件服务器的地址阿。
  日志很简单,在这方面,只是返回一个不能连接。
 
  如果我用企业邮箱的话,会报
 
  Failed to send email alert com.sun.mail.smtp.SMTPSendFailedException: 530 
  5.7.3 Client was not authenticated
 
  From: linux...@gmail.com
  Date: Wed, 26 Mar 2014 17:54:33 +0800
  Subject: Re: [问题] CloudStack Email Alert 如何配置
  To: users-cn@cloudstack.apache.org
 
  alert.smtp.hostsmtp.163.com
  alert.email.sender  smtp.163.com
  alert.smtp.port  25
  alert.smtp.useAuth   true
  alert.smtp.username  **@163.com
  alert.smtp.password   
 
 
  你测试下试试
 
  建议你看下日志。我对163的邮件配置不熟悉
 
  在 2014年3月26日 下午5:45,zcsu szc...@hotmail.com 写道:
   能给举个例子么?谢谢
  
   From: linux...@gmail.com
   Date: Wed, 26 Mar 2014 17:36:41 +0800
   Subject: Re: [问题] CloudStack Email Alert 如何配置
   To: users-cn@cloudstack.apache.org
  
   如果你配置的端口是465 就需要使用ssl
   这个需要找网易的邮箱配置
  
   在 2014年3月26日 下午5:19,zcsu szc...@hotmail.com 写道:
已经在Global Settings 中设置了相关的参数,其中,
   
alert.smtp.hostsmtp.163.com
alert.email.sender  **@163.com
alert.smtp.port  465/994
alert.smtp.useAuth   true
alert.smtp.username  **
alert.smtp.password   
   
都已经配置。
   
制造了Alert 事件,但是Alert Email 发送失败,日志显示连接smtp.163.com 失败
   
请问,配置EMail Alert 的时候正确方法是什么,163邮箱可用么?
   
谢谢!
   
  
  
  
   --
   白清杰 (Born Bai)
  
   北京开源愿景信息技术有限公司
  
   Mail: linux...@gmail.com
  
 
 
 
  --
  白清杰 (Born Bai)
 
  北京开源愿景信息技术有限公司
 
  Mail: linux...@gmail.com
 
 
 
 
 -- 
 白清杰 (Born Bai)
 
 北京开源愿景信息技术有限公司
 
 Mail: linux...@gmail.com
  

Re: 回复: 回复: 添加实例不成功

2014-03-26 文章 Shane Wayne
Q:1.在CS中,假始物理主机的CPU的主频是2.5GHz,VM的CPU的主频划分能否超过这个值。
A:不能超过这个值。
Q:2.不同主频的CPU是否可以加到同一个集群,如果不能,新建一个群集,VM的CPU主频怎么划分,是按高主频的分还是只能按低主频的分。
A:实测在在KVM+Ubuntu12.04+KVM的情况下,不同硬件规格的机器是可以添加到一个Cluster里面的,但如果要部署虚拟机的话,最好还是按照目前Cluster中最低主频的机器再低的Offering来创建。

PS:如果想要充分利用集群主频,可以创建高主频的Offering(但是低于集群中的单核心最高主频),首先部署地主频主机,之后迁移到高主频HOST上,之后再Change
Offering。


On Mar 26, 2014 10:09 PM, yhz...@pipgame.com yhz...@pipgame.com wrote:

 HI all:

 请教一下:1.在CS中,假始物理主机的CPU的主频是2.5GHz,VM的CPU的主频划分能否超过这个值。
 2.不同主频的CPU是否可以加到同一个集群,如果不能,新建一个群集,VM的CPU主频怎么划分,是按高主频的分还是只能按低主频的分。

 各位大大指点一下!





 赵元海
 平台MIS部
 9095
 yhz...@pipgame.com
 *

 发件人: yhz...@pipgame.com
 发送时间: 2014-03-25 14:19
 收件人: cloudstackusers...@cloudstack.apache.org
 抄送:
 主题: 回复: 回复: 添加实例不成功

 现在问题解决了发现VR上/var分区磁盘空间已经用满了。。清理一下就可以了





 赵元海
 平台MIS部
 9095
 yhz...@pipgame.com
 *

 发件人: brito.w...@gmail.com
 发送时间: 2014-03-25 13:56
 收件人: users-cn
 抄送:
 主题: 回复: 回复: 添加实例不成功







 对,检查一下吧,找找原因。


 brito.w...@gmail.com
 ?发件人:?yhz...@pipgame.com发送时间:?2014-03-25?13:47收件人:?
 cloudstackusers...@cloudstack.apache.org主题:?回复: 回复: 添加实例不成功VR的系统日志么
 ?
 ?
 ?
 ?
 ?
 赵元海
 平台MIS部
 9095
 yhz...@pipgame.com
 *
 ?
 发件人: brito.w...@gmail.com
 发送时间: 2014-03-25 13:36
 收件人: users-cn
 抄送:
 主题: 回复: 回复: 添加实例不成功
 ?

 我看日志结果是:v-router不能把你的VM的网络规则应用的v-router中,具体是为什么这样会失败,就看不到了。如果可以的话,销毁一下v-router,再让他重建一下试试。如果不可以销毁的话,你去拿一下v-router的日志看看或者可以的话调试一下v-router.
 ?
 brito.w...@gmail.com
 ?发件人:?yhz...@pipgame.com发送时间:?2014-03-25?13:00收件人:?
 cloudstackusers...@cloudstack.apache.org主题:?回复: 回复:
 添加实例不成功我这是4.2.0的环境。。VR在线上运行着。。新添加实例的时候报的这个错误,主机的资源还很充足
 4.2.1有这问题么
 ?
 ?
 ?
 ?
 ?
 赵元海
 平台MIS部
 9095
 yhz...@pipgame.com
 *
 ?
 发件人: brito.w...@gmail.com
 发送时间: 2014-03-25 12:39
 收件人: users-cn
 抄送:
 主题: 回复: 添加实例不成功
 ?
 ?
 ?
 ?
 ?
 ?
 ?

 我不知道你哪儿是cloudstack几点几的环境,你查看一下是不是v-router启动不起来?我记得cloudstack某一个版本中有关创建系统虚拟机有一个Bug,系统虚拟机在一种特别情况下会尝试在无效的主机或集群上创建,你先检查一下集群和主机的情况,把无效的禁用掉或者删除掉,看看能否把VM创建起来。
 ?
 ?
 brito.w...@gmail.com
 ?发件人:?yhz...@pipgame.com发送时间:?2014-03-25?09:47收件人:?
 cloudstackusers...@cloudstack.apache.org主题:?添加实例不成功HI 大家帮我看一下。。创建实例不成功
 ?
 2014-03-25 09:34:44,843 DEBUG [agent.transport.Request]
 (Job-Executor-7:job-237 = [ 05aec4e1-6b33-48f4-94d8-647c3ce1c791 ]) Seq
 1-2085489885: Executing:? { Cmd , MgmtId: 264018885718825, via: 1, Ver: v1,
 Flags: 100111,
 [{com.cloud.agent.api.routing.SavePasswordCommand:{password:fnirq_cnffjbeq,vmIpAddress:10.10.30.66,vmName:pipProxy2,executeInSequence:true,accessDetails:{router.guest.ip:10.10.30.1,zone.network.type:Advanced,router.ip:169.254.1.159,
 router.name
 :r-4-VM},wait:0}},{com.cloud.agent.api.routing.VmDataCommand:{vmIpAddress:10.10.30.66,vmName:pipProxy2,executeInSequence:true,accessDetails:{router.guest.ip:10.10.30.1,zone.network.type:Advanced,router.ip:169.254.1.159,
 router.name:r-4-VM},wait:0}}] }
 2014-03-25 09:34:44,843 DEBUG [agent.manager.DirectAgentAttache]
 (DirectAgent-330:null) Seq 1-2085489885: Executing request
 2014-03-25 09:34:45,658 DEBUG [agent.manager.AgentManagerImpl]
 (AgentManager-Handler-13:null) SeqA 2-934780: Processing Seq 2-934780:? {
 Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11,
 [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n?
 \connections\: []\n},wait:0}}] }
 2014-03-25 09:34:45,661 DEBUG [agent.manager.AgentManagerImpl]
 (AgentManager-Handler-13:null) SeqA 2-934780: Sending Seq 2-934780:? { Ans:
 , MgmtId: 264018885718825, via: 2, Ver: v1, Flags: 100010,
 [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
 2014-03-25 09:34:46,047 DEBUG [cloud.server.StatsCollector]
 (StatsCollector-3:null) HostStatsCollector is running...
 2014-03-25 09:34:46,059 DEBUG [agent.manager.DirectAgentAttache]
 (DirectAgent-134:null) Seq 1-2085489886: Executing request
 2014-03-25 09:34:46,277 DEBUG [cloud.api.ApiServlet]
 (catalina-exec-1:null) ===START===? 114.251.179.130 -- GET?
 command=queryAsyncJobResultjobId=05aec4e1-6b33-48f4-94d8-647c3ce1c791response=jsonsessionkey=a%2BkjTa8gW%2FA6qVlgpPRlO%2BFdNMs%3D_=1395711258453
 2014-03-25 09:34:46,299 DEBUG [cloud.api.ApiServlet]
 (catalina-exec-1:null) ===END===? 114.251.179.130 -- GET?
 command=queryAsyncJobResultjobId=05aec4e1-6b33-48f4-94d8-647c3ce1c791response=jsonsessionkey=a%2BkjTa8gW%2FA6qVlgpPRlO%2BFdNMs%3D_=1395711258453
 2014-03-25 09:34:46,435 DEBUG [agent.manager.DirectAgentAttache]
 (DirectAgent-330:null) Seq 1-2085489885: Response Received:
 2014-03-25 09:34:46,436 DEBUG [agent.transport.Request]
 (DirectAgent-330:null) Seq 1-2085489885: Processing:? { Ans: , MgmtId:
 264018885718825, via: 1, Ver: v1, Flags: 110,
 [{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:false,details:vm_data
 failed,wait:0}}] }
 2014-03-25 09:34:46,436 DEBUG [agent.manager.AgentAttache]
 (DirectAgent-330:null) Seq 1-2085489885: No more commands found