cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 鲍金城 <baojc85413...@gmail.com>
Subject 关于 kvm 使用 fc-san ,虚拟机迁移的问题
Date Tue, 31 Dec 2013 04:21:41 GMT
hi:
大家好!我这里遇到一个问题,
cloudstack版本 4.0.2 kvm ,主存储使用clvm+fcsan

虚拟机迁移过程中报错,不知道什么原因,看错误日志像是权限问题,或者是
clvm锁的问题。错误日志如下 :
看有没有人遇到,或是帮忙分析一下,原因。

2013-12-31 12:18:55,814 DEBUG [agent.transport.Request]
(AgentManager-Handler-7:null) Seq 5-532155700: Processing: { Ans: ,
MgmtId: 345048823783, via: 5, Ver: v1, Flags: 110,
[{"PrepareForMigrationAnswer":{"result":true,"wait":0}}] }
2013-12-31 12:18:55,814 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-7:null) Seq 5-532155700: No more commands found
2013-12-31 12:18:55,814 DEBUG [agent.transport.Request]
(Job-Executor-16:job-16) Seq 5-532155700: Received: { Ans: , MgmtId:
345048823783, via: 5, Ver: v1, Flags: 110, { PrepareForMigrationAnswer } }
2013-12-31 12:18:55,820 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) VM state transitted from :Running to Migrating
with event: MigrationRequestedvm's original host id: 1 new host id: 5
host id before state transition: 1
2013-12-31 12:18:55,824 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) Hosts's actual total CPU: 136512 and CPU after
applying overprovisioning: 136512
2013-12-31 12:18:55,824 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) We are allocating VM, increasing the used
capacity of this host:5
2013-12-31 12:18:55,824 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) Current Used CPU: 0 , Free CPU:136512
,Requested CPU: 4096
2013-12-31 12:18:55,824 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) Current Used RAM: 0 , Free RAM:67424960512
,Requested RAM: 6442450944
2013-12-31 12:18:55,825 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) CPU STATS after allocation: for host: 5, old
used: 0, old reserved: 0, actual total: 136512, total with
overprovisioning: 136512; new used:4096, reserved:0; requested
cpu:4096,alloc_from_last:false
2013-12-31 12:18:55,825 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) RAM STATS after allocation: for host: 5, old
used: 0, old reserved: 0, total: 67424960512; new used: 6442450944,
reserved: 0; requested mem: 6442450944,alloc_from_last:false
2013-12-31 12:18:55,830 DEBUG [agent.transport.Request]
(Job-Executor-16:job-16) Seq 1-1847399049: Sending { Cmd , MgmtId:
345048823783, via: 1, Ver: v1, Flags: 100111,
[{"MigrateCommand":{"vmName":"i-2-3-VM","destIp":"10.49.252.31","hostGuid":"45609138-835a-3135-b6ae-f93d816ed146-LibvirtComputingResource","isWindows":false,"wait":0}}]
}
2013-12-31 12:18:56,475 DEBUG [agent.transport.Request]
(AgentManager-Handler-6:null) Seq 1-1847399049: Processing: { Ans: ,
MgmtId: 345048823783, via: 1, Ver: v1, Flags: 110,
[{"MigrateAnswer":{"result":false,"details":"unable to set user and
group to '0:0' on '/dev/vg_kvm201/bbba7009-bd9b-4b29-96f9-7ba90c9e0e2f':
No such file or directory","wait":0}}] }
2013-12-31 12:18:56,476 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-6:null) Seq 1-1847399049: No more commands found
2013-12-31 12:18:56,476 DEBUG [agent.transport.Request]
(Job-Executor-16:job-16) Seq 1-1847399049: Received: { Ans: , MgmtId:
345048823783, via: 1, Ver: v1, Flags: 110, { MigrateAnswer } }
2013-12-31 12:18:56,476 ERROR [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-16:job-16) Unable to migrate due to unable to set user and
group to '0:0' on '/dev/vg_kvm201/bbba7009-bd9b-4b29-96f9-7ba90c9e0e2f':
No such file or directory
2013-12-31 12:18:56,482 INFO [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-16:job-16) Migration was unsuccessful. Cleaning up:
VM[User|baotest]
2013-12-31 12:18:56,483 DEBUG [cloud.alert.AlertManagerImpl]
(Job-Executor-16:job-16) Have already sent: 1 emails for alert type '16'
-- skipping send email
2013-12-31 12:18:56,484 DEBUG [agent.manager.AgentAttache]
(Job-Executor-16:job-16) Seq 5-532155701: Routed from 345048823783
2013-12-31 12:18:56,484 DEBUG [agent.transport.Request]
(Job-Executor-16:job-16) Seq 5-532155701: Sending { Cmd , MgmtId:
345048823783, via: 5, Ver: v1, Flags: 100111,
[{"StopCommand":{"isProxy":false,"vmName":"i-2-3-VM","wait":0}}] }
2013-12-31 12:18:56,488 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) VM state transitted from :Migrating to Running
with event: OperationFailedvm's original host id: 1 new host id: 1 host
id before state transition: 5
2013-12-31 12:18:56,491 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) Hosts's actual total CPU: 136512 and CPU after
applying overprovisioning: 136512
2013-12-31 12:18:56,491 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) release cpu from host: 5, old used:
4096,reserved: 0, actual total: 136512, total with overprovisioning:
136512; new used: 0,reserved:0; movedfromreserved:
false,moveToReserveredfalse
2013-12-31 12:18:56,491 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-16:job-16) release mem from host: 5, old used:
6442450944,reserved: 0, total: 67424960512; new used: 0,reserved:0;
movedfromreserved: false,moveToReserveredfalse
2013-12-31 12:18:56,503 WARN [cloud.api.ApiDispatcher]
(Job-Executor-16:job-16) class com.cloud.api.ServerApiException : Failed
to migrate vm
2013-12-31 12:18:56,503 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-16:job-16) Complete async job-16, jobStatus: 2,
resultCode: 530, result: Error Code: 530 Error text: Failed to migrate vm





Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message