cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shi.ll <shi...@neusoft.com>
Subject Re: Re: xenserver 虚拟机迁移
Date Tue, 13 May 2014 01:12:04 GMT

hypervisior是一个版本的,安装红帽的虚拟机就可以顺利迁移,有两台安装windows系统的就不行



发件人: linuxbqj@gmail.com
发送时间: 2014-05-12 18:14
收件人: users-cn@cloudstack.apache.org
主题: Re: xenserver 虚拟机迁移
看这个日志,找不到迁移失败的原因。

你的计算节点的hypervisior是同一个版本吗?

2014-05-12 16:13 GMT+08:00 shi.ll <shi.ll@neusoft.com>:
> 我想做个虚拟机迁移,虚拟机安装的是windows 系统,发现安windows系统的虚拟机都不能迁移,报异常,请大家看看是什么原因,日志如下:










>
> 2014-05-12 15:58:27,544 DEBUG [agent.manager.AgentAttache] (DirectAgent-373:null) Seq
2-417148368: No more commands found
> 2014-05-12 15:58:27,557 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) VM state transitted from :Running to Migrating
with event: MigrationRequestedvm's original host id: 3 new host id: 2 host id before state
transition: 3
> 2014-05-12 15:58:27,567 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) Hosts's actual total CPU: 27136 and CPU after
applying overprovisioning: 27136
> 2014-05-12 15:58:27,567 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) We are allocating VM, increasing the used capacity
of this host:2
> 2014-05-12 15:58:27,567 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) Current Used CPU: 4000 , Free CPU:23136 ,Requested
CPU: 1000
> 2014-05-12 15:58:27,567 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) Current Used RAM: 2147483648 , Free RAM:13925757952
,Requested RAM: 1073741824
> 2014-05-12 15:58:27,567 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) CPU STATS after allocation: for host: 2, old used:
4000, old reserved: 0, actual total: 27136, total with overprovisioning: 27136; new used:5000,
reserved:0; requested cpu:1000,alloc_from_last:false
> 2014-05-12 15:58:27,567 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) RAM STATS after allocation: for host: 2, old used:
2147483648, old reserved: 0, total: 16073241600; new used: 3221225472, reserved: 0; requested
mem: 1073741824,alloc_from_last:false
> 2014-05-12 15:58:27,577 DEBUG [agent.transport.Request] (Job-Executor-47:job-80 = [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb
]) Seq 3-25439709: Sending  { Cmd , MgmtId: 86530476470110, via: 3, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.MigrateCommand":{"vmName":"i-2-9-VM","destIp":"192.168.250.202","hostGuid":"0092f73c-c784-46e1-854e-a16c612781e9","isWindows":true,"wait":0}}]
}
> 2014-05-12 15:58:27,577 DEBUG [agent.transport.Request] (Job-Executor-47:job-80 = [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb
]) Seq 3-25439709: Executing:  { Cmd , MgmtId: 86530476470110, via: 3, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.MigrateCommand":{"vmName":"i-2-9-VM","destIp":"192.168.250.202","hostGuid":"0092f73c-c784-46e1-854e-a16c612781e9","isWindows":true,"wait":0}}]
}
> 2014-05-12 15:58:27,577 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-226:null)
Seq 3-25439709: Executing request
> 2014-05-12 15:58:27,632 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-226:null)
5. The VM i-2-9-VM is in Stopping state
> 2014-05-12 15:58:27,689 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-226:null)
Task failed! Task record:                 uuid: d7439441-766c-4773-de02-8b3983cb209d
>            nameLabel: Async.VM.pool_migrate
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon May 12 15:57:36 CST 2014
>             finished: Mon May 12 15:57:36 CST 2014
>               status: failure
>           residentOn: com.xensource.xenapi.Host@5105a8db
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [VM_MISSING_PV_DRIVERS, OpaqueRef:16885358-c9f8-f71f-27b9-a4bf083ea2be]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
>
> 2014-05-12 15:58:27,695 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-226:null)
Unable to migrate VM(i-2-9-VM) from host(2353b211-58cd-4725-abf6-83d1eec5ca05) due to Task
failed! Task record:                 uuid: d7439441-766c-4773-de02-8b3983cb209d
>            nameLabel: Async.VM.pool_migrate
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon May 12 15:57:36 CST 2014
>             finished: Mon May 12 15:57:36 CST 2014
>               status: failure
>           residentOn: com.xensource.xenapi.Host@5105a8db
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [VM_MISSING_PV_DRIVERS, OpaqueRef:16885358-c9f8-f71f-27b9-a4bf083ea2be]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
>
> Task failed! Task record:                 uuid: d7439441-766c-4773-de02-8b3983cb209d
>            nameLabel: Async.VM.pool_migrate
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon May 12 15:57:36 CST 2014
>             finished: Mon May 12 15:57:36 CST 2014
>               status: failure
>           residentOn: com.xensource.xenapi.Host@5105a8db
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [VM_MISSING_PV_DRIVERS, OpaqueRef:16885358-c9f8-f71f-27b9-a4bf083ea2be]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
>
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3605)
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.migrateVM(CitrixResourceBase.java:3751)
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:3319)
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:509)
> at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
> at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:104)
> at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> 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-05-12 15:58:27,702 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-226:null)
Catch Exception com.cloud.utils.exception.CloudRuntimeException: Migration failed due to com.cloud.utils.exception.CloudRuntimeException:
Unable to migrate VM(i-2-9-VM) from host(2353b211-58cd-4725-abf6-83d1eec5ca05) due to Task
failed! Task record:                 uuid: d7439441-766c-4773-de02-8b3983cb209d
>            nameLabel: Async.VM.pool_migrate
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon May 12 15:57:36 CST 2014
>             finished: Mon May 12 15:57:36 CST 2014
>               status: failure
>           residentOn: com.xensource.xenapi.Host@5105a8db
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [VM_MISSING_PV_DRIVERS, OpaqueRef:16885358-c9f8-f71f-27b9-a4bf083ea2be]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
>
> com.cloud.utils.exception.CloudRuntimeException: Unable to migrate VM(i-2-9-VM) from
host(2353b211-58cd-4725-abf6-83d1eec5ca05) due to Task failed! Task record:              
  uuid: d7439441-766c-4773-de02-8b3983cb209d
>            nameLabel: Async.VM.pool_migrate
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon May 12 15:57:36 CST 2014
>             finished: Mon May 12 15:57:36 CST 2014
>               status: failure
>           residentOn: com.xensource.xenapi.Host@5105a8db
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [VM_MISSING_PV_DRIVERS, OpaqueRef:16885358-c9f8-f71f-27b9-a4bf083ea2be]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
>
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.migrateVM(CitrixResourceBase.java:3762)
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:3319)
> at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:509)
> at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
> at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:104)
> at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
> 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> 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-05-12 15:58:27,703 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-226:null)
6. The VM i-2-9-VM is in Migrating state
> 2014-05-12 15:58:27,703 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-226:null)
Seq 3-25439709: Response Received:
> 2014-05-12 15:58:27,704 DEBUG [agent.transport.Request] (DirectAgent-226:null) Seq 3-25439709:
Processing:  { Ans: , MgmtId: 86530476470110, via: 3, Ver: v1, Flags: 110, [{"com.cloud.agent.api.MigrateAnswer":{"result":false,"details":"Catch
Exception com.cloud.utils.exception.CloudRuntimeException: Migration failed due to com.cloud.utils.exception.CloudRuntimeException:
Unable to migrate VM(i-2-9-VM) from host(2353b211-58cd-4725-abf6-83d1eec5ca05) due to Task
failed! Task record:                 uuid: d7439441-766c-4773-de02-8b3983cb209d\n        
  nameLabel: Async.VM.pool_migrate\n     nameDescription: \n   allowedOperations: []\n   currentOperations:
{}\n             created: Mon May 12 15:57:36 CST 2014\n            finished: Mon May 12 15:57:36
CST 2014\n              status: failure\n          residentOn: com.xensource.xenapi.Host@5105a8db\n
           progress: 1.0\n                type: <none/>\n              result: \n  
        errorInfo: [VM_MISSING_PV_DRIVERS, OpaqueRef:16885358-c9f8-f71f-27b9-a4bf083ea2be]\n
        otherConfig: {}\n           subtaskOf: com.xensource.xenapi.Task@aaf13f6f\n      
     subtasks: []\n","wait":0}}] }
> 2014-05-12 15:58:27,704 DEBUG [agent.manager.AgentAttache] (DirectAgent-226:null) Seq
3-25439709: No more commands found
> 2014-05-12 15:58:27,704 DEBUG [agent.transport.Request] (Job-Executor-47:job-80 = [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb
]) Seq 3-25439709: Received:  { Ans: , MgmtId: 86530476470110, via: 3, Ver: v1, Flags: 110,
{ MigrateAnswer } }
> 2014-05-12 15:58:27,704 ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) Unable to migrate due to Catch Exception com.cloud.utils.exception.CloudRuntimeException:
Migration failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to migrate
VM(i-2-9-VM) from host(2353b211-58cd-4725-abf6-83d1eec5ca05) due to Task failed! Task record:
                uuid: d7439441-766c-4773-de02-8b3983cb209d
>            nameLabel: Async.VM.pool_migrate
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon May 12 15:57:36 CST 2014
>             finished: Mon May 12 15:57:36 CST 2014
>               status: failure
>           residentOn: com.xensource.xenapi.Host@5105a8db
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [VM_MISSING_PV_DRIVERS, OpaqueRef:16885358-c9f8-f71f-27b9-a4bf083ea2be]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
>
> 2014-05-12 15:58:27,705 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) Migration was unsuccessful.  Cleaning up: VM[User|vm3]
> 2014-05-12 15:58:27,716 WARN  [apache.cloudstack.alerts] (Job-Executor-47:job-80 = [
8b315af2-714b-4819-a4ca-2cd3e370dbcb ])  alertType:: 17 // dataCenterId:: 1 // podId:: 1 //
clusterId:: null // message:: Unable to migrate vm i-2-9-VM from host cloudstack1 in zone
zone1 and pod zone1_tgd
> 2014-05-12 15:58:27,718 DEBUG [cloud.alert.AlertManagerImpl] (Job-Executor-47:job-80
= [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) Have already sent: 1 emails for alert type '17'
-- skipping send email
> 2014-05-12 15:58:27,720 DEBUG [agent.manager.AgentAttache] (Job-Executor-47:job-80 =
[ 8b315af2-714b-4819-a4ca-2cd3e370dbcb ]) Seq 2-417148369: Routed from 86530476470110
> 2014-05-12 15:58:27,720 DEBUG [agent.transport.Request] (Job-Executor-47:job-80 = [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb
]) Seq 2-417148369: Sending  { Cmd , MgmtId: 86530476470110, via: 2, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":true,"vmName":"i-2-9-VM","wait":0}}]
}
> 2014-05-12 15:58:27,720 DEBUG [agent.transport.Request] (Job-Executor-47:job-80 = [ 8b315af2-714b-4819-a4ca-2cd3e370dbcb
]) Seq 2-417148369: Executing:  { Cmd , MgmtId: 86530476470110, via: 2, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":true,"vmName":"i-2-9-VM","wait":0}}]
}
> 2014-05-12 15:58:27,720 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-127:null)
Seq 2-417148369: Executing request
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any accompanying
attachment(s)
> is intended only for the use of the intended recipient and may be confidential and/or
privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure
or copying
> is strictly prohibited, and may be unlawful.If you have received this communication in
error,please
> immediately notify the sender by return e-mail, and delete the original message and all
copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------



-- 
白清杰 (Born Bai)

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

Mail: linuxbqj@gmail.com
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)

is intended only for the use of the intended recipient and may be confidential and/or privileged
of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or
copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please

immediately notify the sender by return e-mail, and delete the original message and all copies
from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message